linux-mips
[Top] [All Lists]

[PATCH] EISA bus support on Indigo-2

To: linux-mips@oss.sgi.com
Subject: [PATCH] EISA bus support on Indigo-2
From: Marc Zyngier <mzyngier@freesurf.fr>
Date: 19 Jul 2002 19:05:54 +0200
Cc: Ralf Baechle <ralf@oss.sgi.com>
Organization: Metropolis -- Nowhere
Reply-to: mzyngier@freesurf.fr
Sender: owner-linux-mips@oss.sgi.com
Hi all,

I found some time to update my basic EISA support for the Indigo-2
patch, so here it is (only works in PIO mode).

Performance is much better that what it was two months ago, and is
stable for my very basic usage (Indigo-2 as a router... yeah right).

Here is a sample boot :

ARCH: SGI-IP22
PROMLIB: ARC firmware Version 1 Revision 10
CPU: MIPS-R4400 FPU<MIPS-R4400FPC> ICACHE DCACHE SCACHE 
CPU revision is: 00000450
FPU revision is: 00000500
Primary instruction cache 16kb, linesize 16 bytes.
Primary data cache 16kb, linesize 16 bytes.
Secondary cache sized at 1024K linesize 128 bytes.
Linux version 2.4.19-rc1 (maz@lazy) (gcc version 2.95.4 20011002 (Debian 
prerelease)) #84 Thu Jul 18 20:52:19 CEST 2002
MC: SGI memory controller Revision 3
Determined physical RAM map:
 memory: 00001000 @ 00000000 (reserved)
 memory: 00001000 @ 00001000 (reserved)
 memory: 0020d000 @ 08002000 (usable)
 memory: 0000d000 @ 0820f000 (reserved)
 memory: 00524000 @ 0821c000 (usable)
 memory: 000c0000 @ 08740000 (ROM data)
 memory: 0b800000 @ 08800000 (usable)
On node 0 totalpages: 81920
zone(0): 36864 pages.
zone(1): 45056 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/sdb1 
EISA: Probing bus...
EISA: slot 2 : HWP1940 detected.
EISA: slot 3 : TCM5093 detected.
EISA: Detected 2 cards.
ISA support compiled in.
Calibrating system timer... 750000 [150.00 MHz CPU]
GIO: Scanning for GIO cards...
GIO: Card 0x7f @ 0x1f000000
GIO: Card 0x04 @ 0x1f400000
Console: colour dummy device 80x25
zs0: console input
Console: ttyS0 (Zilog8530), 9600 baud
Calibrating delay loop... 74.75 BogoMIPS
Memory: 190348k/195780k available (1519k kernel code, 5432k reserved, 172k 
data, 56k init, 0k highmem)

The machine currently runs with a 3c579 (EISA counterpart of the
3c509), and a HP100 10/100VG whose driver is not very happy on the
Indigo-2... Anyway, the 3Com card is perfectly OK and runs with zero
modification to the driver.

I still have to try an ISA card in this beast, but at least I can now
compile with ISA support (which was crashing the machine before...).

Patch is against 2.4.19-rc1 from CVS as of yesterday. I'd really love
to hear from someone about this (that is, if anyone cares at all...).

        M.

Attachment: ip22-eisa-2.4.19-rc1.patch
Description: basic eisa support for Indigo-2

-- 
Places change, faces change. Life is so very strange.
<Prev in Thread] Current Thread [Next in Thread>