From owner-svn-src-stable-7@FreeBSD.ORG Tue Sep 29 16:19:49 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 27EBA106566C; Tue, 29 Sep 2009 16:19:49 +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 15D058FC15; Tue, 29 Sep 2009 16:19:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n8TGJmOq089761; Tue, 29 Sep 2009 16:19:48 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n8TGJmRg089759; Tue, 29 Sep 2009 16:19:48 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <200909291619.n8TGJmRg089759@svn.freebsd.org> From: Alexander Motin Date: Tue, 29 Sep 2009 16:19:48 +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: r197617 - 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: Tue, 29 Sep 2009 16:19:49 -0000 Author: mav Date: Tue Sep 29 16:19:48 2009 New Revision: 197617 URL: http://svn.freebsd.org/changeset/base/197617 Log: Partial MFC rev. 191568: Do not hide second channel of ATI IXP700 ATA controller. While this chip indeed has only one PATA channel, second channel of the controller is used by two SATA channels working in legacy emulation mode. Modified: stable/7/sys/dev/ata/ata-chipset.c Modified: stable/7/sys/dev/ata/ata-chipset.c ============================================================================== --- stable/7/sys/dev/ata/ata-chipset.c Tue Sep 29 12:59:31 2009 (r197616) +++ stable/7/sys/dev/ata/ata-chipset.c Tue Sep 29 16:19:48 2009 (r197617) @@ -1406,9 +1406,8 @@ ata_ati_chipinit(device_t dev) if (ata_setup_interrupt(dev)) return ENXIO; - /* IXP600 & IXP700 only have 1 PATA channel */ - if ((ctlr->chip->chipid == ATA_ATI_IXP600) || - (ctlr->chip->chipid == ATA_ATI_IXP700)) + /* IXP600 only have 1 PATA channel */ + if (ctlr->chip->chipid == ATA_ATI_IXP600) ctlr->channels = 1; ctlr->setmode = ata_ati_setmode;