LWN.net Logo

[patch 2.6.0-test6] usbcore and driver model (0/3)

From:  David Brownell <david-b@pacbell.net>
To:  Greg KH <greg@kroah.com>, linux-usb-devel@lists.sourceforge.net
Subject:  [linux-usb-devel] [patch 2.6.0-test6] usbcore and driver model (0/3)
Date:  Tue, 07 Oct 2003 13:10:02 -0700

Following this message are three related patches:

    - Use interface.dev.driver instead of interface.driver,
      updating usbcore to use device_{bind,release}_driver.

    - Percolate that change through usbfs.

    - Updates "usbnet" accordingly ... some other drivers
      may need corresponding changes (audio, cdc-acm).

The previous scheme duplicated driver model functionality,
and the state didn't appear right in sysfs either.  This
is a minor code shrink.

I suspect these aren't ready to merge yet, but they've
behaved in light testing.  The scanner and usb-serial
driver look like they'd need different sorts of changes,
maybe grabbing the usb writelock when the release the
driver bindings they've claimed.

So this is a "feedback please".  Essentially all of
the changes are consequences of the first one, to remove
usb-internal state duplicating driver model state.

- Dave






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds