Date: Thu, 3 Sep 2009 19:02:17 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r196796 - head/sys/dev/ahci Message-ID: <200909031902.n83J2HZC042128@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Thu Sep 3 19:02:17 2009 New Revision: 196796 URL: http://svn.freebsd.org/changeset/base/196796 Log: Round maxio for ATI SB600 to 64K. Submitted by: scottl@ Modified: head/sys/dev/ahci/ahci.c Modified: head/sys/dev/ahci/ahci.c ============================================================================== --- head/sys/dev/ahci/ahci.c Thu Sep 3 18:27:55 2009 (r196795) +++ head/sys/dev/ahci/ahci.c Thu Sep 3 19:02:17 2009 (r196796) @@ -1944,7 +1944,7 @@ ahciaction(struct cam_sim *sim, union cc 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909031902.n83J2HZC042128>