summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/pci/pci_pir.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c
index 1d2302a..3dd10c1 100644
--- a/sys/i386/pci/pci_pir.c
+++ b/sys/i386/pci/pci_pir.c
@@ -92,9 +92,6 @@ static void pci_pir_find_link_handler(struct PIR_entry *entry,
static void pci_pir_initial_irqs(struct PIR_entry *entry,
struct PIR_intpin *intpin, void *arg);
static void pci_pir_parse(void);
-static void pci_pir_print_intpin(struct PIR_entry *entry,
- struct PIR_intpin *intpin, void *arg);
-static void pci_pir_print_table(void);
static uint8_t pci_pir_search_irq(int bus, int device, int pin);
static int pci_pir_valid_irq(struct pci_link *pci_link, int irq);
static void pci_pir_walk_table(pir_entry_handler *handler, void *arg);
@@ -168,11 +165,6 @@ pci_pir_open(void)
pci_route_count = (pt->pt_header.ph_length -
sizeof(struct PIR_header)) /
sizeof(struct PIR_entry);
- if (bootverbose) {
- printf("Found $PIR table, %d entries at %p\n",
- pci_route_count, pci_route_table);
- pci_pir_print_table();
- }
}
/*
@@ -624,37 +616,6 @@ pci_print_irqmask(u_int16_t irqs)
}
/*
- * Dump the contents of a single intpin entry to the console.
- */
-static void
-pci_pir_print_intpin(struct PIR_entry *entry, struct PIR_intpin *intpin,
- void *arg)
-{
-
- if (entry->pe_slot == 0)
- printf("embedded ");
- else
- printf("slot %-3d ", entry->pe_slot);
- printf(" %3d %3d %c 0x%02x ", entry->pe_bus, entry->pe_device,
- intpin - entry->pe_intpin + 'A', intpin->link);
- pci_print_irqmask(intpin->irqs);
- printf("\n");
-}
-
-/*
- * Dump the contents of a PCI BIOS Interrupt Routing Table to the console.
- */
-static void
-pci_pir_print_table(void)
-{
-
- printf("PCI-Only Interrupts: ");
- pci_print_irqmask(pci_route_table->pt_header.ph_pci_irqs);
- printf("\nLocation Bus Device Pin Link IRQs\n");
- pci_pir_walk_table(pci_pir_print_intpin, NULL);
-}
-
-/*
* Display link devices.
*/
static void
OpenPOWER on IntegriCloud