summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-10-01 13:28:24 +0000
committerbde <bde@FreeBSD.org>2002-10-01 13:28:24 +0000
commit16e3d2e21ed5d78f84df0e65bd08418447a5c8ef (patch)
treece2f0bacd21a6f3d600bb60600d66df4412a2c85 /sys/dev/pci
parent4ea24b7f73c5936e40bb1af175ddab8ed165fdde (diff)
downloadFreeBSD-src-16e3d2e21ed5d78f84df0e65bd08418447a5c8ef.zip
FreeBSD-src-16e3d2e21ed5d78f84df0e65bd08418447a5c8ef.tar.gz
Removed the only PCI_DEBUG ifdef in the kernel. PCI_DEBUG was not a
supported option and it disabled a whole 2 lines of bootverbose messages. I wanted to see 1 of the messages (about the latency timers). This is a wrong place to decode pci configurations, but the code is already here and handles more details than pciconf(8).
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 488d4bf..072dc51 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -623,13 +623,11 @@ pci_print_verbose(struct pci_devinfo *dinfo)
printf("\tclass=%02x-%02x-%02x, hdrtype=0x%02x, mfdev=%d\n",
cfg->baseclass, cfg->subclass, cfg->progif, cfg->hdrtype,
cfg->mfdev);
-#ifdef PCI_DEBUG
printf("\tcmdreg=0x%04x, statreg=0x%04x, cachelnsz=%d (dwords)\n",
cfg->cmdreg, cfg->statreg, cfg->cachelnsz);
printf("\tlattimer=0x%02x (%d ns), mingnt=0x%02x (%d ns), maxlat=0x%02x (%d ns)\n",
cfg->lattimer, cfg->lattimer * 30, cfg->mingnt,
cfg->mingnt * 250, cfg->maxlat, cfg->maxlat * 250);
-#endif /* PCI_DEBUG */
if (cfg->intpin > 0)
printf("\tintpin=%c, irq=%d\n",
cfg->intpin +'a' -1, cfg->intline);
OpenPOWER on IntegriCloud