lkml.org 
[lkml]   [2000]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject3c509.c / Multiple cards problem
Hi -
I am having trouble with the Linux kernel 3COM 3c509 driver, version 2.2.16.
I have two (ISA) 3C509B cards, and I cannot make them work. This is the output
I get from loading the driver:

#
eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 01 02 46 fa cc, IRQ 10.
3c509.c:1.16 (2.2) 2/3/98 becker@cesdis.gsfc.nasa.gov.
eth1: 3c509 at 0x300 tag 2, 10baseT port, address 00 50 04 89 82 b4, IRQ 10.
3c509.c:1.16 (2.2) 2/3/98 becker@cesdis.gsfc.nasa.gov.

This is /proc/ioports before i try
#
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
03bc-03be : parport0
03c0-03df : vga+
03e8-03ef : serial(auto)
03f6-03f6 : ide0
03f8-03ff : serial(auto)
2000-2007 : ide0
2008-200f : ide1

and /proc/interrupts
#
CPU0
0: 1156083 XT-PIC timer
1: 22456 XT-PIC keyboard
2: 0 XT-PIC cascade
7: 1069 XT-PIC parport0
8: 1 XT-PIC rtc
12: 666 XT-PIC PS/2 Mouse
13: 0 XT-PIC fpu
14: 108629 XT-PIC ide0
NMI: 0

I think the problem is that the cards are being allocated the same IRQ and IO.
In Documentation/networking/net-modules.txt it states...

3c509.c:
io = 0
irq = 0
( Module load-time probing Works reliably only on EISA, ISA ID-PROBE
IS NOT RELIABLE! Compile this driver statically into kernel for
now, if you need it auto-probing on an ISA-bus machine. )

So I tried to pass parameters to the module, like so:
modprobe 3c509 io=0x300,0x310 irq=10,11
modprobe 3c509 io=0x300 io=0x310 irq=10 irq=11

...but no dice: the module complains of 'unknown parameter io='.

Reading through the source, it appears that 3 parameters are recognsed - io,
xcvr and debug although I can't figure out what the last two do.

So... is it possible for me to use two of these (rather nice) cards at once,
or is this a WIP? Do I need to link 3c509.c statically?

Thanks for your time!
--
[- Bruce J.A. Nourish (email and finger) <kode187@galadriel.kode187.net> -]
[- GPG key ID BE062236 (75C2 6784 B600 F7F4 E35E A039 F62C 5AC7 BE06 2236) -]
[- Fax (775) 665-5938 Phone (480) 763-6970 Pgr (602) 201-3376, ICQ 38344897 -]
[- Web http://www.kode187.net - Postal: PO Box 51611, Phoenix AZ 85076-1611 -]
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.030 / U:2.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site