(no subject)

Anish Mistry mistry.7 at osu.edu
Sun Jan 8 01:07:27 PST 2006


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.  
Also check to see if this is in current via cvsweb.freebsd.org, and 
if it is emailing the responsible commiter about MFC'ing that change 
will give you an authoritative answer on what's up.

>
> Taken from
> http://www.bsdforums.org/forums/showthread.php?threadid=37304
>
> --- 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 = 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 == ATA_I82801FB_S1 ||
>         ctlr->chip->chipid == ATA_I82801FB_R1 ||
> -       ctlr->chip->chipid == ATA_I82801FB_M) {
> +       ctlr->chip->chipid == ATA_I82801FB_M  ||
> +       ctlr->chip->chipid == ATA_I82801GB_S1 ||
> +       ctlr->chip->chipid == ATA_I82801GB_R1 ||
> +       ctlr->chip->chipid == ATA_I82801GB_M) {
>         mask = (0x0005 << ch->unit);
>      }
>      else {

-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060108/c940f02a/attachment.bin


More information about the freebsd-stable mailing list