lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 11 Mar 2011 16:51:53 +0000
From:	Andy Green <andy@...mcat.com>
To:	Alan Stern <stern@...land.harvard.edu>
CC:	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	Arnd Bergmann <arnd@...db.de>,
	Linux USB list <linux-usb@...r.kernel.org>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: RFC: Platform data for onboard USB assets

On 03/11/2011 04:45 PM, Somebody in the thread at some point said:

Hi -

> Or to put it another way...  With external, hot-plugged USB devices,
> there is no need to know "how it is wired".  The fact that it is on a
> USB bus is the only information necessary.  Why does anyone need to
> know more than this for on-board USB devices?

For example, the USB device is a chip with option pins.  On the board it 
is placed on, some of the option pins are tied in a particular way that 
impacts its actual function, but can't be seen from the chip itself. 
The driver covers all the options, but it needs to be told which mode 
the chip was wired up for.

Another example, it's a USB chip with GPIO pins, analogous to a I2C GPIO 
extender.  Some of the GPIO are wired to LEDs also on the board, which 
you want to expose as generic GPIO.  The board definition file is in a 
position to do all that because it knows what the board is and what it 
is wired up to.

That the USB chips in these examples are 'discoverable' has nothing to 
do with anything.  In fact the board definition file has knowledge about 
the "functional implemntation" of the instances of those chips -- just 
exactly those instances soldered to the board.  If you plugged another 
of these chips, the board definition file has nothing to say about it 
because they are not "on the board" and in-scope for it.

-Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ