]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
hw: Remove unused MAX_IDE_BUS define
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 17 Sep 2022 11:51:36 +0000 (13:51 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Oct 2022 10:32:07 +0000 (11:32 +0100)
Several machines have an unused MAX_IDE_BUS define. Remove it from
these machines that don't need it.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220917115136.A32EF746E06@zero.eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/alpha/dp264.c
hw/hppa/machine.c
hw/mips/fuloong2e.c
hw/mips/malta.c
hw/ppc/prep.c
hw/sparc64/sun4u.c

index f4349eba83fb729ad545390b91b1ef4ca6f9a4b2..c502c8c62ae6e37ee30c1b055c3da3225540c9e2 100644 (file)
@@ -20,8 +20,6 @@
 #include "qemu/datadir.h"
 #include "net/net.h"
 
-#define MAX_IDE_BUS 2
-
 static uint64_t cpu_alpha_superpage_to_phys(void *opaque, uint64_t addr)
 {
     if (((addr >> 41) & 3) == 2) {
index 19ea7c2c66346330e19a6364c0da72ab32e6ca1b..de1cc7ab7102a7bfff53c7dd56fc0402f3b5ca5b 100644 (file)
@@ -30,8 +30,6 @@
 #include "qemu/log.h"
 #include "net/net.h"
 
-#define MAX_IDE_BUS 2
-
 #define MIN_SEABIOS_HPPA_VERSION 6 /* require at least this fw version */
 
 #define HPA_POWER_BUTTON (FIRMWARE_END - 0x10)
index b478483706fe295210be7dc129933b89b03c3def..50c61f0e4a173f7ab638741721a32f3218a2aefb 100644 (file)
@@ -49,7 +49,6 @@
 
 /* Fuloong 2e has a 512k flash: Winbond W39L040AP70Z */
 #define BIOS_SIZE               (512 * KiB)
-#define MAX_IDE_BUS             2
 
 /*
  * PMON is not part of qemu and released with BSD license, anyone
index 7c3ad0974bfe11488c3e23f8a32ea1020769d6e9..2d4341bd509404a7952a04855acd68054147bcf9 100644 (file)
@@ -70,8 +70,6 @@
 
 #define FLASH_SIZE          0x400000
 
-#define MAX_IDE_BUS         2
-
 typedef struct {
     MemoryRegion iomem;
     MemoryRegion iomem_lo; /* 0 - 0x900 */
index f08714f2ecbabad0ab1a65e6b6e69d9a8f3d8691..fcbe4c58376598cc65a54bd21ca275025309371d 100644 (file)
@@ -50,8 +50,6 @@
 /* SMP is not enabled, for now */
 #define MAX_CPUS 1
 
-#define MAX_IDE_BUS 2
-
 #define CFG_ADDR 0xf0000510
 
 #define KERNEL_LOAD_ADDR 0x01000000
index 0e27715ac47b8e0556cde50b95a8e204c7e96841..387181ff77624c138a9a561fd18c316034e6003d 100644 (file)
@@ -66,7 +66,6 @@
 #define PBM_PCI_IO_BASE      (PBM_SPECIAL_BASE + 0x02000000ULL)
 #define PROM_FILENAME        "openbios-sparc64"
 #define NVRAM_SIZE           0x2000
-#define MAX_IDE_BUS          2
 #define BIOS_CFG_IOPORT      0x510
 #define FW_CFG_SPARC64_WIDTH (FW_CFG_ARCH_LOCAL + 0x00)
 #define FW_CFG_SPARC64_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01)