Subject: Re: Adding video mode info to struct wsscreen_descr
To: None <tech-kern@netbsd.org>
From: Gary Thorpe <gat7634@hotmail.com>
List: tech-kern
Date: 07/10/2002 14:39:30
>From: cgd@broadcom.com
>To: takemura@netbsd.org
>CC: junyoung@mogua.com, thorpej@wasabisystems.com, tech-kern@netbsd.org
>Subject: Re: Adding video mode info to struct wsscreen_descr
>Date: 09 Jul 2002 23:27:51 -0700
>
>At Wed, 10 Jul 2002 02:35:26 +0000 (UTC), "TAKEMURA Shin" wrote:
> > You've already use the hack for long time :-)
> >
> > struct wsdisplay_softc {
> > struct device sc_dv; /* <- HERE! */
>
>There are some who consider that a bug, too...
>
>(certainly, I think it's more important in terms of kernel structure,
>modules, etc., to fix the struct device stuff than to do anything in
>particular w/ wscons... 8-)
>
>
>
>cgd
Why is is a bug? In FreeBSD there is no such structure nesting and as a
result you have to do ugly things to do simple things like get a device's
name etc. What would be better?
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com