lkml.org 
[lkml]   [1999]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.3.18ac9 and tulip.c (?)
On Mon, 27 Sep 1999, Richard Dynes wrote:

> I've been chasing an apparent IRQ mapping bug in 2.3.18ac8, and saw
> Petr Vandrovec's report on tulip and ac9, so was trying the new patch
> to see if my difficulties went away.

Grasping at staws I looked at /proc/pci and saw the following in my
system:

Bus 0, device 8, function 0:
Ethernet controller: DEC DC21041 (rev 33).
IRQ 11.
Master Capable. Latency=64.
I/O at 0xe800 [0xe87f].
Non-prefetchable 32 bit memory at 0xea000000 [0xea00007f].

and /proc/iomem said:

ea000000-ea00007f : DEC DC21041

Since that memory region is 128 bytes I tried a patch similar to Mr.
Vandrovec:

--- tulip.c.old Mon Sep 27 16:29:00 1999
+++ tulip.c Mon Sep 27 16:35:56 1999
@@ -285,7 +285,7 @@
{ "Digital DC21040 Tulip", { 0x00021011, 0xffffffff },
TULIP_IOTYPE, TULIP_SIZEL, DC21040 },
{ "Digital DC21041 Tulip", { 0x00141011, 0xffffffff },
- TULIP_IOTYPE, TULIP_SIZE, DC21041 },
+ TULIP_IOTYPE, TULIP_SIZEL, DC21041 },
{ "Digital DS21140 Tulip", { 0x00091011, 0xffffffff },
TULIP_IOTYPE, TULIP_SIZEL, DC21140 },
{ "Digital DS21143 Tulip", { 0x00191011, 0xffffffff },
I'm obviously out of my depth here because, while the card is now
detected and works, the results are less than satisfactory. I'll step
out of this and let the real hackers work on things. I hope some of
this helpls someone. Look at this:

/proc/iomem now says:
[root@wr5z /proc]# cat iomem
00000000-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-03ffffff : System RAM
00100000-002006e7 : Kernel code
002006e8-002189d3 : Kernel data
c480e000-c480e07f : eth1
c4810000-c481007f : eth2
c4812000-c481207f : eth3
c4814000-c481407f : eth4
c4816000-c481607f : eth5
c4818000-c481807f : eth6
c481a000-c481a07f : eth7
e0000000-e3ffffff : VIA Technologies VT 82C597 Apollo VP3
e4000000-e4ffffff : ATI Mach64 GB
e6000000-e6000fff : ATI Mach64 GB
e8000000-e803ffff : DEC DC21041
e9000000-e900ffff : 3Com 3C900 10bTPO
ea000000-ea00007f : DEC DC21041
and I get the following output from dmesg:


FDC 0 is a post-1991 82077
00:10:4b:b3:8a:92, IRQ 11
8K word-wide RAM 3:5 Rx:Tx split, autoselect/10baseT interface.
Enabling bus-master transmits and whole-frame receives.
3c59x.c:v0.99M 9/3/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
eth1: Digital DC21041 Tulip rev 33 at 0xc480e000, 00:C0:F0:37:22:56, IRQ
11.
eth1: 21041 Media table, default media 0800 (Autosense).
eth1: 21041 media #0, 10baseT.
eth1: 21041 media #4, 10baseT-FD.
tulip.c:v0.91m 9/15/99 becker@cesdis.gsfc.nasa.gov
eth2: Digital DC21041 Tulip rev 33 at 0xc4810000, 00:C0:F0:37:22:56, IRQ
11.
eth2: 21041 Media table, default media 0800 (Autosense).
eth2: 21041 media #0, 10baseT.
eth2: 21041 media #4, 10baseT-FD.
tulip.c:v0.91m 9/15/99 becker@cesdis.gsfc.nasa.gov
eth3: Digital DC21041 Tulip rev 33 at 0xc4812000, 00:C0:F0:37:22:56, IRQ
11.
eth3: 21041 Media table, default media 0800 (Autosense).
eth3: 21041 media #0, 10baseT.
eth3: 21041 media #4, 10baseT-FD.
tulip.c:v0.91m 9/15/99 becker@cesdis.gsfc.nasa.gov
eth4: Digital DC21041 Tulip rev 33 at 0xc4814000, 00:C0:F0:37:22:56, IRQ
11.
eth4: 21041 Media table, default media 0800 (Autosense).
eth4: 21041 media #0, 10baseT.
eth4: 21041 media #4, 10baseT-FD.
tulip.c:v0.91m 9/15/99 becker@cesdis.gsfc.nasa.gov
eth5: Digital DC21041 Tulip rev 33 at 0xc4816000, 00:C0:F0:37:22:56, IRQ
11.
eth5: 21041 Media table, default media 0800 (Autosense).
eth5: 21041 media #0, 10baseT.
eth5: 21041 media #4, 10baseT-FD.
tulip.c:v0.91m 9/15/99 becker@cesdis.gsfc.nasa.gov
eth6: Digital DC21041 Tulip rev 33 at 0xc4818000, 00:C0:F0:37:22:56, IRQ
11.
eth6: 21041 Media table, default media 0800 (Autosense).
eth6: 21041 media #0, 10baseT.
eth6: 21041 media #4, 10baseT-FD.
tulip.c:v0.91m 9/15/99 becker@cesdis.gsfc.nasa.gov
eth7: Digital DC21041 Tulip rev 33 at 0xc481a000, 00:C0:F0:37:22:56, IRQ
11.
eth7: 21041 Media table, default media 0800 (Autosense).
eth7: 21041 media #0, 10baseT.
eth7: 21041 media #4, 10baseT-FD.
tulip.c:v0.91m 9/15/99 becker@cesdis.gsfc.nasa.gov
Partition check:


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.059 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site