Changeset 100872 in vbox
- Timestamp:
- Aug 14, 2023 3:02:18 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevVirtioNet.cpp
r100400 r100872 53 53 #include <VBox/version.h> 54 54 #include <VBox/log.h> 55 #include <VBox/pci.h> 55 56 56 57 … … 210 211 211 212 #define PCI_DEVICE_ID_VIRTIONET_HOST 0x1000 /**< VirtIO transitional device ID for network card */ 212 #define PCI_CLASS_BASE_NETWORK_CONTROLLER 0x0200 /**< PCI Network device class */213 #define PCI_CLASS_SUB_NET_ETHERNET_CONTROLLER 0x00 /**< PCI NET Controller subclass */214 213 #define PCI_CLASS_PROG_UNSPECIFIED 0x00 /**< Programming interface. N/A. */ 215 214 #define VIRTIONET_PCI_CLASS 0x01 /**< Base class Mass Storage? */ … … 3516 3515 VIRTIOPCIPARAMS VirtioPciParams; 3517 3516 VirtioPciParams.uDeviceId = PCI_DEVICE_ID_VIRTIONET_HOST; 3518 VirtioPciParams.uClassBase = PCI_CLASS_BASE_NETWORK_CONTROLLER;3519 VirtioPciParams.uClassSub = PCI_CLASS_SUB_NET_ETHERNET_CONTROLLER;3517 VirtioPciParams.uClassBase = VBOX_PCI_CLASS_NETWORK; 3518 VirtioPciParams.uClassSub = VBOX_PCI_SUB_NETWORK_ETHERNET; 3520 3519 VirtioPciParams.uClassProg = PCI_CLASS_PROG_UNSPECIFIED; 3521 3520 VirtioPciParams.uSubsystemId = DEVICE_PCI_NETWORK_SUBSYSTEM; /* VirtIO 1.0 allows PCI Device ID here */
Note:
See TracChangeset
for help on using the changeset viewer.