de4x5 driver in 2.1.116

Zlatko Calusic (Zlatko.Calusic@CARNet.hr)
19 Aug 1998 16:51:10 +0200


"David C. Davies" <davies@ultranet.com> writes:

[snip]
> --- linux-2.1.115/drivers/net/de4x5.c Wed Aug 12 17:00:29 1998
> +++ ../new/de4x5/srom/de4x5.c Fri Aug 14 14:56:11 1998
> @@ -2197,7 +2205,7 @@
> }
> }
>
> - if (loading_module) lastPCI = NO_MORE_PCI;
> + lastPCI = NO_MORE_PCI;
>
> return;
> }
>
> Zlatko, can you let me have a complete boot log showing all your devices
> as they're probed. Thanks.
>
> Linus, I'll issue a patch soon to include fixes for the above.
>

OK, I compiled 2.1.116 today. It has that small change above.

Result is:

eth0: DE500-BA at 0xec00 (PCI bus 0, device 18), h/w address 00:00:f8:07:76:51,
and requires IRQ10 (provided by PCI BIOS).
de4x5.c:V0.540 1998/7/5 davies@maniac.ultranet.com
eth1: region already allocated at 0xec00.

One extraneous line, still. But seems, you're on the good track.

Also, thanks to Gabriel and Linus, driver is perfectly compilable with
recent compilers.

Here is /proc/ioports, you requested, David:

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
0170-0177 : ide1
01f0-01f7 : ide0
0220-022f : soundblaster
0330-0333 : MPU-401 UART
0376-0376 : ide1
0378-037f : parport0
0388-038b : OPL3/OPL2
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
0620-0623 : sound driver (AWE32)
0778-077a : parport0
0a20-0a23 : sound driver (AWE32)
0e20-0e23 : sound driver (AWE32)
e800-e8be : aic7xxx
ec00-ec7f : DE500-BA (eth0)
ecd0-ecd7 : ide0
ecd8-ecdf : ide1

Also complete boot log. You can notice that I'm using a patch for PnP
support, but that doesn't change things. I doublechecked.

Linux version 2.1.116 (root@atlas.CARNet.hr) (gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)) #1 Wed Aug 19 09:28:47 CEST 1998
Console: colour VGA+ 80x25
Calibrating delay loop... 333.41 BogoMIPS
Memory: 61104k/65536k available (1396k kernel code, 392k reserved, 2580k data, 64k init)
POSIX conformance testing by UNIFIX
CPU: Intel Pentium MMX stepping 03
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
PnP-Linux support version 0.3 by Tom Lees <tom@lpsg.demon.co.uk>.
Searching for PnP-ISA devices...
Found card 'Creative SB AWE64 PnP'
3 PnP devices registered.
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP, IGMP
PCI: PCI BIOS revision 2.10 entry at 0xf6822
PCI: Using configuration type 1
PCI: Probing PCI hardware
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP,PS2,EPP,ECP,ECPEPP,ECPPS2]
parport0: detected irq 7; use procfs to enable interrupt-driven operation.
parport0: no IEEE-1284 device present.
Serial driver version 4.26 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
pty: 256 Unix98 ptys configured
lp0: using parport0 (polling).
PS/2 auxiliary pointing device detected -- driver installed.
Real Time Clock Driver v1.09
Non-volatile memory driver v1.0
Sound initialization started
<Sound Blaster 16 (4.16)> at 0x220 irq 5 dma 1,5
<Sound Blaster 16> at 0x330 irq 5 dma 0
<Yamaha OPL3 FM> at 0x388
AWE32-0.4.2c (RAM512k)
Sound initialization complete
loop: registered device at major 7
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xecd0-0xecd7, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xecd8-0xecdf, BIOS settings: hdc:pio, hdd:pio
hda: WDC AC22000L, ATA DISK drive
hdc: TOSHIBA CD-ROM XM-6102B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: WDC AC22000L, 1907MB w/256kB Cache, CHS=969/64/63, UDMA
hdc: ATAPI 24X CDROM drive, 256kB Cache
Uniform CDROM driver Revision: 2.13
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
(scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 17/0
(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi0) BIOS enabled, IO Port 0xe800, IRQ 11
(scsi0) IO Memory at 0xfedff000, MMAP Memory at 0xc482a000
(scsi0) Resetting channel
(scsi0) Downloading sequencer code... 413 instructions downloaded
ppa: Version 1.39a
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.0.20/3.2.4
<Adaptec AHA-294X Ultra SCSI host adapter>
scsi : 1 host.
(scsi0:0:-1:-1) Scanning channel for devices.
Vendor: FUJITSU Model: M2954ESP SUN4.2G Rev: 2545
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 3, lun 0
Vendor: ARCHIVE Model: Python 02635-XXX Rev: 567D
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
Vendor: YAMAHA Model: CDR400t Rev: 1.0c
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
scsi : detected 1 SCSI tape 1 SCSI cdrom 1 SCSI disk total.
sr0: disc change detected.
sr0: scsi3-mmc drive: 6x/6x writer xa/form2 cdda tray
(scsi0:0:3:0) Synchronous at 20.0MHz, offset 15.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8385121 [4094 MB] [4.1 GB]
eth0: DE500-BA at 0xec00 (PCI bus 0, device 18), h/w address 00:00:f8:07:76:51,
and requires IRQ10 (provided by PCI BIOS).
de4x5.c:V0.540 1998/7/5 davies@maniac.ultranet.com
eth1: region already allocated at 0xec00.
Partition check:
sda: sda1 sda2 sda3 sda4
hda: hda1 hda2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 64k freed
Adding Swap: 128988k swap-space (priority 0)
Adding Swap: 128484k swap-space (priority 0)
eth0: media is 100Mb/s full duplex.

-- 
Posted by Zlatko Calusic           E-mail: <Zlatko.Calusic@CARNet.hr>
---------------------------------------------------------------------
     Overweight is when you step on your dog's tail and it dies.

- 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.altern.org/andrebalsa/doc/lkml-faq.html