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

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

 



Greg KH wrote:
> On Mon, Apr 27, 2009 at 11:28:12AM +0100, David Vrabel wrote:
>> Greg KH wrote:
>>> Hm, I just noticed that the wireless usb controllers put a number of
>>> files in the usb_host directory that they reside in.  Kay, care to poke
>>> into this to see if it's really needed or not?
>> The files are essential.  However on my systems they reside in the
>> device directory and not within usb_host/usb_hostN so I don't think they
>> need to be moved.
> 
> They do?  Are you sure they aren't just in the device that usb_hostN
> links to?

Yes, I'm sure.

Here's the output of tree on the host controller device.

/sys/devices/pci0000:00/0000:00:1c.0/0000:20:00.0/0000:20:00.0-1/
|-- capability_id
|-- driver -> ../../../../../bus/umc/drivers/whci-hcd
|-- pools
|-- power
|   `-- wakeup
|-- subsystem -> ../../../../../bus/umc
|-- uevent
|-- usb1
|   |-- 1-0:1.0
|   |   |-- bAlternateSetting
|   |   |-- bInterfaceClass
|   |   |-- bInterfaceNumber
|   |   |-- bInterfaceProtocol
|   |   |-- bInterfaceSubClass
|   |   |-- bNumEndpoints
|   |   |-- driver -> ../../../../../../../bus/usb/drivers/hub
|   |   |-- ep_81 -> usb_endpoint/usbdev1.1_ep81
|   |   |-- modalias
|   |   |-- power
|   |   |   `-- wakeup
|   |   |-- subsystem -> ../../../../../../../bus/usb
|   |   |-- supports_autosuspend
|   |   |-- uevent
|   |   `-- usb_endpoint
|   |       `-- usbdev1.1_ep81
|   |           |-- bEndpointAddress
|   |           |-- bInterval
|   |           |-- bLength
|   |           |-- bmAttributes
|   |           |-- dev
|   |           |-- device -> ../../../1-0:1.0
|   |           |-- direction
|   |           |-- interval
|   |           |-- power
|   |           |   `-- wakeup
|   |           |-- subsystem ->
../../../../../../../../../class/usb_endpoint
|   |           |-- type
|   |           |-- uevent
|   |           `-- wMaxPacketSize
|   |-- 1-1
|   |   |-- 1-1:3.0
|   |   |   |-- bAlternateSetting
|   |   |   |-- bInterfaceClass
|   |   |   |-- bInterfaceNumber
|   |   |   |-- bInterfaceProtocol
|   |   |   |-- bInterfaceSubClass
|   |   |   |-- bNumEndpoints
|   |   |   |-- driver -> ../../../../../../../../bus/usb/drivers/usbtest
|   |   |   |-- ep_01 -> usb_endpoint/usbdev1.2_ep01
|   |   |   |-- ep_81 -> usb_endpoint/usbdev1.2_ep81
|   |   |   |-- ep_83 -> usb_endpoint/usbdev1.2_ep83
|   |   |   |-- interface
|   |   |   |-- modalias
|   |   |   |-- power
|   |   |   |   `-- wakeup
|   |   |   |-- subsystem -> ../../../../../../../../bus/usb
|   |   |   |-- supports_autosuspend
|   |   |   |-- uevent
|   |   |   `-- usb_endpoint
|   |   |       |-- usbdev1.2_ep01
|   |   |       |   |-- bEndpointAddress
|   |   |       |   |-- bInterval
|   |   |       |   |-- bLength
|   |   |       |   |-- bmAttributes
|   |   |       |   |-- dev
|   |   |       |   |-- device -> ../../../1-1:3.0
|   |   |       |   |-- direction
|   |   |       |   |-- interval
|   |   |       |   |-- power
|   |   |       |   |   `-- wakeup
|   |   |       |   |-- subsystem ->
../../../../../../../../../../class/usb_endpoint
|   |   |       |   |-- type
|   |   |       |   |-- uevent
|   |   |       |   `-- wMaxPacketSize
|   |   |       |-- usbdev1.2_ep81
|   |   |       |   |-- bEndpointAddress
|   |   |       |   |-- bInterval
|   |   |       |   |-- bLength
|   |   |       |   |-- bmAttributes
|   |   |       |   |-- dev
|   |   |       |   |-- device -> ../../../1-1:3.0
|   |   |       |   |-- direction
|   |   |       |   |-- interval
|   |   |       |   |-- power
|   |   |       |   |   `-- wakeup
|   |   |       |   |-- subsystem ->
../../../../../../../../../../class/usb_endpoint
|   |   |       |   |-- type
|   |   |       |   |-- uevent
|   |   |       |   `-- wMaxPacketSize
|   |   |       `-- usbdev1.2_ep83
|   |   |           |-- bEndpointAddress
|   |   |           |-- bInterval
|   |   |           |-- bLength
|   |   |           |-- bmAttributes
|   |   |           |-- dev
|   |   |           |-- device -> ../../../1-1:3.0
|   |   |           |-- direction
|   |   |           |-- interval
|   |   |           |-- power
|   |   |           |   `-- wakeup
|   |   |           |-- subsystem ->
../../../../../../../../../../class/usb_endpoint
|   |   |           |-- type
|   |   |           |-- uevent
|   |   |           `-- wMaxPacketSize
|   |   |-- authorized
|   |   |-- bConfigurationValue
|   |   |-- bDeviceClass
|   |   |-- bDeviceProtocol
|   |   |-- bDeviceSubClass
|   |   |-- bMaxPacketSize0
|   |   |-- bMaxPower
|   |   |-- bNumConfigurations
|   |   |-- bNumInterfaces
|   |   |-- bcdDevice
|   |   |-- bmAttributes
|   |   |-- busnum
|   |   |-- configuration
|   |   |-- descriptors
|   |   |-- dev
|   |   |-- devnum
|   |   |-- driver -> ../../../../../../../bus/usb/drivers/usb
|   |   |-- ep_00 -> usb_endpoint/usbdev1.2_ep00
|   |   |-- idProduct
|   |   |-- idVendor
|   |   |-- manufacturer
|   |   |-- maxchild
|   |   |-- power
|   |   |   |-- active_duration
|   |   |   |-- autosuspend
|   |   |   |-- connected_duration
|   |   |   |-- level
|   |   |   |-- persist
|   |   |   `-- wakeup
|   |   |-- product
|   |   |-- quirks
|   |   |-- serial
|   |   |-- speed
|   |   |-- subsystem -> ../../../../../../../bus/usb
|   |   |-- uevent
|   |   |-- urbnum
|   |   |-- usb_endpoint
|   |   |   `-- usbdev1.2_ep00
|   |   |       |-- bEndpointAddress
|   |   |       |-- bInterval
|   |   |       |-- bLength
|   |   |       |-- bmAttributes
|   |   |       |-- dev
|   |   |       |-- device -> ../../../1-1
|   |   |       |-- direction
|   |   |       |-- interval
|   |   |       |-- power
|   |   |       |   `-- wakeup
|   |   |       |-- subsystem ->
../../../../../../../../../class/usb_endpoint
|   |   |       |-- type
|   |   |       |-- uevent
|   |   |       `-- wMaxPacketSize
|   |   |-- version
|   |   |-- wusb_cdid
|   |   |-- wusb_ck
|   |   `-- wusb_disconnect
|   |-- authorized
|   |-- authorized_default
|   |-- bConfigurationValue
|   |-- bDeviceClass
|   |-- bDeviceProtocol
|   |-- bDeviceSubClass
|   |-- bMaxPacketSize0
|   |-- bMaxPower
|   |-- bNumConfigurations
|   |-- bNumInterfaces
|   |-- bcdDevice
|   |-- bmAttributes
|   |-- busnum
|   |-- configuration
|   |-- descriptors
|   |-- dev
|   |-- devnum
|   |-- driver -> ../../../../../../bus/usb/drivers/usb
|   |-- ep_00 -> usb_endpoint/usbdev1.1_ep00
|   |-- idProduct
|   |-- idVendor
|   |-- manufacturer
|   |-- maxchild
|   |-- power
|   |   |-- active_duration
|   |   |-- autosuspend
|   |   |-- connected_duration
|   |   |-- level
|   |   `-- wakeup
|   |-- product
|   |-- quirks
|   |-- serial
|   |-- speed
|   |-- subsystem -> ../../../../../../bus/usb
|   |-- uevent
|   |-- urbnum
|   |-- usb_endpoint
|   |   `-- usbdev1.1_ep00
|   |       |-- bEndpointAddress
|   |       |-- bInterval
|   |       |-- bLength
|   |       |-- bmAttributes
|   |       |-- dev
|   |       |-- device -> ../../../usb1
|   |       |-- direction
|   |       |-- interval
|   |       |-- power
|   |       |   `-- wakeup
|   |       |-- subsystem -> ../../../../../../../../class/usb_endpoint
|   |       |-- type
|   |       |-- uevent
|   |       `-- wMaxPacketSize
|   `-- version
|-- usb_host
|   `-- usb_host1
|       |-- device -> ../../../0000:20:00.0-1
|       |-- power
|       |   `-- wakeup
|       |-- subsystem -> ../../../../../../../class/usb_host
|       `-- uevent
|-- uwb_rc -> ../0000:20:00.0-0/uwb_rc/uwb0
|-- version
|-- wusb_chid
|-- wusb_phy_rate
`-- wusb_trust_timeout

59 directories, 166 files

David
-- 
David Vrabel, Senior Software Engineer, Drivers
CSR, Churchill House, Cambridge Business Park,  Tel: +44 (0)1223 692562
Cowley Road, Cambridge, CB4 0WZ                 http://www.csr.com/
--
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