Subject: Re: CVS commit: src/sys/sys
To: Jason Thorpe <email@example.com>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 12/20/2005 06:48:18
On Mon, 19 Dec 2005, Jason Thorpe wrote:
> I would like to see us move towards more types that are opaque outside the
> subsystem that implements them. Besides, "device_t" is a lot shorter than
> "struct device *".
This is probably a very stupid question, but... what I wonder is how to
get a "struct device foodev" that way, when "device_t foodev" would only
give me a pointer. Not knowing the kernel this may make no sense at all,
and that only malloc()ed data structures are used for this...
BTW: device(9) needs adjusting for this. (And for some other things,
please see PR 32336).