> Matt, hoping you can help with this. > > My boss designed a board with two 8139 cards on board. > One is harwired to a connector intended to be eth0 > the other to a switch intended to be eth1. > > Naturally the reverse occurred. > If we can't fix this in BIOS he'll have to rewire. > > The question is why is the BIOS, which I assume is doing a > bus scan selecting the particular order? > What is it in the address or whatever lines which determines > the order.
For the why, you'll have to look at the kernel (and maybe the bios) source. I don't know if linux uses any of the BIOS calls for PCI configuration, or if it talks to the chipset hardware directly... Regardless, why not just reverse the bus scanning order in the driver? There are other drivers that do this (see the Tulip and aic7xxx drivers, for instance), so it shouldn't be too hard to mod the software, especially if you've got folks around wo are savy enough to be building custom hardware (and with the added incentive of covering their a** :-) The beauty of open-source :) Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
