[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.1-testing] ioemu: Set subsystem vendor/device for ne2k device model.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206015477 0
# Node ID b45db6cdfa966513116e97a7b22609e3c7d20a79
# Parent  366e946f2b9d266b0ca496880cf74432a326d175
ioemu: Set subsystem vendor/device for ne2k device model.
From: Kamala Narasimhan <kamala.narasimhan@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   17226:8cc1ed987d5f726c4a57325b03e71f4b18b52525
xen-unstable date:        Tue Mar 18 13:08:30 2008 +0000
---
 tools/ioemu/hw/ne2000.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 366e946f2b9d -r b45db6cdfa96 tools/ioemu/hw/ne2000.c
--- a/tools/ioemu/hw/ne2000.c   Thu Mar 20 12:17:29 2008 +0000
+++ b/tools/ioemu/hw/ne2000.c   Thu Mar 20 12:17:57 2008 +0000
@@ -824,6 +824,10 @@ void pci_ne2000_init(PCIBus *bus, NICInf
     pci_conf[0x0a] = 0x00; // ethernet network controller 
     pci_conf[0x0b] = 0x02;
     pci_conf[0x0e] = 0x00; // header_type
+    pci_conf[0x2c] = 0x53; /* subsystem vendor: XenSource */
+    pci_conf[0x2d] = 0x58;
+    pci_conf[0x2e] = 0x01; /* subsystem device */
+    pci_conf[0x2f] = 0x00;
     pci_conf[0x3d] = 1; // interrupt pin 0
     
     pci_register_io_region(&d->dev, 0, 0x100, 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.