svn commit: r207597 - stable/6/sys/dev/ata
Xin LI
delphij at FreeBSD.org
Tue May 4 05:17:11 UTC 2010
Author: delphij
Date: Tue May 4 05:17:11 2010
New Revision: 207597
URL: http://svn.freebsd.org/changeset/base/207597
Log:
Fixup MFC. I should have done test build before committing this.
Pointy hat to: delphij
Modified:
stable/6/sys/dev/ata/ata-all.c
Modified: stable/6/sys/dev/ata/ata-all.c
==============================================================================
--- stable/6/sys/dev/ata/ata-all.c Tue May 4 05:14:43 2010 (r207596)
+++ stable/6/sys/dev/ata/ata-all.c Tue May 4 05:17:11 2010 (r207597)
@@ -449,7 +449,7 @@ ata_device_ioctl(device_t dev, u_long cm
switch (cmd) {
case IOCATAREQUEST:
if (ioc_request->count >
- (ch->dma.max_iosize ? ch->dma.max_iosize : DFLTPHYS)) {
+ (ch->dma->max_iosize ? ch->dma->max_iosize : DFLTPHYS)) {
return (EFBIG);
}
if (!(buf = malloc(ioc_request->count, M_ATA, M_NOWAIT))) {
More information about the svn-src-all
mailing list