Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2006 08:37:41 +0100 (CET)
From:      "Christer Solskogen" <solskogen@carebears.mine.nu>
To:        stable@freebsd.org
Subject:   (no subject)
Message-ID:  <1489.62.97.242.158.1136705861.squirrel@carebears.mine.nu>

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

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 {




-- 
cso





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