diff options
author | np <np@FreeBSD.org> | 2012-06-26 00:34:34 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2012-06-26 00:34:34 +0000 |
commit | 3a4c14576e107b0a6760e1e0c993c1c0d4aebdd5 (patch) | |
tree | d29acdfa806f913980f0a1893f53ba4d67fa3089 /lib | |
parent | 8941fec43933f9102097889f15661e0e6832a24f (diff) | |
download | FreeBSD-src-3a4c14576e107b0a6760e1e0c993c1c0d4aebdd5.zip FreeBSD-src-3a4c14576e107b0a6760e1e0c993c1c0d4aebdd5.tar.gz |
Allow cxgbe(4) running within a VM to attach to its devices that have been
exported via PCI passthrough.
- Do not check for a specific physical function (PF) before claiming a device.
Different PFs have different device-ids so this check is redundant anyway.
- Obtain the PF# from the WHOAMI register instead of pci_get_function().
- Setup the memory windows using the real BAR0 address, not what the VM says it
is.
Obtained from: Chelsio Communications
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions