summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-08-18 13:06:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-08-18 13:06:00 +0000
commit40790531f7de3e6370ab84c33e62b6a891f8fbb8 (patch)
tree40e948aace7907e5d35e0617511dc1106755a127 /sys/dev/pci
parentfe3715c0b28aa86f88137a7152a43e7edb5e99cf (diff)
Several boards incorporating SIS SATA chips have dellusions of granduer
so we have to override the PCI class they claim to be. ok deraadt@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pciide.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 4a7699e3e66..435737b6bf5 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.199 2005/08/09 04:10:13 mickey Exp $ */
+/* $OpenBSD: pciide.c,v 1.200 2005/08/18 13:05:59 jsg Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -511,15 +511,15 @@ const struct pciide_product_desc pciide_sis_products[] = {
sis_chip_map
},
{ PCI_PRODUCT_SIS_180, /* SIS 180 SATA */
- 0,
+ IDE_PCI_CLASS_OVERRIDE,
sata_chip_map
},
{ PCI_PRODUCT_SIS_181, /* SIS 181 SATA */
- 0,
+ IDE_PCI_CLASS_OVERRIDE,
sata_chip_map
},
{ PCI_PRODUCT_SIS_182, /* SIS 182 SATA */
- 0,
+ IDE_PCI_CLASS_OVERRIDE,
sata_chip_map
}
};