[linux-usb-devel] [RFC] Conexant AccessRunner ADSL USB modem
driver
Roman Kagan
rkagan at mail.ru
Sat Jan 15 18:37:12 EST 2005
Hi Duncan,
On Sat, 2005-01-15 at 13:37 +0100, Duncan Sands wrote:
> I agree that it makes more sense to only create the ATM device when the modem is fully
> initialised.
Great. This should simplify the initialisation stuff dramatically,
making the complicated interaction between usb_atm and cxacru / speedtch
unnecessary.
> But yes, it would
> be better if the ATM layer was fully integrated into the driver model. Maybe Chas can tell
> us more about that.
On a brief look I've got the impression that adding a very basic driver
model support, with hotplug and device names only in /sys/class/atm,
shouldn't be too hard. If ATM folks are planning the full-fledged
driver model support, that'd be even better of course.
> Also, I'm wondering if the driver model has any special stuff for
> drivers belong to more than one subsystem (ATM, USB).
Umm, I wouldn't go for it. The USB device is created upon successful
enumeration by the USB subsystem; it may _provide_ an ATM device later
on when and if the firmware is loaded. That's more like a "has a"
relationship, rather than an "is a" one.
Cheers,
Roman.
More information about the Usbatm
mailing list