Subject: Re: Yet more Device Properties
To: None <eeh@netbsd.org>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 02/22/2001 12:51:18
eeh@netbsd.org writes:

> struct device {
> 	enum	devclass dv_class;	/* this device's classification */
		:
> 	SLIST_HEAD(devpropslist, devprop) dv_props;
> 	void	*dv_private;
> };

> int dev_delprop(struct device *dev, const char *name, int flags);
> 
> Remove a property from a device node.  If a NULL is supplied for the
> name, dev_delprop(9) will remove all properties from a device node.
> It returns 0 on success or an error value.

Since this description impiles a property may be removed out of order,
SLIST isn't quite appropriate.

enami.