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 <>
Signed-off-by: default avatarDmitry Kravkov <>
Signed-off-by: default avatarDavid S. Miller <>
parent ceb7e1c7
This diff is collapsed.
......@@ -272,6 +272,7 @@ struct cnic_local {
u32 chip_id;
int func;
u32 pfid;
u32 shmem_base;
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