summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-07-27 17:09:40 -0500
committerBjorn Helgaas <bhelgaas@google.com>2015-07-27 17:09:40 -0500
commit24b390aad2930b889b6e15fc7cf7bfa7c99fad21 (patch)
tree76212a1b0c6a1ade8e10a4ca31ebdd9f25e38bcf /arch/sh
parent7aa6ca4d39edf01f997b9e02cf6d2fdeb224f351 (diff)
downloadlinux-24b390aad2930b889b6e15fc7cf7bfa7c99fad21.tar.gz
linux-24b390aad2930b889b6e15fc7cf7bfa7c99fad21.tar.bz2
linux-24b390aad2930b889b6e15fc7cf7bfa7c99fad21.zip
PCI: Remove unused "pci_probe" flags
The following flags are only used on x86, but they got copied to FR-V, MN10300, and SuperH: PCI_PROBE_BIOS PCI_PROBE_CONF1 PCI_PROBE_CONF2 PCI_ASSIGN_ROMS PCI_NO_CHECKS PCI_BIOS_IRQ_SCAN PCI_ASSIGN_ALL_BUSSES FR-V and MN10300 do test for PCI_ASSIGN_ROMS, but they never set it, so it's dead code. Remove the unused flags above. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/drivers/pci/pci-sh4.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sh/drivers/pci/pci-sh4.h b/arch/sh/drivers/pci/pci-sh4.h
index cbf763b3015e..0288efc17ff3 100644
--- a/arch/sh/drivers/pci/pci-sh4.h
+++ b/arch/sh/drivers/pci/pci-sh4.h
@@ -11,14 +11,6 @@
#include <asm/io.h>
-/* startup values */
-#define PCI_PROBE_BIOS 1
-#define PCI_PROBE_CONF1 2
-#define PCI_PROBE_CONF2 4
-#define PCI_NO_CHECKS 0x400
-#define PCI_ASSIGN_ROMS 0x1000
-#define PCI_BIOS_IRQ_SCAN 0x2000
-
#define SH4_PCICR 0x100 /* PCI Control Register */
#define SH4_PCICR_PREFIX 0xA5000000 /* CR prefix for write */
#define SH4_PCICR_FTO 0x00000400 /* TRDY/IRDY Enable */