WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.2-testing] ioemu: Set subsystem vendor/device for

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] ioemu: Set subsystem vendor/device for ne2k device model.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Mar 2008 05:42:14 -0700
Delivery-date: Thu, 20 Mar 2008 05:49:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206014889 0
# Node ID edd478c24733e13d59fc82cac439f2f91d6e05e7
# Parent  7e88517401411cbf443350f4a0b8a83b4ebc9218
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 7e8851740141 -r edd478c24733 tools/ioemu/hw/ne2000.c
--- a/tools/ioemu/hw/ne2000.c   Thu Mar 20 12:07:32 2008 +0000
+++ b/tools/ioemu/hw/ne2000.c   Thu Mar 20 12:08:09 2008 +0000
@@ -834,6 +834,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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] ioemu: Set subsystem vendor/device for ne2k device model., Xen patchbot-3.2-testing <=