[brussels-dev] Brussels: NDD compatiblity support [PSARC/2008/171 FastTrack timeout 03/11/2008]
sowmini.varadhan at sun.com
sowmini.varadhan at sun.com
Thu Mar 6 11:46:42 PST 2008
On (03/06/08 11:26), Garrett D'Amore wrote:
>> If the concern is around the lack of error reporting, the synopsis
>> of mac_register_priv_prop can be changed to return an int, with 0
>> return status indicating success, and EEXIST indicating that the
>> registered name is a duplicate.
>
> Probably not of much value, IMO. (We need to be trying to wean
> developers off of private properties and ndd, and if I can avoid having
> to have error checks in the driver, it will make for
> shorter/cleaner/simpler code in the driver -- that's a good thing IMO.)
I could not agree more.
> I'd like to ensure that the "names" passed to mac_register_priv_prop
> also start with an underscore.
And have mac_ndd shim strip out (or add in) the "_" prefix to retain
compatibility with existing snv output (or input) for the same command?
--Sowmini
More information about the brussels-dev
mailing list