aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>2003-12-18 17:36:41 +0000
committerSøren Schmidt <sos@FreeBSD.org>2003-12-18 17:36:41 +0000
commit913bde73c900ba762f1b85526e5e0f2fb65c6f0e (patch)
tree0ed12b1c3df2444e8296c751093093cc6849e6e5 /sys/dev
parent417de5c6d2f400333d92e218ccdc177040ad6d5e (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/ata-chipset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c
index f84304be38a5..ce903a92b47f 100644
--- a/sys/dev/ata/ata-chipset.c
+++ b/sys/dev/ata/ata-chipset.c
@@ -442,7 +442,7 @@ ata_ali_setmode(struct ata_device *atadev, int mode)
}
/*
- * American Micro Devices (AMD) support function
+ * American Micro Devices (AMD) support functions
*/
int
ata_amd_ident(device_t dev)
@@ -2221,8 +2221,8 @@ ata_via_family_setmode(struct ata_device *atadev, int mode)
{
device_t parent = device_get_parent(atadev->channel->dev);
struct ata_pci_controller *ctlr = device_get_softc(parent);
- u_int8_t timings[] = { 0xff, 0xff, 0xff, 0x55, 0x51, 0xff, 0x55, 0x51,
- 0x51, 0x51, 0x51, 0x51, 0x51, 0x51 };
+ u_int8_t timings[] = { 0xa8, 0x65, 0x42, 0x22, 0x20, 0x42, 0x22, 0x20,
+ 0x20, 0x20, 0x20, 0x20, 0x20, 0x20 };
int modes[][7] = {
{ 0xc2, 0xc1, 0xc0, 0x00, 0x00, 0x00, 0x00 }, /* VIA ATA33 */
{ 0xee, 0xec, 0xea, 0xe9, 0xe8, 0x00, 0x00 }, /* VIA ATA66 */