From db667a1205587d7b5123330f1f0dc506a9b06459 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 6 Apr 2010 13:44:04 +0200 Subject: [PATCH] eepro100: Add new device variant i82801 This ethernet device is used in Toshiba Tecra 8200 notebooks. Signed-off-by: Stefan Weil Signed-off-by: Michael S. Tsirkin --- hw/eepro100.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/hw/eepro100.c b/hw/eepro100.c index 9f63893887..e74d3bb108 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -87,6 +87,7 @@ #define i82559C 0x82559c #define i82559ER 0x82559e #define i82562 0x82562 +#define i82801 0x82801 /* Use 64 word EEPROM. TODO: could be a runtime option. */ #define EEPROM_SIZE 64 @@ -505,6 +506,7 @@ static void e100_pci_reset(EEPRO100State * s, E100PCIDeviceInfo *e100_device) case i82559B: case i82559ER: case i82562: + case i82801: break; case i82559C: #if EEPROM_SIZE > 0 @@ -2013,6 +2015,16 @@ static E100PCIDeviceInfo e100_devices[] = { .stats_size = 80, .has_extended_tcb_support = true, .power_management = true, + },{ + /* Toshiba Tecra 8200. */ + .pci.qdev.name = "i82801", + .pci.qdev.desc = "Intel i82801 Ethernet", + .device = i82801, + .device_id = 0x2449, + .revision = 0x03, + .stats_size = 80, + .has_extended_tcb_support = true, + .power_management = true, } }; @@ -2033,6 +2045,9 @@ static void eepro100_register_devices(void) case PCI_DEVICE_ID_INTEL_82557: pci_dev->romfile = "gpxe-eepro100-80861229.rom"; break; + case 0x2449: + pci_dev->romfile = "gpxe-eepro100-80862449.rom"; + break; } pci_dev->init = e100_nic_init; pci_dev->exit = pci_nic_uninit; -- 2.11.4.GIT