From a4271edc11cd0ed399d2f6445566852bfcfe1557 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Fri, 5 Feb 2010 14:41:18 +0000 Subject: [PATCH] Report SATA300 chips also as SATA. --- sys/dev/ata/chipsets/ata-siliconimage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/ata/chipsets/ata-siliconimage.c b/sys/dev/ata/chipsets/ata-siliconimage.c index 85b0830c02c..081bee5b9a3 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; }