lkml.org 
[lkml]   [2000]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PCI probing in slot order?
Hi Jeff!

> Probing in slot order has the advantage of being an ordering which is
> known and obvious to the user. It is counter intuitive to have cards in
> slots 1, 2, 3 get attached to drivers in the order 3, 1, 2, for example.
>
> Further, several kernel subsystems have their own command line options
> to allow the user to specify an arbitrary order. It might be useful to
> replace or supplement that with slot-based ordering.

Of course, but we need to solve it for modules as well :-(

I think that we should define some way of matching PCI slots with specific
device names, so that the user can define things like `eth0 is the ethernet
card in PCI slot 00:01' and so on. Devfsd seems to be the ideal place for
such things, we just need to make devfs export the PCI location of the cards
to user space.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"Disc space, the final frontier!"

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

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.069 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site