svn commit: r198488 - head/sys/dev/ata

Alexander Motin mav at FreeBSD.org
Mon Oct 26 11:26:49 UTC 2009


Author: mav
Date: Mon Oct 26 11:26:49 2009
New Revision: 198488
URL: http://svn.freebsd.org/changeset/base/198488

Log:
  Report SATA speeds to CAM, to not confuse users with low numbers logged.

Modified:
  head/sys/dev/ata/atapi-cam.c

Modified: head/sys/dev/ata/atapi-cam.c
==============================================================================
--- head/sys/dev/ata/atapi-cam.c	Mon Oct 26 11:23:41 2009	(r198487)
+++ head/sys/dev/ata/atapi-cam.c	Mon Oct 26 11:26:49 2009	(r198488)
@@ -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-all mailing list