[email protected] wrote:
> Hi all,
> 
>  
> 
> I have two test drivers for the same device. If I install one driver
> using add_drv, it installs fine and adds the binding info to
> /etc/driver_aliases. Then I remove the driver using rem_drv, the driver
> and the binding info in the driver_aliases is removed. Now if I try to
> install the second driver for the same device, the system throws an
> error “failed to attach”.
> 
>  
> 
> 1.       Does OS maintain driver-device binding info at few more places?
> 
> 2.       How can I remove this info from all the places, so that I can
> add the second driver without rebooting.

As long as the driver has a working _fini(9E) (that is, it doesn't just
always return EBUSY), you should be able to load up a new driver if you
do "modunload -i 0" after removing the old one but before installing the
new one.

-- 
James Carlson         42.703N 71.076W         <[email protected]>
_______________________________________________
install-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/install-discuss

Reply via email to