]> git.karo-electronics.de Git - mv-sheeva.git/commit
cnic: Use pfid for internal memory offsets.
authorMichael Chan <mchan@broadcom.com>
Wed, 6 Oct 2010 03:16:06 +0000 (03:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2010 21:09:23 +0000 (14:09 -0700)
commit1420398db4d5e236583d3ab392637df255bd5c6b
tree5d2e287b142ea3b4a6167dc5d9af1ee5de699751
parentceb7e1c7c5ab86ca686d523f99ca473a1f3a984d
cnic: Use pfid for internal memory offsets.

The pfid (physical function ID) is the same as PCI function on production
devices.  The pfid for future devices will be different and will be used
for internal memory offsets.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c
drivers/net/cnic.h