On Sun, Jan 19, 2003 at 12:05:54PM +0100, Oliver Neukum wrote: > Am Sonntag, 19. Januar 2003 06:36 schrieb Matthew Dharm: > > Does anyone besides me find it a bit odd that we bind drivers to an > > interface, yet need to pass the device pointer to functions like > > usb_control_msg()? > > Physically, you send the URB to a device, so why would we hide that?
Well, yes... but what about combination devices? usb-storage and PPP link (like some PDA-type units), for example. Drivers don't deal in devices, they deal in interfaces. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver A: The most ironic oxymoron wins ... DP: "Microsoft Works" A: Uh, okay, you win. -- A.J. & Dust Puppy User Friendly, 1/18/1998
msg10873/pgp00000.pgp
Description: PGP signature