[PATCH] usbatm: Create sysfs link "device" from atm class device to usb interface.

2007-02-24 Thread Simon Arlott
There is currently no path from the ATM device in /sys to the USB device's interface that the driver is using; this patch creates a "device" symlink. It is then possible to get to the cxacru ADSL statistics (http://lkml.org/lkml/2007/2/23/328): /sys/class/atm/cxacru0/device $ ls *_rate

[PATCH] usbatm: Create sysfs link device from atm class device to usb interface.

2007-02-24 Thread Simon Arlott
There is currently no path from the ATM device in /sys to the USB device's interface that the driver is using; this patch creates a device symlink. It is then possible to get to the cxacru ADSL statistics (http://lkml.org/lkml/2007/2/23/328): /sys/class/atm/cxacru0/device $ ls *_rate *_margin