[PATCH] use core driver name for ATM device
rkagan at mail.ru
Mon Feb 7 07:08:51 EST 2005
On Mon, Feb 07, 2005 at 12:33:10PM +0100, Duncan Sands wrote:
> > This one-liner fixes the case when subdriver's module gets unloaded,
> > thus its .driver_name gets destroyed, while ATM still holds a reference
> > to it. It passes instead usbatm_driver_name to ATM.
> > Alternatively we can make a private copy of subdriver's .driver_name and
> > release it in usbatm_destroy_instance, but it doesn't seem to be worth
> > to bother.
> let me check where this information is seen... maybe it is useful to know
> which minidriver is being used.
Currently it's seen in /proc/net/atm/*. E.g. modprobe -r cxacru while
the ATM device is open, then cat /proc/net/atm/devices. Also in
/sys/class/atm, if that patch of mine lands in the kernel :)
More information about the Usbatm