* [PATCH] framework/settings: Add virtio-modern
@ 2024-02-03 10:29 Akihiko Odaki
0 siblings, 0 replies; only message in thread
From: Akihiko Odaki @ 2024-02-03 10:29 UTC (permalink / raw)
To: dts; +Cc: Akihiko Odaki
In VIRTIO Version 1.2, a non-transitional device (device not supporting
legacy interface), has the PCI device ID 0x1041:
Virtual I/O Device (VIRTIO) Version 1.2
https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html
> 4 Virtio Transport Options
> 4.1 Virtio Over PCI Bus
> 4.1.2 PCI Device Discovery
> 4.1.2.1 Device Requirements: PCI Device Discovery
> Devices MUST have the PCI Vendor ID 0x1AF4. Devices MUST either have
> the PCI Device ID calculated by adding 0x1040 to the Virtio Device ID,
> as indicated in section 5 or have the Transitional PCI Device ID
> depending on the device type, as follows:
> 5 Device Types
> 5.1 Network Device
> 5.1.1 Device ID
> 1
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
framework/settings.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/framework/settings.py b/framework/settings.py
index 1a561dda..be79bc60 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -46,6 +46,7 @@ NICS = {
"IGB_1G-I210_COPPER": "8086:1533",
"IXGBE_10G-82599_SFP_SF_QP": "8086:154a",
"virtio": "1af4:1000",
+ "virtio-modern": "1af4:1041",
"IGB_1G-I354_SGMII": "8086:1f41",
"IGB_2.5G-I354_BACKPLANE_2_5GBPS": "8086:1f45",
"IGB_1G-PCH_LPT_I217_V": "8086:153b",
@@ -141,6 +142,7 @@ DRIVERS = {
"IGB_1G-I210_COPPER": "igb",
"IXGBE_10G-82599_SFP_SF_QP": "ixgbe",
"virtio": "virtio-pci",
+ "virtio-modern": "virtio-pci",
"IGB_1G-I354_SGMII": "igb",
"IGB_2.5G-I354_BACKPLANE_2_5GBPS": "igb",
"IGB_1G-PCH_LPT_I217_V": "igb",
---
base-commit: 427e7c3f37bbb1263d81c466d7a83e9193013321
change-id: 20240203-virtio-1020822e7344
Best regards,
--
Akihiko Odaki <akihiko.odaki@daynix.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-03 10:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-03 10:29 [PATCH] framework/settings: Add virtio-modern Akihiko Odaki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).