Subject: Re: Adding video mode info to struct wsscreen_descr
To: None <junyoung@mogua.com>
From: TAKEMURA Shin <takemura@netbsd.org>
List: tech-kern
Date: 07/10/2002 11:44:54
From: Bang Jun-Young <junyoung@mogua.com>
Subject: Re: Adding video mode info to struct wsscreen_descr
Date: Wed, 10 Jul 2002 11:19:02 +0900
> > I think you can freely add any members to struct wsscreen_descr like
> > below. Or you can retreive your mode data searching with 'name' member
> > of struct wsscreen_descr, which shuld be identical.
>
> Yes, but that's a quick hack and can't be a real solution in the
> long run. I think "void *" cookie would be best, as of now.
You've already use the hack for long time :-)
struct wsdisplay_softc {
struct device sc_dv; /* <- HERE! */
const struct wsdisplay_accessops *sc_accessops;
void *sc_accesscookie;
Takemura