summaryrefslogtreecommitdiffstats
path: root/sys/i386/pci
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-11-09 18:03:36 +0000
committerjhb <jhb@FreeBSD.org>2006-11-09 18:03:36 +0000
commitfe20b44ccad5e6cc2f29c83957a6feb144ee3202 (patch)
tree76ccd5d3d03b1aa52964a83702e99a45744e9d98 /sys/i386/pci
parent116da0e93f2fecaeeb5139014f9db3c86dd47a52 (diff)
downloadFreeBSD-src-fe20b44ccad5e6cc2f29c83957a6feb144ee3202.zip
FreeBSD-src-fe20b44ccad5e6cc2f29c83957a6feb144ee3202.tar.gz
Don't dump the $PIR table under bootverbose. The pirtool program in
src/tools/tools works fine, and dumping this table can add a lot of noise. MFC after: 1 week
Diffstat (limited to 'sys/i386/pci')
-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