提交 da51e79b 编写于 作者: S Stefan Weil 提交者: Michael S. Tsirkin

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: NStefan Weil <weil@mail.berlios.de>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 6cded3a4
...@@ -1975,6 +1975,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -1975,6 +1975,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82550_init, .init = pci_i82550_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861209.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -1984,6 +1985,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -1984,6 +1985,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82551_init, .init = pci_i82551_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861209.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -1993,6 +1995,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -1993,6 +1995,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82557a_init, .init = pci_i82557a_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2002,6 +2005,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2002,6 +2005,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82557b_init, .init = pci_i82557b_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2011,6 +2015,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2011,6 +2015,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82557c_init, .init = pci_i82557c_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2020,6 +2025,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2020,6 +2025,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82558a_init, .init = pci_i82558a_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2029,6 +2035,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2029,6 +2035,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82558b_init, .init = pci_i82558b_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2038,6 +2045,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2038,6 +2045,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82559a_init, .init = pci_i82559a_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2047,6 +2055,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2047,6 +2055,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82559b_init, .init = pci_i82559b_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2056,6 +2065,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2056,6 +2065,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82559c_init, .init = pci_i82559c_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861229.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2065,7 +2075,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2065,7 +2075,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82559er_init, .init = pci_i82559er_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "pxe-i82559er.bin", .romfile = "gpxe-eepro100-80861209.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
...@@ -2075,6 +2085,7 @@ static PCIDeviceInfo eepro100_info[] = { ...@@ -2075,6 +2085,7 @@ static PCIDeviceInfo eepro100_info[] = {
.qdev.size = sizeof(EEPRO100State), .qdev.size = sizeof(EEPRO100State),
.init = pci_i82562_init, .init = pci_i82562_init,
.exit = pci_nic_uninit, .exit = pci_nic_uninit,
.romfile = "gpxe-eepro100-80861209.rom",
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
DEFINE_NIC_PROPERTIES(EEPRO100State, conf), DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
......
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
- The PXE roms come from Rom-o-Matic gPXE 0.9.9 with BANNER_TIMEOUT=0 - The PXE roms come from Rom-o-Matic gPXE 0.9.9 with BANNER_TIMEOUT=0
e1000 8086:100E e1000 8086:100E
pcnet32 1022:2000 eepro100 8086:1209, 8086:1229
ns8390 1050:0940 ns8390 1050:0940
pcnet32 1022:2000
rtl8139 10ec:8139 rtl8139 10ec:8139
eepro100 8086:1209
virtio 1af4:1000 virtio 1af4:1000
http://rom-o-matic.net/ http://rom-o-matic.net/
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册