Round maxio for ATI SB600 to 64K.

Submitted by:	scottl@
This commit is contained in:
Alexander Motin 2009-09-03 19:02:17 +00:00
parent 9da50145e6
commit ce531e6b83

View File

@ -1944,7 +1944,7 @@ ahciaction(struct cam_sim *sim, union ccb *ccb)
cpi->maxio = MAXPHYS;
/* ATI SB600 can't handle 256 sectors with FPDMA (NCQ). */
if (pci_get_devid(device_get_parent(dev)) == 0x43801002)
cpi->maxio = min(cpi->maxio, 255 * 512);
cpi->maxio = min(cpi->maxio, 128 * 512);
cpi->ccb_h.status = CAM_REQ_CMP;
xpt_done(ccb);
break;