svn commit: r196854 - in stable/8/sys: . amd64/include/xen
cddl/contrib/opensolaris contrib/dev/acpica contrib/pf
dev/ahci dev/xen/xenpci
Alexander Motin
mav at FreeBSD.org
Sat Sep 5 06:24:30 UTC 2009
Author: mav
Date: Sat Sep 5 06:24:28 2009
New Revision: 196854
URL: http://svn.freebsd.org/changeset/base/196854
Log:
MFC r196777, r196796:
ATI SB600 can't handle 256 sectors transfers with FPDMA (NCQ).
Approved by: re (ATA-CAM blanket)
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/ahci/ahci.c
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/ahci/ahci.c
==============================================================================
--- stable/8/sys/dev/ahci/ahci.c Sat Sep 5 05:57:44 2009 (r196853)
+++ stable/8/sys/dev/ahci/ahci.c Sat Sep 5 06:24:28 2009 (r196854)
@@ -1942,6 +1942,9 @@ ahciaction(struct cam_sim *sim, union cc
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, 128 * 512);
cpi->ccb_h.status = CAM_REQ_CMP;
xpt_done(ccb);
break;
More information about the svn-src-all
mailing list