Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys




On Dec 19, 2005, at 9:24 PM, YAMAMOTO Takashi wrote:

Module Name:    src
Committed By:   thorpej
Date:           Tue Dec 20 04:30:28 UTC 2005

Modified Files:
        src/sys/sys: device.h

Log Message:
Provide typedefs:
- devclass_t
- devact_t
- cfdata_t
- device_t

...and use them.

there was a contrary movement, wasn't it?
eg. vm_page_t -> struct vm_page *.

I guess, although I'm not sure I like that particular change.

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 *".

-- thorpej




Home | Main Index | Thread Index | Old Index