cnic: Read bnx2x function number from internal register
commit78ea22e8042b8a55c5a047869ed1fd9b3711340c
authorEddie Wai <eddie.wai@broadcom.com>
Wed, 27 Jun 2012 15:08:20 +0000 (27 15:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2012 04:20:09 +0000 (27 21:20 -0700)
treee7aaf975261091b7360bf9e01a76b2571000b9b4
parenta2028b2376a858cb68a7fcc129f6508f59b45381
cnic: Read bnx2x function number from internal register

so that it will work on any hypervisor.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c