diff options
author | Michael Chan <mchan@broadcom.com> | 2010-10-05 23:16:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 17:09:23 -0400 |
commit | 1420398db4d5e236583d3ab392637df255bd5c6b (patch) | |
tree | 5d2e287b142ea3b4a6167dc5d9af1ee5de699751 /drivers/net/cnic.h | |
parent | ceb7e1c7c5ab86ca686d523f99ca473a1f3a984d (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.h | 1 |
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; |