Re: [PATCH] USB: usbfs: deprecate and hide option for !embedded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 22, 2009 at 18:50, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:

> I don't know why the "usb_host" directory is in the middle; it
> contains nothing but the usb_hostN subdirectory.

It's the "glue directory" which all class devices have, that have a
bus device as the parent. They prevent name clashes of device names
and attribute names. Like people complained, that they could not
rename their network interface to "irq", because the pci dev has this
as an attribute. :)

> Finally, usb_hostN itself doesn't contain much of interest.  For EHCI
> controllers, the "companion" attribute is created there.  Otherwise I
> don't believe it contains anything useful.  (It used to contain
> debugging files, but they have been moved to debugfs.)

Yeah, that's what I though, I guess, they should just be deleted. Just
like the upcoming patches for scsi which remove all the useless
devices, which do not do anything but create useless empty directories
and a bunch of files to point to the real devices.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux