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>
This commit is contained in:
Michael Chan
2010-10-06 03:16:06 +00:00
committed by David S. Miller
parent ceb7e1c7c5
commit 1420398db4
2 changed files with 75 additions and 70 deletions
+1
View File
@@ -272,6 +272,7 @@ struct cnic_local {
u32 chip_id;
int func;
u32 pfid;
u32 shmem_base;
u32 uio_dev;