Brooks Davis wrote:
> The following patch reverts a previous API change which change the
> return value of a clonable interfaces' destory function from void to
> int to allow the interface to refuse to delete a unit.  Since we now
> manage unit creation in the generic cloning code and the only use mux or
> I could thing of for refusing to delete a unit was forcing a certain
> number of units to exist, I've added a new member to the cloner struct,
> ifc_minifs which specifies the minimum number of units of this device
> allowed.  This changes the initilizer macro, but we already differ from
> NetBSD in that area and we get to revert to function signatures that
> match those from NetBSD in exchange.
> 
> This diff also includes code to convert the disc interface to be
> clonable and unloadable.  This will be commited seperatly.

This patch looks perfectly fine to me.  Regarding Julian's mail, it
would be straightforward to change the return type back to int if we
ever need to (and I hope we won't), so I don't think this is really an
issue.

Maxime

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to