summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ata/ata-chipset.c3
1 files changed, 0 insertions, 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))) |