Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2009 07:53:10 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r195987 - stable/7/sys/dev/ata
Message-ID:  <200907310753.n6V7rAeg059805@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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))) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907310753.n6V7rAeg059805>