Re: [PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm_proc_read.

2007-01-31 Thread Simon Arlott
On 31/01/07 14:48, Duncan Sands wrote: >> usbatm only outputs basic information via the per-device /proc/net/atm/ file, >> this patch allows the device specific USB ATM drivers to replace the >> atm_proc_read function with their own. > > I'm still meditating on this. The reason I didn't do

Re: [PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm_proc_read.

2007-01-31 Thread Duncan Sands
> Couldn't the cxacru instance pointer to the proc_read function be set to NULL > before unloading? The problem is reads that started (on some other CPU) before you started shutting things down (eg: but setting this to null or whatever other method you like) and only finish after you have

Re: [PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm_proc_read.

2007-01-31 Thread Duncan Sands
> usbatm only outputs basic information via the per-device /proc/net/atm/ file, > this patch allows the device specific USB ATM drivers to replace the > atm_proc_read function with their own. I'm still meditating on this. The reason I didn't do this originally is because of potential problems

Re: [PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm_proc_read.

2007-01-31 Thread Duncan Sands
usbatm only outputs basic information via the per-device /proc/net/atm/ file, this patch allows the device specific USB ATM drivers to replace the atm_proc_read function with their own. I'm still meditating on this. The reason I didn't do this originally is because of potential problems

Re: [PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm_proc_read.

2007-01-31 Thread Duncan Sands
Couldn't the cxacru instance pointer to the proc_read function be set to NULL before unloading? The problem is reads that started (on some other CPU) before you started shutting things down (eg: but setting this to null or whatever other method you like) and only finish after you have

Re: [PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm_proc_read.

2007-01-31 Thread Simon Arlott
On 31/01/07 14:48, Duncan Sands wrote: usbatm only outputs basic information via the per-device /proc/net/atm/ file, this patch allows the device specific USB ATM drivers to replace the atm_proc_read function with their own. I'm still meditating on this. The reason I didn't do this

[PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm_proc_read.

2007-01-30 Thread Simon Arlott
usbatm only outputs basic information via the per-device /proc/net/atm/ file, this patch allows the device specific USB ATM drivers to replace the atm_proc_read function with their own. Signed-off-by: Simon Arlott <[EMAIL PROTECTED]> --- drivers/usb/atm/usbatm.c |3 +++

[PATCH 1/3] usbatm: Allow sub-drivers to handle calls to atm_proc_read.

2007-01-30 Thread Simon Arlott
usbatm only outputs basic information via the per-device /proc/net/atm/ file, this patch allows the device specific USB ATM drivers to replace the atm_proc_read function with their own. Signed-off-by: Simon Arlott [EMAIL PROTECTED] --- drivers/usb/atm/usbatm.c |3 +++