mwl8k: pci BAR mapping changes
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 22 Oct 2009 18:20:43 +0000 (20:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Nov 2009 23:44:47 +0000 (18:44 -0500)
commit5b9482dda6dda11dc7050ffa5b4ebfb0c775880f
treebd9bbc20f0845e7789f8b49b11858b0f12aaaf8a
parent45eb400d50e1ad84a8e8f9e9a82cd8ae13d7d691
mwl8k: pci BAR mapping changes

Map BAR0 as well, as we need to write to it during init on some chips.

Also, if BAR0 is a 64bit BAR, the register BAR becomes BAR2, so try
mapping BAR2 if mapping BAR1 fails.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c