Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> --- hw/pci-host/bonito.c | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c index a99eced0657..0634f3289c4 100644 --- a/hw/pci-host/bonito.c +++ b/hw/pci-host/bonito.c @@ -189,12 +189,6 @@ FIELD(BONGENCFG, PCIQUEUE, 12, 1) #define BONITO_PCICONF_REG_MASK 0xFC #define BONITO_PCICONF_REG_OFFSET 0 - -/* idsel BIT = pci slot number +12 */ -#define PCI_SLOT_BASE 12 -#define PCI_IDSEL_VIA686B_BIT (17) -#define PCI_IDSEL_VIA686B (1 << PCI_IDSEL_VIA686B_BIT) - #define PCI_ADDR(busno , devno , funno , regno) \ ((((busno) << 16) & 0xff0000) + (((devno) << 11) & 0xf800) + \ (((funno) << 8) & 0x700) + (regno)) -- 2.26.2