Date: Tue, 4 May 2010 05:17:11 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org Subject: svn commit: r207597 - stable/6/sys/dev/ata Message-ID: <201005040517.o445HB6e011037@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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))) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005040517.o445HB6e011037>