diff options
author | Michael Chan <mchan@broadcom.com> | 2010-10-06 03:16:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 14:09:23 -0700 |
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 { u32 chip_id; int func; + u32 pfid; u32 shmem_base; u32 uio_dev; |