Re: call for testing: completing the device/softc split

2012-10-13 Thread Izumi Tsutsui
everyone please feel free to commit any part of this stuff separately. I've committed MD part of ews4800mips, hp300, luna68k, news68k, newsmips, pmax, sun2, sun3, and x68k. --- Izumi Tsutsui

Re: call for testing: completing the device/softc split

2012-10-11 Thread Izumi Tsutsui
matt@ wrote: On Oct 10, 2012, at 10:55 AM, Izumi Tsutsui wrote: I wrote: ite chnages seem to cause silent hang at early bootstrap at least on XM6i, so I'll check it on real X68030 with serial console later. (IIRC atari's ite also had annoying quirks around console probe code..)

Re: call for testing: completing the device/softc split

2012-10-10 Thread Chuck Silvers
On Wed, Oct 10, 2012 at 03:57:30AM +0900, Izumi Tsutsui wrote: chs@ wrote: I put together a patch to complete the device/softc split for the remaining drivers in the tree. the patch is at: http://ftp.netbsd.org/pub/NetBSD/misc/chs/diff.devsoftc.8 +++ sys/arch/amiga/amiga/autoconf.c

Re: call for testing: completing the device/softc split

2012-10-10 Thread Izumi Tsutsui
It would be nice to split the patch into two parts, cosmetic only changes (struct device * - device_t, device_xname() macro etc) and actual split (CFATTACH_DECL - CFATTACH_DECL_NEW with softc) that could have many pitfalls. (conversion between device_t and softc via (void *)

Re: call for testing: completing the device/softc split

2012-10-10 Thread Chuck Silvers
On Thu, Oct 11, 2012 at 12:47:56AM +0900, Izumi Tsutsui wrote: It would be nice to split the patch into two parts, cosmetic only changes (struct device * - device_t, device_xname() macro etc) and actual split (CFATTACH_DECL - CFATTACH_DECL_NEW with softc) that could have many

Re: call for testing: completing the device/softc split

2012-10-10 Thread Izumi Tsutsui
No problem, but I'd like to commit the following x68k ones - sys/arch/x68k/dev/ite.c - sys/arch/x68k/dev/itevar.h - sys/arch/x68k/dev/mha.c (which would be fatal) separately so that I can use one commit log to pullup request to netbsd-6. sure, go right ahead. mha.c is done. ite

Re: call for testing: completing the device/softc split

2012-10-10 Thread Izumi Tsutsui
I wrote: ite chnages seem to cause silent hang at early bootstrap at least on XM6i, so I'll check it on real X68030 with serial console later. (IIRC atari's ite also had annoying quirks around console probe code..) I've also fixed and committed x68k ite. It has a static struct softc for

Re: call for testing: completing the device/softc split

2012-10-10 Thread Matt Thomas
On Oct 10, 2012, at 10:55 AM, Izumi Tsutsui wrote: I wrote: ite chnages seem to cause silent hang at early bootstrap at least on XM6i, so I'll check it on real X68030 with serial console later. (IIRC atari's ite also had annoying quirks around console probe code..) I've also fixed and

Re: call for testing: completing the device/softc split

2012-10-09 Thread Izumi Tsutsui
chs@ wrote: I put together a patch to complete the device/softc split for the remaining drivers in the tree. the patch is at: http://ftp.netbsd.org/pub/NetBSD/misc/chs/diff.devsoftc.8 +++ sys/arch/amiga/amiga/autoconf.c 9 Oct 2012 02:53:15 - @@ -156,34 +156,52 @@ matchname(const