(no subject)
Christer Solskogen
solskogen at carebears.mine.nu
Sat Jan 7 23:38:02 PST 2006
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
More information about the freebsd-stable
mailing list