1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Update the support for the VIA 8237 southbridge.

This commit is contained in:
Søren Schmidt 2004-01-20 16:51:02 +00:00
parent 19c53c53f9
commit 8a1bddb753
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124754
2 changed files with 4 additions and 3 deletions

View File

@ -2134,12 +2134,12 @@ ata_via_ident(device_t dev)
{ ATA_VIA8237, 0x00, VIA133, 0x00, ATA_UDMA6, "VIA 8237" },
{ 0, 0, 0, 0, 0, 0 }};
static struct ata_chip_id new_ids[] =
{{ ATA_VIA8237, 0x00, 0x00, 0x00, ATA_SA150, "VIA 8237" },
{{ ATA_VIA8237_1, 0x00, 0x00, 0x00, ATA_SA150, "VIA 8237" },
{ 0, 0, 0, 0, 0, 0 }};
char buffer[64];
if (pci_get_devid(dev) == ATA_VIA82C571) {
if (!(idx = ata_find_chip(dev, ids, pci_get_slot(dev))))
if (!(idx = ata_find_chip(dev, ids, -99)))
return ENXIO;
}
else {

View File

@ -221,7 +221,8 @@ struct ata_pci_controller {
#define ATA_VIA8233A 0x31471106
#define ATA_VIA8233C 0x31091106
#define ATA_VIA8235 0x31771106
#define ATA_VIA8237 0x31491106
#define ATA_VIA8237 0x32271106
#define ATA_VIA8237_1 0x31491106
#define ATA_VIA8361 0x31121106
#define ATA_VIA8363 0x03051106
#define ATA_VIA8371 0x03911106