From 71424aefe16a0d60ee6544a02fb8e6f8cadbadf0 Mon Sep 17 00:00:00 2001 From: sos Date: Wed, 25 Feb 2004 09:55:49 +0000 Subject: [PATCH] Add support for the sii3512 SATA chip. --- sys/dev/ata/ata-chipset.c | 2 ++ sys/dev/ata/ata-pci.h | 1 + 2 files changed, 3 insertions(+) diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c index 48233aa7264e..9d0beed419f9 100644 --- a/sys/dev/ata/ata-chipset.c +++ b/sys/dev/ata/ata-chipset.c @@ -1587,8 +1587,10 @@ ata_sii_ident(device_t dev) struct ata_chip_id *idx; static struct ata_chip_id ids[] = {{ ATA_SII3114, 0x00, SIIMEMIO, SII4CH, ATA_SA150, "SiI 3114" }, + { ATA_SII3512, 0x02, SIIMEMIO, 0, ATA_SA150, "SiI 3512" }, { ATA_SII3112, 0x02, SIIMEMIO, 0, ATA_SA150, "SiI 3112" }, { ATA_SII3112_1, 0x02, SIIMEMIO, 0, ATA_SA150, "SiI 3112" }, + { ATA_SII3512, 0x00, SIIMEMIO, SIIBUG, ATA_SA150, "SiI 3512" }, { ATA_SII3112, 0x00, SIIMEMIO, SIIBUG, ATA_SA150, "SiI 3112" }, { ATA_SII3112_1, 0x00, SIIMEMIO, SIIBUG, ATA_SA150, "SiI 3112" }, { ATA_SII0680, 0x00, SIIMEMIO, SIISETCLK, ATA_UDMA6, "SiI 0680" }, diff --git a/sys/dev/ata/ata-pci.h b/sys/dev/ata/ata-pci.h index b11a8210cc9f..5a063261534e 100644 --- a/sys/dev/ata/ata-pci.h +++ b/sys/dev/ata/ata-pci.h @@ -160,6 +160,7 @@ struct ata_pci_controller { #define ATA_SILICON_IMAGE_ID 0x1095 #define ATA_SII3114 0x31141095 +#define ATA_SII3512 0x35121095 #define ATA_SII3112 0x31121095 #define ATA_SII3112_1 0x02401095 #define ATA_SII0680 0x06801095