From owner-svn-src-stable-7@FreeBSD.ORG Fri Jul 31 07:53:10 2009 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B445E1065672; Fri, 31 Jul 2009 07:53:10 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A20468FC1A; Fri, 31 Jul 2009 07:53:10 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n6V7rAFY059806; Fri, 31 Jul 2009 07:53:10 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n6V7rAeg059805; Fri, 31 Jul 2009 07:53:10 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <200907310753.n6V7rAeg059805@svn.freebsd.org> From: Alexander Motin Date: Fri, 31 Jul 2009 07:53:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r195987 - stable/7/sys/dev/ata X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 07:53:11 -0000 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))) {