Steven Stallion wrote:
>> ddi_binding_name() gives the alias that was used to bind the driver.
>>     
>
> Ahh, perfect!
>
>   
>> However, I tend to prefer exporting the driver name, such as
>> "ddi_driver_name()", in the output.
>>     
>
> Agreed.
>
> All cmn_err calls have the driver name and instance number prefixed, so
> the entire output looks like:
>
> ne0 probed "pci1027,00ab"
>   

Be advised that this is true for syslog, but *not* true for the message 
buffer -- $<msgbuf lacks the prefix.

    -- Garrett
> Cheers,
>
> Steve
>
>   

_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to