summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2006-09-02 12:55:42 +0000
committersos <sos@FreeBSD.org>2006-09-02 12:55:42 +0000
commitf62c7d769ae996fbe42a4df0baadf3afd22accab (patch)
tree51b0a93cc5932c2a9e2b01167420d832059b46d9
parent7e23ec5e9d54d2d06b5a4b3cd66f1194c67c15d1 (diff)
downloadFreeBSD-src-f62c7d769ae996fbe42a4df0baadf3afd22accab.zip
FreeBSD-src-f62c7d769ae996fbe42a4df0baadf3afd22accab.tar.gz
Add support for VIA 8237A.
-rw-r--r--sys/dev/ata/ata-chipset.c2
-rw-r--r--sys/dev/ata/ata-pci.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c
index 56800ee..1bf83b0 100644
--- a/sys/dev/ata/ata-chipset.c
+++ b/sys/dev/ata/ata-chipset.c
@@ -4750,12 +4750,14 @@ ata_via_ident(device_t dev)
{ ATA_VIA8233A, 0x00, VIA133, 0x00, ATA_UDMA6, "8233A" },
{ ATA_VIA8235, 0x00, VIA133, 0x00, ATA_UDMA6, "8235" },
{ ATA_VIA8237, 0x00, VIA133, 0x00, ATA_UDMA6, "8237" },
+ { ATA_VIA8237A, 0x00, VIA133, 0x00, ATA_UDMA6, "8237A" },
{ ATA_VIA8251, 0x00, VIA133, 0x00, ATA_UDMA6, "8251" },
{ 0, 0, 0, 0, 0, 0 }};
static struct ata_chip_id new_ids[] =
{{ ATA_VIA6410, 0x00, 0, 0x00, ATA_UDMA6, "6410" },
{ ATA_VIA6420, 0x00, 7, 0x00, ATA_SA150, "6420" },
{ ATA_VIA6421, 0x00, 6, VIABAR, ATA_SA150, "6421" },
+ { ATA_VIA8237A, 0x00, 0, 0x00, ATA_SA150, "8237A" },
{ ATA_VIA8251, 0x00, 0, VIAAHCI, ATA_SA300, "8251" },
{ 0, 0, 0, 0, 0, 0 }};
char buffer[64];
diff --git a/sys/dev/ata/ata-pci.h b/sys/dev/ata/ata-pci.h
index 5b4cef0..0a80a5e 100644
--- a/sys/dev/ata/ata-pci.h
+++ b/sys/dev/ata/ata-pci.h
@@ -337,6 +337,7 @@ struct ata_connect_task {
#define ATA_VIA8233C 0x31091106
#define ATA_VIA8235 0x31771106
#define ATA_VIA8237 0x32271106
+#define ATA_VIA8237A 0x05911106
#define ATA_VIA8251 0x33491106
#define ATA_VIA8361 0x31121106
#define ATA_VIA8363 0x03051106
OpenPOWER on IntegriCloud