svn commit: r195987 - stable/7/sys/dev/ata
Alexander Motin
mav at FreeBSD.org
Fri Jul 31 07:53:11 UTC 2009
Author: mav
Date: Fri Jul 31 07:53:09 2009
New Revision: 195987
URL: http://svn.freebsd.org/changeset/base/195987
Log:
Fix build breakage introduced by rev. 195973 due to difference from HEAD,
Submitted by: Oliver Pinter
Modified:
stable/7/sys/dev/ata/ata-all.c
Modified: stable/7/sys/dev/ata/ata-all.c
==============================================================================
--- stable/7/sys/dev/ata/ata-all.c Fri Jul 31 01:04:35 2009 (r195986)
+++ stable/7/sys/dev/ata/ata-all.c Fri Jul 31 07:53:09 2009 (r195987)
@@ -451,7 +451,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-stable
mailing list