From 9644f64b75715f30b104368d7874ce10e2adedf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Sun, 23 Feb 2003 15:05:04 +0000 Subject: [PATCH] Fix timeout when using UDMA speeds, bad chip setup. --- sys/dev/ata/ata-chipset.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c index 88602269151e..f3273a7e2966 100644 --- a/sys/dev/ata/ata-chipset.c +++ b/sys/dev/ata/ata-chipset.c @@ -1254,9 +1254,6 @@ ata_serverworks_setmode(struct ata_device *atadev, int mode) else pci_write_config(parent, 0x54, pci_read_config(parent, 0x54, 1) | ~(0x01 << devno), 1); - - pci_write_config(parent, 0x54, pci_read_config(parent, 0x54, 1) & - ~(0x01 << devno), 1); pci_write_config(parent, 0x44, (pci_read_config(parent, 0x44, 4) & ~(0xff << (offset << 8))) |