On Thu, Feb 28, 2008 at 5:52 PM, Steven Stallion <[EMAIL PROTECTED]> wrote:
> On Thu, 28 Feb 2008 17:34:35 +0200, "Cyril Plisko"
>
> <[EMAIL PROTECTED]> wrote:
>
> > I just checked that a little further - turns out mac_init_ops() overrides
>  > the
>  > devo_getinfo field with dld_getinfo(). So NULL, nodev, ddi_no_info or
>  > anything
>  > else doesn't really matter.
>
>  Thats good to know. For the sake of simplicity, is it acceptable to leave
>  NULL in place?

Good question. It seems that most (all?) GLD3 drivers have NULL there.
One can speculate that when first GLD3 driver was written, NULL was
used there and then copied to the other drivers. I personally would prefer
nodev(), but what the heck - stick to NULL :)

-- 
Regards,
        Cyril
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to