The ICH8M found in the MacBookPro4,1 has an known issue [1] which
locks up when enabling the periodic poll using sidpr (introduced a
``little'' while ago in r214016), making it impossible to boot.

Attached patch disables the polling and thus fixes the issue.

Br. /Rick
[1] http://www.spinics.net/lists/linux-ide/msg23487.html
-- 
http://rickvanderzwet.nl
Index: sys/dev/ata/chipsets/ata-intel.c
===================================================================
--- sys/dev/ata/chipsets/ata-intel.c	(revision 222949)
+++ sys/dev/ata/chipsets/ata-intel.c	(working copy)
@@ -366,7 +366,10 @@
 				smap[1] = 3;
 			}
 		}
-		if (ch->flags & ATA_SATA) {
+  	  	if (ctlr->chip->chipid == ATA_I82801HBM_S1) {
+			/* Disable polling, locks up after enabling sidpr */
+			ctlr->setmode = ata_intel_new_setmode;
+		} else if (ch->flags & ATA_SATA) {
 			if ((ctlr->chip->cfg1 & INTEL_ICH5)) {
 				ch->flags |= ATA_PERIODIC_POLL;
 				ch->hw.status = ata_intel_sata_status;
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to