mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
Add a few more older SiS ID's.
This commit is contained in:
parent
b7d6bb0833
commit
041187d122
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113334
@ -1524,6 +1524,9 @@ ata_sis_ident(device_t dev)
|
||||
{ ATA_SIS550, 0x00, SIS66, 0, ATA_UDMA5, "SiS 550" },
|
||||
{ ATA_SIS540, 0x00, SIS66, 0, ATA_UDMA4, "SiS 540" },
|
||||
{ ATA_SIS530, 0x00, SIS66, 0, ATA_UDMA4, "SiS 530" },
|
||||
|
||||
{ ATA_SIS5513, 0xc2, SIS33, 0, ATA_UDMA2, "SiS 5313" },
|
||||
{ ATA_SIS5513, 0x00, SIS33, 0, ATA_WDMA2, "SiS 5313" },
|
||||
{ 0, 0, 0, 0, 0, 0 }};
|
||||
char buffer[64];
|
||||
|
||||
@ -1564,6 +1567,8 @@ ata_sis_chipinit(device_t dev)
|
||||
return ENXIO;
|
||||
|
||||
switch (ctlr->chip->cfg1) {
|
||||
case SIS33:
|
||||
break;
|
||||
case SIS66:
|
||||
case SIS100OLD:
|
||||
pci_write_config(dev, 0x52, pci_read_config(dev, 0x52, 1) | 0x04, 1);
|
||||
@ -1649,7 +1654,8 @@ ata_sis_setmode(struct ata_device *atadev, int mode)
|
||||
break;
|
||||
}
|
||||
case SIS100OLD:
|
||||
case SIS66: {
|
||||
case SIS66:
|
||||
case SIS33: {
|
||||
u_int16_t timings[] =
|
||||
{ 0x0c0b, 0x0607, 0x0404, 0x0303, 0x0301, 0x0404, 0x0303,
|
||||
0x0301, 0xf301, 0xd301, 0xb301, 0xa301, 0x9301, 0x8301 };
|
||||
|
@ -234,6 +234,7 @@ struct ata_pci_controller {
|
||||
#define SIS100NEW 4
|
||||
#define SIS100OLD 5
|
||||
#define SIS66 6
|
||||
#define SIS33 7
|
||||
|
||||
#define VIA33 0
|
||||
#define VIA66 1
|
||||
|
Loading…
Reference in New Issue
Block a user