summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>1999-11-03 01:02:57 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>1999-11-03 01:02:57 +0000
commitdcc5c806049822f605bef6e07dfb797963ff4eaa (patch)
treef5462b64138b7ae536b47097c1170f3f467bcbf0 /sys/dev/pci/pciide.c
parent69b432631f9132ec846147e315859cf6dd34927b (diff)
0x5597 will never match an SiS pciide controller because they are 0x5513
The NetBSD pcidevs is confusing because it calles "5597_IDE" 0x5513, but OpenBSD pcidevs just had "SiS 5597" as 0x5597
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 0f26e7c14df..58512c9f9b9 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.12 1999/11/02 02:43:45 chris Exp $ */
+/* $OpenBSD: pciide.c,v 1.13 1999/11/03 01:02:56 chris Exp $ */
/* $NetBSD: pciide.c,v 1.40 1999/07/12 13:49:38 bouyer Exp $ */
/*
@@ -274,7 +274,7 @@ const struct pciide_product_desc pciide_cypress_products[] = {
};
const struct pciide_product_desc pciide_sis_products[] = {
- { PCI_PRODUCT_SIS_5597, /* SIS 5597/5598 IDE */
+ { PCI_PRODUCT_SIS_5513, /* SIS 5513 EIDE */
0,
sis_chip_map
}
@@ -2574,7 +2574,7 @@ pdc202xx_chip_map(sc, pa)
WDCDEBUG_PRINT(("pdc202xx_setup_chip: new controller state 0x%x\n", st),
DEBUG_PROBE);
pci_conf_write(sc->sc_pc, sc->sc_tag, PDC2xx_STATE, st);
-return;
+ return;
}
void