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:	Thu, 17 Mar 2011 21:24:49 +0000
From:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
To:	Greg KH <greg@...ah.com>
Cc:	Nicolas Pitre <nicolas.pitre@...aro.org>,
	Arnd Bergmann <arnd@...db.de>, andy.green@...aro.org,
	Linux USB list <linux-usb@...r.kernel.org>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: RFC: Platform data for onboard USB assets

On Thu, Mar 17, 2011 at 01:26:14PM -0700, Greg KH wrote:
> On Thu, Mar 17, 2011 at 08:18:35PM +0000, Mark Brown wrote:

> > It's going to be an off the shelf USB ethernet controller.  I'd be
> > astonished if the board-configurable device IDs weren't set from the
> > same SEPROM that the MAC address is so it'd just show up as a generic
> > chip of whatever kind.

> Huh?  All USB controllers you buy have the ability to set the vendor and
> product id, so you should always be able to key off of that.

> Isn't that the case here?

They generally the same facility that includes the ability to set the
MAC address so if one's not been provided it seems optimistic to expect
the other.

The way this is normally done is that the ethernet controller can be
attached to a SEPROM which it reads when it powers on.  This will
contain a number of device configuration parameters, including the
vendor IDs and the MAC address, which will be configured before the
device makes itself available on the bus.  If the system integrator has
omitted the SEPROM then the device will come up with defaults, usually
something like all zeros.
--
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