On Wed, 28 Feb 2007, Jon Smirl wrote: > On 2/28/07, David Brownell <[EMAIL PROTECTED]> wrote: > > On Tuesday 27 February 2007 7:58 pm, Jon Smirl wrote: > > > Linux seems to be missing a header file for the hub class. For example > > > if you look at the source for lsusb.c it is using a lot of hex > > > constants since there aren't symbols defined. > > > > As Alan observed, there *is* such a file, just not one for userspace. > > I'd be happy with a move from > linux/drivers/usb/core/hub.h > to > linux/include/linux/usb/hub.h > > Then it would be with the other class def files and I would have found it.
The file needs to be cleaned up first. It isn't very presentable, and parts of it would need to be protected with "#ifdef __KERNEL__" (the structure and function declarations for TTs). And the Port Indicator LED stuff should be moved into hub.c entirely. With those changes, I'd be in favor of moving it. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel