[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: My way from Debian Linux m68k to NetBSD m68k and BACK to Debian, using AMIGA 1200.



       Hi,

"nzabrod" <nzabrod@yandex.ru> writes:

> Second... my IDE ATAPI CDROM was not found in NetBSD. No way. No
> ATAPI CD. No even traces of any ATAPI devices...

I guess it's too late for you, but you will be pleased to hear that
your message didn't go unnoticed even though you didn't report any bug
using our bug reporting system.

Revision 1.29 of arch/amiga/dev/wdc_amiga.c fixes the problem of ATAPI
detection and here is the patch. I will request pullups so that
further releases of NetBSD all include it.

Regards,
 Aymeric

Index: wdc_amiga.c
===================================================================
RCS file: /cvsroot/src/sys/arch/amiga/dev/wdc_amiga.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -u -r1.28 -r1.29
--- wdc_amiga.c	29 Jan 2006 21:42:41 -0000	1.28
+++ wdc_amiga.c	27 Mar 2006 19:35:33 -0000	1.29
@@ -104,7 +104,6 @@
 		sc->sc_a1200 = 0;
 	} else {
 		sc->cmd_iot.base = (u_long) ztwomap(0xda0000 + 2);
-		sc->ctl_iot.base = (u_long) ztwomap(0xda4000);
 		gayle_init();
 		sc->sc_intreg = &gayle.intreq;
 		sc->sc_a1200 = 1;
@@ -133,9 +132,7 @@
 		}
 	}
 
-	if (sc->sc_a1200)
-		wdr->ctl_ioh = sc->ctl_iot.base;
-	else if (bus_space_subregion(wdr->cmd_iot,
+	if (bus_space_subregion(wdr->cmd_iot,
 	    wdr->cmd_baseioh, 0x406, 1, &wdr->ctl_ioh))
 		return;
 



Reply to: