1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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

This commit is contained in:
Alexander Motin 2009-10-26 11:26:49 +00:00
parent e8579543e8
commit 84f620d3e2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=198488

View File

@ -414,6 +414,12 @@ atapi_action(struct cam_sim *sim, union ccb *ccb)
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;
}