You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
David S. Miller
parent
ceb7e1c7c5
commit
1420398db4
@@ -272,6 +272,7 @@ struct cnic_local {
|
||||
|
||||
u32 chip_id;
|
||||
int func;
|
||||
u32 pfid;
|
||||
u32 shmem_base;
|
||||
|
||||
u32 uio_dev;
|
||||
|
||||
Reference in New Issue
Block a user