summaryrefslogtreecommitdiff
path: root/sys/dev/pci/i82365_pci.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-08-03 14:06:40 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-08-03 14:06:40 +0000
commit53a6a8b194a01ed30f00867de275afc7e0568b70 (patch)
tree06cc9c77f0bedbb241645e573286ae1248379d67 /sys/dev/pci/i82365_pci.c
parent22326d89dd52ca014ef062646042496f866a559c (diff)
Don't print out the name of the controller twice.
Diffstat (limited to 'sys/dev/pci/i82365_pci.c')
-rw-r--r--sys/dev/pci/i82365_pci.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/pci/i82365_pci.c b/sys/dev/pci/i82365_pci.c
index c8724f5f70c..308b8117a41 100644
--- a/sys/dev/pci/i82365_pci.c
+++ b/sys/dev/pci/i82365_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82365_pci.c,v 1.1 2000/08/01 07:55:39 aaron Exp $ */
+/* $OpenBSD: i82365_pci.c,v 1.2 2000/08/03 14:06:39 aaron Exp $ */
/* $NetBSD: i82365_pci.c,v 1.11 2000/02/24 03:42:44 itohy Exp $ */
/*
@@ -120,7 +120,6 @@ pcic_pci_attach(parent, self, aux)
pci_chipset_tag_t pc = pa->pa_pc;
bus_space_tag_t memt = pa->pa_memt;
bus_space_handle_t memh;
- char *model;
int irq, i;
if (pci_mapreg_map(pa, PCI_CBIO, PCI_MAPREG_TYPE_IO, 0,
@@ -158,17 +157,6 @@ pcic_pci_attach(parent, self, aux)
sc->memt = memt;
sc->memh = memh;
- switch (PCI_PRODUCT(pa->pa_id)) {
- case PCI_PRODUCT_CIRRUS_CL_PD6729:
- model = "Cirrus Logic PD6729 PCMCIA controller";
- break;
- default:
- model = "Model unknown";
- break;
- }
-
- printf(": %s\n", model);
-
/* Enable the card. */
pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG,
pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG) |