summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-03-17 20:48:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-03-17 20:48:47 +0000
commit6ef6b973e98724de8a798030eeb119c441e5cdd6 (patch)
tree8d4593bb3581c84205ae6e0e0b7f0a3f5482fb48
parent71120e9fe8b2420d042106880e298b4a8b95eeb6 (diff)
Do not print the result of pci_devinfo() when attaching pcib, since this
has already be printed by the pci code.
-rw-r--r--sys/arch/cats/pci/pcib.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/arch/cats/pci/pcib.c b/sys/arch/cats/pci/pcib.c
index 8825053f82a..52e540c777b 100644
--- a/sys/arch/cats/pci/pcib.c
+++ b/sys/arch/cats/pci/pcib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcib.c,v 1.2 2004/05/19 04:11:31 drahn Exp $ */
+/* $OpenBSD: pcib.c,v 1.3 2006/03/17 20:48:46 miod Exp $ */
/* $NetBSD: pcib.c,v 1.4 2003/01/01 01:25:34 thorpej Exp $ */
/*-
@@ -98,19 +98,8 @@ pcibattach(parent, self, aux)
struct device *parent, *self;
void *aux;
{
- struct pci_attach_args *pa = aux;
- char devinfo[256];
-
printf("\n");
- /*
- * Just print out a description and set the ISA bus
- * callback.
- */
- pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo, sizeof devinfo);
- printf("%s: %s (rev. 0x%02x)\n", self->dv_xname, devinfo,
- PCI_REVISION(pa->pa_class));
-
/* Set the ISA bus callback */
config_defer(self, pcib_callback);
}