From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7a329987fc171664 X-Google-Attributes: gid111c93,public From: cekim@my-dejanews.com Subject: Re: two pci NIC's, how do I?? Date: 1998/07/29 Message-ID: <6pls8m$lna$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 375825988 References: <6pj6qu$1d7$1@nnrp1.dejanews.com> Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Jul 29 01:01:10 1998 GMT Newsgroups: comp.os.linux.alpha X-Http-User-Agent: Mozilla/4.04 [en] (X11; I; Linux 2.0.32 i686) In article <6pj6qu$1d7$1@nnrp1.dejanews.com>, mkirby@iname.com wrote: > I'm thinking of buying another de450 and I was wondering how to configure it. > I've done it with Lilo on an x86 but I looked at Milo and found it doesn't > handle that stuff. So how do I load two pci cards of the same type??? I'm > guessing load them as modules, but I'm not sure. > > -----== Posted via Deja News, The Leader in Internet Discussion ==----- > http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum > If loadable modules work in your Alpha system (I have yet to try them since my move from 4.2 to 5.1) then you have two options: Pass params when loading the module (per D. Backer's web page), which wil lmean that you either have to script the loading of the module (rather than autoloading) or fingure ou how to give KERNELD the info needed so that it might pass it to the module when nedeed. The easier method as I see it is to edit Space.c in /usr/src/linux/drivers/net/ In that file you will find a section that looks like the mess below: static struct device eth7_dev = { "eth7", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, NEXT_DEV, ethif_probe }; static struct device eth6_dev = { "eth6", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, ð7_dev, ethif_probe }; static struct device eth5_dev = { "eth5", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, ð6_dev, ethif_probe }; static struct device eth4_dev = { "eth4", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, ð5_dev, ethif_probe }; static struct device eth3_dev = { "eth3", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, ð4_dev, ethif_probe }; static struct device eth2_dev = { "eth2", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, ð3_dev, ethif_probe }; static struct device eth1_dev = { "eth1", 0,0,0,0,0xffe0 /* I/O base*/, 0,0,0,0, ð2_dev, ethif_probe }; static struct device eth0_dev = { "eth0", 0, 0, 0, 0, ETH0_ADDR, ETH0_IRQ, 0, 0, 0, ð1_dev, ethif_probe }; All you have to do is edit the "0xffe0" in as many "eth(x)_dev" statments, as you need additional devices, to say "0" instead. Then recompile your kernel as normal. This tells the networking section to look for additional cards (more correctly xffe0 tells it not to. So in your case, you only need edit the "eth1_dev" section to do this. It will load the module you compile in to your kernel or if autoload is working it will do it for you once you have setup the netcfg in RH. Good luck, ekim -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum