PERFORCE change 168100 for review
Alexander Motin
mav at FreeBSD.org
Thu Sep 3 12:34:08 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=168100
Change 168100 by mav at mav_mavbook on 2009/09/03 12:34:06
ATI SB600 can't handle 256 sectors transfers with FPDMA (NCQ).
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#59 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#59 (text+ko) ====
@@ -1942,6 +1942,9 @@
cpi->protocol = PROTO_ATA;
cpi->protocol_version = PROTO_VERSION_UNSPECIFIED;
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->ccb_h.status = CAM_REQ_CMP;
xpt_done(ccb);
break;
More information about the p4-projects
mailing list