Repost: 2 sitove karty v jednom kompu
Jan Kasprzak
kas na ics.muni.cz
Neděle Říjen 20 14:07:18 CEST 1996
Dalsi zprava, kterou listserver odmitnul. Posilam jeste jednou:
: > Potreboval bych pouzivat dve sitove karty. Ale linux
: > mi pri bootu detekuje jenom jednu. Nevite nekdo co je
: > treba udelat, aby poznal i tu druhou?
:
: (To uz je skoro FAQ...) Existuji dve moznosti: budto
: alespon jeden z driveru instalovat jako modul nebo lehce
: oeditovat soubor /usr/src/linux/drivers/net/Space.c,
: konkretne v radcich
:
: 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 };
:
: pro prislusna zarizeni prepsat 0xffe0 na 0.
:
: Martin
FAQ to urcite je. Viz NET-2-HOWTO.
Mozna taky staci ether=0 ether=0 pri bootovani
jadra. Anebo vnutit konfiguraci pri bootu rucne (a stanovit
tak jasne, o ktera zarizeni ma jit):
ether=<irq0>,<io0>,eth0 ether=<irq1>,<io1>,eth1
-Yenya
--
Jan "Yenya" Kasprzak <kas na muni.cz> http://www.fi.muni.cz/~kas/
[[ This message was sent from my home machine running Linux. ]]
[[ Visit the Czech Linux Homepage at http://www.fi.muni.cz/~kas/linux/ ]]
Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;) --Linus Torvalds
Další informace o konferenci Linux