> hello all,
>
> on a server i administrate we have two pci cards - one is DECtupis and
> the other VIA-rhino. on the boot up, the monolithic kernel detects both
> of the cards (it's given parameters from the lilo). the problem i have is
> how can i _force_ the kernel or drivers to accept the order in which i
> want them.
> for example if the append line in /etc/lilo.conf contains
> "ether=5,0xd000,eth0 ether=12,0xb800,eth1" i expect the cards to be in just
> this order. however, the via-rhino driver is run first and thus it gets
> eth0 and not eth1 as i wanted it.
> why are the parameters given to kernel ignored?
>
> p.s: i tried on 2.2.x and 2.0.3x
Why do you need this ?
How about identifying the cards in user space :
#!/bin/sh
ETH_A=`find_eth_by_MAC 00:56:56:78:d3:32:23`
ETH_B=`find_eth_by_MAC 02:84:56:78:45:32:62`
ETH_C=`find_eth_by_MAC 67:56:5c:fd:d3:32:64`
configure_first_eth_card $ETH_A
configure_second_eth_card $ETH_B
# leave the third unconfigured
# configure_first_eth_card $ETH_A
-------------
find_eth_by_MAC is a ( hipothetical ) program that returns the
name of an interface ( like eth0, eth1 ... ) based on it's MAC
or maybe some other criterium , that identifies the card.
-- David Balazic , student E-mail : 1stein@writeme.com | living in sLOVEnija home page: http://surf.to/stein Computer: Amiga 1200 + Quantum LPS-340AT--- 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/