diff options
author | mav <mav@FreeBSD.org> | 2009-09-03 19:02:17 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-09-03 19:02:17 +0000 |
commit | 5d151fa1f9e0bab1181b49200884097a9b1874ac (patch) | |
tree | 5c22270deec45283337c7a65b262b71d99a09b3a /sys/dev/ahci | |
parent | fce8a646ce0640c50366b00c9db2362b6fa08af5 (diff) | |
download | FreeBSD-src-5d151fa1f9e0bab1181b49200884097a9b1874ac.zip FreeBSD-src-5d151fa1f9e0bab1181b49200884097a9b1874ac.tar.gz |
Round maxio for ATI SB600 to 64K.
Submitted by: scottl@
Diffstat (limited to 'sys/dev/ahci')
-rw-r--r-- | sys/dev/ahci/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c index 9264ee0..2d8be43 100644 --- a/sys/dev/ahci/ahci.c +++ b/sys/dev/ahci/ahci.c @@ -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; |