be2net: fix access to SEMAPHORE reg
authorSathya Perla <sathya.perla@emulex.com>
Tue, 6 Nov 2012 17:48:59 +0000 (17:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 21:59:52 +0000 (16:59 -0500)
commit1bc8e7e4f36c0c19dd7dea29e7c248b7c6ef3a15
tree510d8b113fa050d595480054aea7759dbecfe43c
parentce66f781cff6b3522b1234096db77e8bacdbf3c3
be2net: fix access to SEMAPHORE reg

The SEMAPHORE register was being accessed from the csr BAR space. This BAR
may not be available in some Skyhawk-R configurations. Instead, access this
register via the PCI config space (it's available there too).

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_hw.h
drivers/net/ethernet/emulex/benet/be_main.c