]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2: Read PCI function number from internal register
authorMichael Chan <mchan@broadcom.com>
Sat, 16 Jun 2012 15:45:43 +0000 (15:45 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:12 +0000 (15:23 +0800)
commit8a616b49ede236589f65b9940359ec4e534228a4
tree45a9fd963ca569e2ce1647fd4ea608a6f58ce6d4
parent8f4f8b31064e505a3c0db58b3336b4b741cd2fd4
bnx2: Read PCI function number from internal register

so that it will work on any hypervisor.

(cherry picked from commit aefd90e41476223c95e3c84c7dd22a65a21b1e40)
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2.c
drivers/net/bnx2.h