commit | 5b9482dda6dda11dc7050ffa5b4ebfb0c775880f | [log] [tgz] |
---|---|---|
author | Lennert Buytenhek <buytenh@wantstofly.org> | Thu Oct 22 20:20:43 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Nov 04 18:44:47 2009 -0500 |
tree | bd9bbc20f0845e7789f8b49b11858b0f12aaaf8a | |
parent | 45eb400d50e1ad84a8e8f9e9a82cd8ae13d7d691 [diff] |
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>