Messages in this thread | | | Subject | Re: [PATCH net-next] myri10ge: allow per-board firmware overriding | From | David Dillow <> | Date | Sun, 19 Apr 2009 00:41:39 -0400 |
| |
On Sat, 2009-04-18 at 21:09 -0700, David Miller wrote: > From: David Dillow <dave@thedillows.org> > Date: Sat, 18 Apr 2009 20:56:57 -0400 > > > It seems like this could be done in user space, using the PCI bus ID as > > a key to select the firmware. > > PCI BUS ID's are not in any way unique, you would need to include the > PCI Domain as well.
I had that in mind, but I wasn't precise in my wording. I think that info is there as well. IIRC, and brief glance at the code suggests, that the uevent for the firmware requests gets the environment variable DEVPATH that would contains that info:
DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:09:01.0
Now I'm curious, so I'll probably re-verify that with udevmonitor, a recent kernel and the typhoon driver, since it is the only thing I have that requests firmware. But sometime after I sleep...
| |