mirror of
https://github.com/opnsense/src.git
synced 2026-03-24 03:33:08 -04:00
Prior to this revision, vtpci's BUS_READ_IVAR method on VIRTIO_IVAR_SUBVENDOR
accidentally returned the PCI subdevice.
The typo seems to have been introduced with the original commit adding
VIRTIO_IVAR_{{SUB,}DEVICE,{SUB,}VENDOR} to virtio_pci. The commit log and code
strongly suggest that the ivar was intended to return the subvendor rather than
the subdevice; it was likely just a copy/paste mistake.
Go ahead and rectify that.
|
||
|---|---|---|
| .. | ||
| virtio_pci.c | ||
| virtio_pci.h | ||