Subject: Re: dreamcast todr(9) conversion patches to test
To: None <port-dreamcast@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-dreamcast
Date: 09/05/2006 16:32:11
On Tue, Sep 05, 2006 at 21:07:12 +0900, Izumi Tsutsui wrote:

> BTW, isn't it better to allocate struct todr_chip_handle in
> struct g2rtc_softc rather than static?

Well, that would be cleaner.  But as we only ever allow one instance
to attach, we can use statically allocated handle and save a couple of
assignments as well :).

Feel free to whack my quick hack into a better shape.

Thanks.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen