svn commit: r199160 - stable/7/sys/dev/ata
Alexander Motin
mav at FreeBSD.org
Tue Nov 10 23:03:51 UTC 2009
Author: mav
Date: Tue Nov 10 23:03:51 2009
New Revision: 199160
URL: http://svn.freebsd.org/changeset/base/199160
Log:
MFC r198488:
Report SATA speeds to CAM, to not confuse users with low numbers logged.
Modified:
stable/7/sys/dev/ata/atapi-cam.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/dev/ata/atapi-cam.c
==============================================================================
--- stable/7/sys/dev/ata/atapi-cam.c Tue Nov 10 22:56:05 2009 (r199159)
+++ stable/7/sys/dev/ata/atapi-cam.c Tue Nov 10 23:03:51 2009 (r199160)
@@ -414,6 +414,12 @@ atapi_action(struct cam_sim *sim, union
case ATA_UDMA6:
cpi->base_transfer_speed = 133000;
break;
+ case ATA_SA150:
+ cpi->base_transfer_speed = 150000;
+ break;
+ case ATA_SA300:
+ cpi->base_transfer_speed = 300000;
+ break;
default:
break;
}
More information about the svn-src-stable
mailing list