Subject: Re: 1.6 beta1 panic trap at Promise Ultra100TX2 (Sonnet Tempo Ata 100)
To: None <port-macppc@netbsd.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-macppc
Date: 06/08/2002 18:00:25
With the patch attached, it won't panic any more.
But still there is parametric problems, getting:

wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd0c: aborted command, interface CRC error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
...
wd0: soft error (corrected)

--- pciide.c-ooo	Fri Jun  7 13:03:14 2002
+++ pciide.c	Sat Jun  8 17:52:53 2002
@@ -3644,7 +3644,11 @@
 			st &= ~(PDC_IS_262(sc) ?
 			    PDC262_STATE_EN(channel):PDC246_STATE_EN(channel));
 		pciide_map_compat_intr(pa, cp, channel, interface);
-		pdc202xx_setup_channel(&cp->wdc_channel);
+               if (PDC_IS_268(sc))
+                        pdc20268_setup_channel(&cp->wdc_channel);
+                else
+                        pdc202xx_setup_channel(&cp->wdc_channel);
+		
 	}
 	if (!PDC_IS_268(sc)) {
 		WDCDEBUG_PRINT(("pdc202xx_setup_chip: new controller state "


---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.