Commit 1420398d authored by Michael Chan's avatar Michael Chan Committed by David S. Miller

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: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ceb7e1c7
This diff is collapsed.
...@@ -272,6 +272,7 @@ struct cnic_local { ...@@ -272,6 +272,7 @@ struct cnic_local {
u32 chip_id; u32 chip_id;
int func; int func;
u32 pfid;
u32 shmem_base; u32 shmem_base;
u32 uio_dev; u32 uio_dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment