summaryrefslogtreecommitdiffstats
path: root/sys/dev/siis/siis.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2012-06-10 11:17:14 +0000
committermav <mav@FreeBSD.org>2012-06-10 11:17:14 +0000
commit6450bdd899dc9e0889a213594c315c02d32661a9 (patch)
tree4f90398a8395bb59a5f344340bcde94006c67ed6 /sys/dev/siis/siis.c
parent454415d4a3bf1756ec95bc6dcd75647abb11126f (diff)
downloadFreeBSD-src-6450bdd899dc9e0889a213594c315c02d32661a9.zip
FreeBSD-src-6450bdd899dc9e0889a213594c315c02d32661a9.tar.gz
Partially revert r236666:
Return PROTO_ATA protocol in response to XPT_PATH_INQ. smartmontools uses it to identify ATA devices and I don't know any other place now where it is important. It could probably use XPT_GDEV_TYPE instead for more accurate protocol information, but let it live for now. Reported by: matthew MFC after: 3 days
Diffstat (limited to 'sys/dev/siis/siis.c')
-rw-r--r--sys/dev/siis/siis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/siis/siis.c b/sys/dev/siis/siis.c
index caf493a..a8a1ed2 100644
--- a/sys/dev/siis/siis.c
+++ b/sys/dev/siis/siis.c
@@ -1960,7 +1960,7 @@ siisaction(struct cam_sim *sim, union ccb *ccb)
cpi->unit_number = cam_sim_unit(sim);
cpi->transport = XPORT_SATA;
cpi->transport_version = XPORT_VERSION_UNSPECIFIED;
- cpi->protocol = PROTO_UNSPECIFIED;
+ cpi->protocol = PROTO_ATA;
cpi->protocol_version = PROTO_VERSION_UNSPECIFIED;
cpi->maxio = MAXPHYS;
cpi->hba_vendor = pci_get_vendor(parent);
OpenPOWER on IntegriCloud