[Ilugc] pci slot mappings in Linux

  • From: shakthimaan@xxxxxxxxx (Shakthi Kannan)
  • Date: Tue Mar 25 11:19:43 2008

Hi,

--- On Tue, Mar 25, 2008 at 8:04 AM, Balu manyam <balu.manyam@xxxxxxxxx> wrote:
|  doing a search on the web , few folks have suggested to have a udev
|  rule(kernel version >=2.6.*) to bind mac adresss or device adresss to the
|  device logical name  -- hmm - there must be a simpler way to do this -
\--

That is the right way for 2.6 kernels. What is not simple in it? Add
to udev rules (for example):

# PCI device 0x1317:0x0985 (tulip)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:bf:99:ce:9e",
NAME="eth1"

---
|  especially in 2.4 kernels .............
\--

For 2.4, you can use hotplug scripts:
http://linux-hotplug.sourceforge.net/?selected=net

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

Other related posts: