summaryrefslogtreecommitdiffstats
path: root/sys/i386/pci/pci_cfgreg.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-10-16 07:31:13 +0000
committerimp <imp@FreeBSD.org>2000-10-16 07:31:13 +0000
commitfa741b64760ab6b4cbad41f2e642a36f67a2476a (patch)
treeaf0dc6d150b7a71ad8a20851d6e59947f38bdcd6 /sys/i386/pci/pci_cfgreg.c
parent893736b5514248e7054dca38d2e8d5e67499a202 (diff)
downloadFreeBSD-src-fa741b64760ab6b4cbad41f2e642a36f67a2476a.zip
FreeBSD-src-fa741b64760ab6b4cbad41f2e642a36f67a2476a.tar.gz
Remove debug writes introduced in prior commit
Diffstat (limited to 'sys/i386/pci/pci_cfgreg.c')
-rw-r--r--sys/i386/pci/pci_cfgreg.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c
index e0b8d74..0de51ed 100644
--- a/sys/i386/pci/pci_cfgreg.c
+++ b/sys/i386/pci/pci_cfgreg.c
@@ -140,17 +140,14 @@ pci_cfgintr(int bus, int device, int pin)
struct PIR_entry *pe;
int i;
- if ((bus < 0) || (bus > 255) || (device < 0) || (device > 255) || (pin < 1) || (pin > 4)) {
- printf("bus %d pin %d device %d, returning 255\n", bus, pin, device);
+ if ((bus < 0) || (bus > 255) || (device < 0) || (device > 255) ||
+ (pin < 1) || (pin > 4))
return(255);
- }
/*
* Scan the entry table for a contender
*/
- printf("bus %d device %d\n", bus, device);
for (i = 0, pe = pci_route_table; i < pci_route_count; i++, pe++) {
- printf("pe_bus %d pe_device %d\n", pe->pe_bus, pe->pe_device);
if ((bus != pe->pe_bus) || (device != pe->pe_device))
continue;
if (!powerof2(pe->pe_intpin[pin - 1].irqs)) {
OpenPOWER on IntegriCloud