Subject: Re: Making a common API for cpu frequency drivers
To: Jachym Holecek <>
From: Jason Thorpe <>
List: tech-kern
Date: 09/04/2006 09:30:20
On Sep 4, 2006, at 8:48 AM, Jachym Holecek wrote:

> A note in prop_dictionary_{send,copyin}_ioctl.{3,9} would be enough,  
> IMO...
> It's a bit unuasual to have _IO* definition per ioctl() arg type.

Yah, maybe.  I guess one argument for _IOPLISTREF would be "it is  
always the same, and follows a specific protocol".

My idea was something like

#define	_IOPLISTREF(g, n)	_IOWR((g), (n), struct plistref)

And then code just uses it like:


-- thorpej