summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-11-19 09:26:39 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-11-19 09:26:39 +0000
commit3a554c88894cb3f94f0ee5782e1ba6b141b34cb0 (patch)
tree4f02024f06f484b3cbe3050c6e7508caf9628cc3
parent2c48d20d8c0a20472916884e44d9fb0ded99abbd (diff)
Notes
-rw-r--r--sys/dev/ata/chipsets/ata-intel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-intel.c b/sys/dev/ata/chipsets/ata-intel.c
index ba602aaa5ea1..22cb23b2d717 100644
--- a/sys/dev/ata/chipsets/ata-intel.c
+++ b/sys/dev/ata/chipsets/ata-intel.c
@@ -315,7 +315,6 @@ ata_intel_ch_attach(device_t dev)
map &= 0x03;
if (map == 0x00) {
ch->flags |= ATA_SATA;
- smap[ch->unit] = (ch->unit == 0) ? 0x20 : 0x31;
smap[0] = (ch->unit == 0) ? 0 : 1;
smap[1] = (ch->unit == 0) ? 2 : 3;
} else if (map == 0x02 && ch->unit == 0) {