aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/chipsets
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-02-05 14:41:18 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-02-05 14:41:18 +0000
commita4271edc11cd0ed399d2f6445566852bfcfe1557 (patch)
tree1498bca18267e08a8b86586e3473ce9e86de748f /sys/dev/ata/chipsets
parent57ae362c8f4dbf64535f80c3aa5f77daa80bf62b (diff)
downloadsrc-a4271edc11cd0ed399d2f6445566852bfcfe1557.tar.gz
src-a4271edc11cd0ed399d2f6445566852bfcfe1557.zip
Report SATA300 chips also as SATA.
Notes
Notes: svn path=/head/; revision=203525
Diffstat (limited to 'sys/dev/ata/chipsets')
-rw-r--r--sys/dev/ata/chipsets/ata-siliconimage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-siliconimage.c b/sys/dev/ata/chipsets/ata-siliconimage.c
index 85b0830c02c1..081bee5b9a37 100644
--- a/sys/dev/ata/chipsets/ata-siliconimage.c
+++ b/sys/dev/ata/chipsets/ata-siliconimage.c
@@ -471,7 +471,8 @@ ata_siiprb_ch_attach(device_t dev)
ch->hw.softreset = ata_siiprb_softreset;
ch->hw.pm_read = ata_siiprb_pm_read;
ch->hw.pm_write = ata_siiprb_pm_write;
-
+ ch->flags |= ATA_NO_SLAVE;
+ ch->flags |= ATA_SATA;
return 0;
}