diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-03-02 22:37:50 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-03-03 13:34:02 +0200 |
commit | c5bac30252cc06d226bb7d57e40cdee5a532a4c8 (patch) | |
tree | c8cba690d331cb0e9ae9964b60d8b794ca725208 /hw/eepro100.c | |
parent | ced5296ab79482c315543fe65a66ea0783c01024 (diff) |
eepro100: Remove old unused code
This code is no longer needed.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/eepro100.c')
-rw-r--r-- | hw/eepro100.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c index a58c640573..c2ff569e54 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -469,24 +469,6 @@ static void pci_reset(EEPRO100State * s) PCI_CONFIG_8(PCI_LATENCY_TIMER, 0x20); // latency timer = 32 clocks /* PCI Header Type */ /* BIST (built-in self test) */ -#if defined(TARGET_I386) -// !!! workaround for buggy bios -//~ #define PCI_BASE_ADDRESS_MEM_PREFETCH 0 -#endif -#if 0 - /* PCI Base Address Registers */ - /* CSR Memory Mapped Base Address */ - PCI_CONFIG_32(PCI_BASE_ADDRESS_0, - PCI_BASE_ADDRESS_SPACE_MEMORY | - PCI_BASE_ADDRESS_MEM_PREFETCH); - /* CSR I/O Mapped Base Address */ - PCI_CONFIG_32(PCI_BASE_ADDRESS_1, PCI_BASE_ADDRESS_SPACE_IO); -#if 0 - /* Flash Memory Mapped Base Address */ - PCI_CONFIG_32(PCI_BASE_ADDRESS_2, - 0xfffe0000 | PCI_BASE_ADDRESS_SPACE_MEMORY); -#endif -#endif /* Expansion ROM Base Address (depends on boot disable!!!) */ /* TODO: not needed, set when BAR is registered */ PCI_CONFIG_32(PCI_ROM_ADDRESS, PCI_BASE_ADDRESS_SPACE_MEMORY); |