aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cnic.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-10-05 23:16:06 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-06 17:09:23 -0400
commit1420398db4d5e236583d3ab392637df255bd5c6b (patch)
tree5d2e287b142ea3b4a6167dc5d9af1ee5de699751 /drivers/net/cnic.h
parentceb7e1c7c5ab86ca686d523f99ca473a1f3a984d (diff)
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>
Diffstat (limited to 'drivers/net/cnic.h')
-rw-r--r--drivers/net/cnic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cnic.h b/drivers/net/cnic.h
index 6c099811eee7..ef2c25e4962d 100644
--- a/drivers/net/cnic.h
+++ b/drivers/net/cnic.h
@@ -272,6 +272,7 @@ struct cnic_local {
272 272
273 u32 chip_id; 273 u32 chip_id;
274 int func; 274 int func;
275 u32 pfid;
275 u32 shmem_base; 276 u32 shmem_base;
276 277
277 u32 uio_dev; 278 u32 uio_dev;