Subject: problems with autoconfiguring 3c509 cards on -current
To: None <current-users@NetBSD.ORG>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 01/26/1997 17:30:55
-----BEGIN PGP SIGNED MESSAGE-----
I recently got fed up with having the mcd0 driver trash my smc card
at 0x300. (which I forget to comment out half the time after some
major change to GENERIC causes me to start my kernel config file
again, or I resort to the install disks to fix something).
It usually results in a requirement to go through SMC's ridiculously
slow/large setup program to reset the ram base address.. I had a 3c509
around, so I substituted it instead. Next boot had my 509 and my ast
four port clone at the same irq.
I took a look at ioconf.c and suspected that perhaps the 509 should
configure *after* the ast. I tried rearranging things in that file,
but that didn't do the trick, so I moved the AST to irq 2/9, and was
happy. (it is a production-ish machine, so I didn't want to muck
around too long)
Shouldn't I get some complaint somewhere about this?
(no, I have no reason for the ast card at all, since I use only one
port, but com1/com2 are on a multifunction card which is going away
next week when the motherboard gets upgraded)
NetBSD 1.2_ALPHA (LOX) #3: Sat Aug 17 00:27:13 EDT 1996
mcr@lox.sandelman.ocunix.on.ca:/usr/src/sys/arch/i386/compile/LOX
CPU: i486DX (GenuineIntel 486-class CPU)
real mem = 7995392
avail mem = 5865472
using 123 buffers containing 503808 bytes of memory
mainbus0 (root)
isa0 at mainbus0
ep0 at isa0 port 0x280-0x28f irq 5: 3Com 3C509 Ethernet <---
ep0: aui/bnc/utp address 00:60:97:14:d5:e9
ast0 at isa0 port 0x1a0-0x1bf irq 5 <---
com3 at ast0 slave 0: ns16550a, working fifo
com4 at ast0 slave 1: ns16550a, working fifo
com5 at ast0 slave 2: ns16550a, working fifo
com6 at ast0 slave 3: ns16550a, working fifo
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37f irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 1549MB, 3148 cyl, 16 head, 63 sec, 512 bytes/sec <WDC AC21600H>
wd0: using 16-sector 16-bit pio transfers, lba addressing
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4040 netmask 4060 ttymask 40fa
changing root device to wd0a
:!mcr!: | Network security consulting and
Michael Richardson | contract programming
WWW: mcr@sandelman.ottawa.on.ca. PGP key available.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
iQBVAwUBMuvbFdTTll4efmtZAQGlzgH9F+jN3CbhJupqcwv2NjJhUZND8JnTCo7e
c4p3NIIlNET2pioDX0wO2TJPbbuEIU3SRA5wynEmGK48FUNcOYAGdA==
=0PF1
-----END PGP SIGNATURE-----