Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2006 04:09:21 -0500
From:      Anish Mistry <mistry.7@osu.edu>
To:        freebsd-stable@freebsd.org
Cc:        Christer Solskogen <solskogen@carebears.mine.nu>
Subject:   Re: (no subject)
Message-ID:  <200601080409.39077.mistry.7@osu.edu>
In-Reply-To: <1489.62.97.242.158.1136705861.squirrel@carebears.mine.nu>
References:  <1489.62.97.242.158.1136705861.squirrel@carebears.mine.nu>

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



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