  Mini-HowTo on using multiple Ethercards with Linux
  Don Becker, becker@cesdis.gsfc.nasa.gov
  v2.00
  앐Y, nakano@apm.seikei.ac.jp
  v2.00j3 22 May 1999

   Linux  2 ȏ̃C[TlbgA_v^F@
  łBy: { <http://ces-
  dis.gsfc.nasa.gov/linux/misc/multicard.html> ̖|łz

  1.  NCbNX^[g: hCoW[̏ꍇ

  1.1.  PCI hCo

  PCI foCXł͈SɎm (probe) ŝŁAȉ̂悤ȍs
  /etc/modules.conf ɒǉ邾 OK łBy: ł
  /etc/conf.modules łA݂ /etc/modules.conf ̕
  ̂ŁA󕶂ł͑Sď܂Bz

       alias eth1 tulip

  `tulip' ͎gĂC[T[J[hhCo̖OɕςĂB

  1.2.  ISA hCo

  ISA foCX̎m͊ȂƂ̂ŁAJ[h I/O AhX
  w肵Ȃ΂Ȃ܂B̃J[h̃hCoŗpꍇ
  ́AׂĂ I/O AhXw肷Kv܂Bȉ̍s
  /etc/modules.conf ɒǉĂB

        alias eth0 ne
        alias eth1 ne
        alias eth2 ne
        options ne io=0x280,0x300,0x220

  `ne' ͎gĂC[T[J[hhCo̖OɕςĂB

  2.  NCbNX^[g: J[lgݍ݂̃hCo

  WI Linux fBXgr[VĂVXeŁAfoCX
  hCoJ[lɑgݍ܂Ăꍇɂ́A /etc/lilo.conf Ɉȉ
  s lilo R}hs OK łB

       append = "ether=0,0,eth1 ether=0,0,eth2 ether=0,0,eth3"

  ȏAꂾłBɃu[gƂ Linux  2 ڂ̃C[TJ[
  hFĂ͂łB

  3.  hCoW[

  RedHat ̂悤ȃfBXgr[Vł́A[h\ȃfoCXhC
  oW[rIɗpĂ܂B̂悤ȏꍇ͏XŁA
  ̓fBXgr[VɂĈقȂ܂Bg̃fBXgr[
  Vlbg[NhCoW[ŗpĂ邩ǂ𒲂ׂ
  ɂ́A /proc/modules ĂB[hĂ郂W[S
  |[ĝŁAlbg[NW[邩TĂ݂ĂB

  foCXhCoW[́A 2̂ꂩɂă[h
  BЂƂ kerneld ƂvZXłB̓J[l̃lbg
  [NfoCXɑ΂v܂B modprobe łB
  ́AvꂽfoCXSĂ[h悤Ƃ̂ł (񐳂
  foCX΁Ał)B

  kerneld vZX͐ݒt@C /etc/modules.conf QƂ܂B
  ͓̋@\ɑ΂vƂɃ[hׂfoCXhCoL
  qĂ܂BC[T[lbghCȍꍇ́A@\̖O̓C^[
  tF[X̖OłB܂ "eth0" Ƃ "eth1" ƂłBhCo
  [h邽߂ɂ́A "eth*" hCo̖OɃ}bv (G
  CAX) Kv܂B (3c509 ȊO) ISA foCXł́A I/O
  AhXK^ĂB

  /etc/modules.conf ̗܂BvC}̃C^[tF[XƂ
  WD8013  I/O 0x300 ɎA 2  NE2000 A_v^ (I/O ͂ꂼ
  0x280  0x240) ǉVXeɑ΂āAꂼ `wd'  `ne' fo
  CXhCoW[[h悤ȐݒłB

       alias eth0 wd
       options wd io=0x300
       alias eth1 ne
       alias eth2 ne
       options ne io=0x280,0x240

  4.  gݍ݃hCo: ƂƂ̎dg

  ftHgł́ALinux ̃J[l̓C[TJ[h 1 FƂ
  ̎ms܂B̃C[TJ[hFɂ 3 ̕
  @܂BȉA₳ɕׂ܂B

  o  u[gɃJ[lɃp[^n

  o  NɏɃp[^n悤Ƀu[g[_ݒ肷

  o  drivers/net/Space.c ɂAJ[l̃lbgJ[he[u
     ύXB

  ʂ͂QԖڂ̕@ǂł傤Bŏ̂łB

  5.  u[g[_găp[^n

  ̐߂ł́AȂ Linux ̕Wu[g[_ł LILO gĂ
  ̂Ƃ݂ȂĘbi߂܂B

  Linux ̃J[ĺAu[gɃp[^󂯎邱Ƃł܂Bu[
  gɂ͌߂ȂݒJ[lɓn߂łBlbg[NA_v^
  ɊւẮAȉ̃p[^F܂B

       ether=<IRQ>,<IO-ADDR>,<PARAM1>,<PARAM2>,<NAME>

  ̎wɂ́A10 i, 8 i ('0'Ŏn܂鐔), 16 i ('0x'Ŏn
  鐔) gƂł܂BŏɌꂽȊÖ́A<NAME>
  (foCX) Ƃ݂Ȃ܂B󔒂̈ 0 Ƃ܂Bȗꂽ
  ́AftHg̐ݒ̂܂܂ɂȂ܂B

     IRQ
        ɂ IRQ ܂B\tgI IRQ w肪\ȃJ[h̏ꍇ
        ́Alɐݒ肳܂BWpXCb`ȂǂgĎw肷
        J[h̏ꍇɂ́Aw肵lĂB '0' ƃJ[
        hIRQ ǂ݂ɍs܂Aꂪs\ȏꍇ autoIRQ g
        ܂B

     IO-ADDR
        ̃Ggɂ́Am I/O AhX܂B
        '0' ƁAC[TJ[hŒʏgAhXSĒT
        B

        ʏ I/O AhẌ̗\}bvgĒTAhX
        ߂܂B I/O AhXw肵ꍇɂ͂̃}bv͖
        B̃foCX炱 IO ̈TȂ悤ɂɂ́A
        "reserve=<IO-ADDR>,<EXTENT>" p^gp܂B

     PARAM1,PARAM2
        ƂƂ̃p^́AL^̃A_v^ (WD8013Ȃ)
        ŁAAhXw肷邽߂ɎgĂ܂Bł́Ah
        CoŗL̃p^w肷邱Ƃł悤ɊgĂ܂B

     NAME
        `ĂfoCXĂBWI kernel ł́A
        eth0, eth1, eth2, eth3 `Ă܂Bق̃foCX (PPP
        Ƃ SLIP Ȃ) `Ă邩܂񂪁A̗͑p
        rŗp܂B

  LILO ł̃u[gp[^J[lɓnɂ́A2 ̕@
  ܂BЂƂ̓u[gC[W̖Oɑď@łB̗ł 4
  ̃J[hCɎw肵Ă܂B

       linux ether=0,0,eth1 ether=0,0,eth2 ether=0,0,eth3

  u[g̓xɓ͖͂̂ʓ|łA܂̕@ł͖lu[
  głȂȂĂ܂܂BL̃p[^ɗLɂ邱Ƃ
  ܂B LILO ̃RtBM[Vt@C /etc/lilo.conf 
  append sɂĂw肵A lilo sĕύXLɂ܂B

       append = "ether=0,0,eth1 ether=0,0,eth2 ether=0,0,eth3"

  6.  J[lύX

  ܂܂ł̕@ŃVXe̐ݒ肪ł̂łAJ[l̕ύX͂
  ǂł傤B\[XςƂ͑킩ȂłAJ[l
  Abvf[g鎞̍̌ɂȂ肩˂܂BłA
  ̕@Ƃ邵Ȃꍇ܂B

  o  Sȏ̃foCXLɂKv (ÂJ[l
     drivers/net/Space.c ɂ eth0...eth3 ̃Gg܂)

  o  m̑ΏۂƂA_v^̎ނ𐧌 (̂܂܂ł̓J[h
     F鎞ɕʂ̃J[hƊԈĂ܂ꍇȂ)

  o  ethN ȊÕfoCX (N ͐) gꍇ

  J[lύXꍇ drivers/net/Space.c ҏWāAKvȒl}
  ܂BVfoCXꍇɂ chain ؂Ȃ悤ɒӂ
  ĂB\[XɊɂ郊XgQlɂĂB

  7.  ̃foCXɑ΂钍

  7.1.  PCI J[h

  PCI ( EISA) ̃J[hł́Am͈SK؂ɍs܂B
  ĂقƂǂ PCI foCXhCóAɃp[^ǉw肵
  ȂĂT|[gĂJ[hSČĂ܂BO ISA 
  PCI ̗̃J[hT|[gfoCXhCołB̓Iɂ
  NE2000 Ɛ̂ LANCE/PCnet hCołB

  7.2.  LANCE/PCnet ̃J[h

  v1.2.13 ȑÕJ[lł́A LANCE hCo̓̒ʃAhXɓ
   DMA obt@KvƂĂ܂B LANCE ̎m͑
  ̃lbg[NfoCXɐ旧čs܂B̃J[h̗_́A
   LANCE J[ȟmIɍs邱Ƃł (܂A̕
  ƂƕsvȂ킯ł)B_́ALANCE ̃hCo LILO n
  p^ (IRQ Ȃ) 󂯎ȂƂłB

  7.3.  ISA [h 3c509

  3c509 ͓Ɠ̎dlɂȂĂAISA oX̒TɈSɍsȂ
  Ƃł܂B ISA Plug-and-Play Ɏ (Ăi)A
  activation JjYpĂ܂B͑f炵̂łA
  cOȂ炱̒T@͑̃J[h̎@Ƃ܂邱Ƃł
  ܂B

  ̃J[hł͈ȉ̂ƂɒӂĂFǂ̃J[hwԖځxɔF
  ̂́AȒPɂ͂킩܂BF鏇Ԃ̓C[Tlbg
  HW AhXɂ܂B܂łC[TlbgAhXJ[
  h eth0 ɂȂA eth1... Ƃ悤ɂȂ킯łB eth0 ̃J[
  h΁Aꂼ̔ԍЂƂ邱ƂɂȂ܂B

  ֘A܂AɒTJ[h܂ܖɂ邱Ƃ͂ł܂
  B܂ EEPROM ł̐ݒƈႤ I/OAhX^IRQ ŃJ[hLɂ
  ÃAhXŗLɂ邱Ƃł܂B

  [|Ҏӎ]

  { 2.0 ɍXVɂāA삳͂ JF-ML ̊F܂ɗL
  vȃRg܂B肪Ƃ܂B

