From owner-freebsd-stable@FreeBSD.ORG Sun Jan 8 09:07:27 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66ED216A41F for ; Sun, 8 Jan 2006 09:07:27 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B39DA43D45 for ; Sun, 8 Jan 2006 09:07:26 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.4/8.13.4) with ESMTP id k089CslA046720 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 8 Jan 2006 04:13:00 -0500 (EST) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-stable@freebsd.org Date: Sun, 8 Jan 2006 04:09:21 -0500 User-Agent: KMail/1.8.3 References: <1489.62.97.242.158.1136705861.squirrel@carebears.mine.nu> In-Reply-To: <1489.62.97.242.158.1136705861.squirrel@carebears.mine.nu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2709036.FhvjR2X8JN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200601080409.39077.mistry.7@osu.edu> X-Spam-Status: No, score=-4.9 required=5.0 tests=ALL_TRUSTED,BAYES_20, J_CHICKENPOX_33,MYFREEBSD2 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.87/1234/Fri Jan 6 08:54:31 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: Christer Solskogen Subject: Re: (no subject) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2006 09:07:27 -0000 --nextPart2709036.FhvjR2X8JN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 08 January 2006 02:37 am, Christer Solskogen wrote: > Hi! > > I got myself a mainboard with the ICH7 chipset. This chipset is > supported in FreeBSD, but on my board it had a problem. It found > only 2 of my four disks (ad0 and ad2) I tried updating to > 6.0-stable (from 6.0-release) but the problem resist. > I found a patch at bsdforums that did indeed work. > Could anyone review this, and commit it, please? It is generally best to file a PR so this stuff doesn't get lost. =20 Also check to see if this is in current via cvsweb.freebsd.org, and=20 if it is emailing the responsible commiter about MFC'ing that change=20 will give you an authoritative answer on what's up. > > Taken from > http://www.bsdforums.org/forums/showthread.php?threadid=3D37304 > > --- ata-chipset.c Thu Oct 13 10:07:46 2005 > +++ ata-chipset-ich7.c Sun Dec 11 23:25:48 2005 > @@ -1845,10 +1845,13 @@ > struct ata_channel *ch =3D device_get_softc(dev); > int mask, timeout; > > - /* ICH6 has 4 SATA ports as master/slave on 2 channels so deal > with pairs */ > + /* ICH6/7 has 4 SATA ports as master/slave on 2 channels so > deal with pairs */ > if (ctlr->chip->chipid =3D=3D ATA_I82801FB_S1 || > ctlr->chip->chipid =3D=3D ATA_I82801FB_R1 || > - ctlr->chip->chipid =3D=3D ATA_I82801FB_M) { > + ctlr->chip->chipid =3D=3D ATA_I82801FB_M || > + ctlr->chip->chipid =3D=3D ATA_I82801GB_S1 || > + ctlr->chip->chipid =3D=3D ATA_I82801GB_R1 || > + ctlr->chip->chipid =3D=3D ATA_I82801GB_M) { > mask =3D (0x0005 << ch->unit); > } > else { =2D-=20 Anish Mistry --nextPart2709036.FhvjR2X8JN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDwNbTxqA5ziudZT0RAtUhAJsEkXx2l1og4PcFH773KIAqCWg6+gCeLEbv cesMDwLOzIc3gt9k6YQXDG4= =r7PA -----END PGP SIGNATURE----- --nextPart2709036.FhvjR2X8JN--