diff options
author | 2005-04-29 01:11:46 +0000 | |
---|---|---|
committer | 2005-04-29 01:11:46 +0000 | |
commit | 7e39379151825f38dcadd00b790ca083a58bac3d (patch) | |
tree | a19caddfa3bca3e0dac04a843005876549ac4b5c /sys | |
parent | regen (diff) | |
download | wireguard-openbsd-7e39379151825f38dcadd00b790ca083a58bac3d.tar.xz wireguard-openbsd-7e39379151825f38dcadd00b790ca083a58bac3d.zip |
Support ATI IXP 400 SATA, which is a Silicon Image 3112 in sheep's clothing.
Tested by Pedro la Peu <pedro at am-gen.org>. ok grange@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/pciide.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 4a96f1913f0..5fd4b5e1006 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.191 2005/04/20 00:57:25 jsg Exp $ */ +/* $OpenBSD: pciide.c,v 1.192 2005/04/29 01:11:46 jsg Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -666,6 +666,16 @@ const struct pciide_product_desc pciide_ite_products[] = { } }; +const struct pciide_product_desc pciide_ati_products[] = { + { PCI_PRODUCT_ATI_IXP_SATA_400_1, + IDE_PCI_CLASS_OVERRIDE, + sii3112_chip_map + }, + { PCI_PRODUCT_ATI_IXP_SATA_400_2, + IDE_PCI_CLASS_OVERRIDE, + sii3112_chip_map + } +}; struct pciide_vendor_desc { u_int32_t ide_vendor; @@ -705,7 +715,9 @@ const struct pciide_vendor_desc pciide_vendors[] = { { PCI_VENDOR_NVIDIA, pciide_nvidia_products, sizeof(pciide_nvidia_products)/sizeof(pciide_nvidia_products[0]) }, { PCI_VENDOR_ITEXPRESS, pciide_ite_products, - sizeof(pciide_ite_products)/sizeof(pciide_ite_products[0]) } + sizeof(pciide_ite_products)/sizeof(pciide_ite_products[0]) }, + { PCI_VENDOR_ATI, pciide_ati_products, + sizeof(pciide_ati_products)/sizeof(pciide_ati_products[0]) } }; /* options passed via the 'flags' config keyword */ |