aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-03-02 22:37:44 +0100
committerMichael S. Tsirkin <mst@redhat.com>2010-03-03 13:33:52 +0200
commitda51e79b7ff2126cc2448749d657a4f6e3b1270f (patch)
treee1f83adcfb30061c9c2d9fee9df6cb9f4e8e4be0
parent6cded3a43ad0044d9831590795d9c6cf0dc2d2ee (diff)
eepro100: Support gpxe boot for all eepro100 devices
Only two boot ROM files are needed for all devices. * Add these GPXE ROM files using new naming convention (as discussed on qemu-devel). Both files were created with http://rom-o-matic.net/, PCI vendor / device ids as in ROM filenames and option BANNER_TIMEOUT = 0. * Remove old PXE ROM file for i82559er. It was replaced by gpxe-eepro100-80861209.rom. * Update pc-bios/README (and sort entries). Full support still needs additional eepro100 fixes. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--hw/eepro100.c13
-rw-r--r--pc-bios/README4
-rw-r--r--pc-bios/gpxe-eepro100-80861209.rom (renamed from pc-bios/pxe-i82559er.bin)bin56832 -> 56832 bytes
-rw-r--r--pc-bios/gpxe-eepro100-80861229.rombin0 -> 56832 bytes
4 files changed, 14 insertions, 3 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c
index f6764cc7fa..c072e90c6b 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -1975,6 +1975,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82550_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861209.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -1984,6 +1985,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82551_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861209.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -1993,6 +1995,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82557a_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2002,6 +2005,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82557b_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2011,6 +2015,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82557c_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2020,6 +2025,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82558a_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2029,6 +2035,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82558b_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2038,6 +2045,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82559a_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2047,6 +2055,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82559b_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2056,6 +2065,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82559c_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2065,7 +2075,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82559er_init,
.exit = pci_nic_uninit,
- .romfile = "pxe-i82559er.bin",
+ .romfile = "gpxe-eepro100-80861209.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
@@ -2075,6 +2085,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State),
.init = pci_i82562_init,
.exit = pci_nic_uninit,
+ .romfile = "gpxe-eepro100-80861209.rom",
.qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(),
diff --git a/pc-bios/README b/pc-bios/README
index ee68723168..2fc48edcde 100644
--- a/pc-bios/README
+++ b/pc-bios/README
@@ -20,10 +20,10 @@
- The PXE roms come from Rom-o-Matic gPXE 0.9.9 with BANNER_TIMEOUT=0
e1000 8086:100E
- pcnet32 1022:2000
+ eepro100 8086:1209, 8086:1229
ns8390 1050:0940
+ pcnet32 1022:2000
rtl8139 10ec:8139
- eepro100 8086:1209
virtio 1af4:1000
http://rom-o-matic.net/
diff --git a/pc-bios/pxe-i82559er.bin b/pc-bios/gpxe-eepro100-80861209.rom
index 2ca59ec369..2ca59ec369 100644
--- a/pc-bios/pxe-i82559er.bin
+++ b/pc-bios/gpxe-eepro100-80861209.rom
Binary files differ
diff --git a/pc-bios/gpxe-eepro100-80861229.rom b/pc-bios/gpxe-eepro100-80861229.rom
new file mode 100644
index 0000000000..9cf397e3de
--- /dev/null
+++ b/pc-bios/gpxe-eepro100-80861229.rom
Binary files differ