Re: Can't get ISA PCnet card to work with 20000127-current

2000-02-04 Thread Vallo Kallaste

On Thu, Feb 03, 2000 at 12:45:45PM -0500, "Matthew N. Dodd" [EMAIL PROTECTED] wrote:

 Get me a copy of your boot output and the output of 'pnpinfo'.

Sorry for the delay, I had other things to cover first. For the record,
got the cards working by brutally removing some PnP related includes and
so on in the kernel source. I still don't have even a bit of clue what I
did, but the changes removed PnP support, at least partially.
Note, the cards are some sort of Tulip ones, that's all info I got.
Here's the info:

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-2127-CURRENT #0: Wed Feb  2 22:47:51 EET 1994
root@:/usr/src/sys/compile/Mari
Timecounter "i8254"  frequency 1193134 Hz
CPU: i486DX (486-class CPU)
real memory  = 16777216 (16384K bytes)
avail memory = 13692928 (13372K bytes)
Preloaded elf kernel "kernel" at 0xc02a4000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02a409c.
VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c50eb (c00050eb)
VESA: S3 Incorporated. 86C801/805 
npx0: math processor on motherboard
npx0: INT 16 interface
isa0: ISA bus on motherboard
atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console on isa0
sc0: VGA 8 virtual consoles, flags=0x200
ata0 at port 0x1f0 irq 14 on isa0
ata1 at port 0x170 irq 15 on isa0
fdc0: NEC 765 or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: 1440-KB 3.5" drive on fdc0 drive 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16450
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16450
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: Parallel I/O on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
plip0: PLIP network interface on ppbus0
unknown0: TNCC-16 PNP at port 0x320-0x337 irq 10 drq 5 on isa0
unknown1: TNCC-16 PNP at port 0x300-0x317 irq 5 drq 3 on isa0
BRIDGE 981214, have 2 interfaces
ad0: 1039MB QUANTUM FIREBALL_TM1080A [2112/16/63] at ata0-master using ???
acd0: CDROM NEC CD-ROM DRIVE:283 at ata1-master using ???
Mounting root from ufs:/dev/ad0s1a



Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID TCI00d0 (0xd0006950), Serial Number 0x3664015a
PnP Version 1.0, Vendor Version 0
Device Description: TNCC-16 PNP

Logical Device ID: TCI00d0 0xd0006950 #0
Compatible Device ID: PNP828c (8c82d041)
I/O Range 0x320 .. 0x320, alignment 0x20, len 0x18
[not 16-bit addr]
DMA: channel(s) 5 
16-bit, bus master, , , Compatibility mode
IRQ: 10 IRQ: High true edge sensitive
IRQ: Low true level sensitive
End Tag

Successfully got 7 resources, 1 logical fdevs
-- card select # 0x0001

CSN TCI00d0 (0xd0006950), Serial Number 0x3664015a

Logical device #0
IO:  0x0320 0x0320 0x0320 0x0320 0x0320 0x0320 0x0320 0x0320
IRQ 10 0
DMA 5 0
IO range check 0x00 activate 0x01

Card assigned CSN #2
Vendor ID TCI00d0 (0xd0006950), Serial Number 0x3a64015a
PnP Version 1.0, Vendor Version 0
Device Description: TNCC-16 PNP

Logical Device ID: TCI00d0 0xd0006950 #0
Compatible Device ID: PNP828c (8c82d041)
I/O Range 0x300 .. 0x300, alignment 0x20, len 0x18
[not 16-bit addr]
DMA: channel(s) 3 
16-bit, bus master, , , Compatibility mode
IRQ: 5 IRQ: High true edge sensitive
IRQ: Low true level sensitive
End Tag

Successfully got 7 resources, 1 logical fdevs
-- card select # 0x0002

CSN TCI00d0 (0xd0006950), Serial Number 0x3a64015a

Logical device #0
IO:  0x0300 0x0300 0x0300 0x0300 0x0300 0x0300 0x0300 0x0300
IRQ 5 0
DMA 3 0
IO range check 0x00 activate 0x01
-- 

Vallo Kallaste
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Can't get ISA PCnet card to work with 20000127-current

2000-02-04 Thread Vallo Kallaste

On Fri, Feb 04, 2000 at 10:49:33AM -0500, "Matthew N. Dodd" [EMAIL PROTECTED] wrote:

  Sorry for the delay, I had other things to cover first. For the
  record, got the cards working by brutally removing some PnP related
  includes and so on in the kernel source. I still don't have even a bit
  of clue what I did, but the changes removed PnP support, at least
  partially. Note, the cards are some sort of Tulip ones, that's all
  info I got. Here's the info:
 
 And these cards attach to the 'lnc' driver with your fixes?

Yes.


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-2127-CURRENT #0: Thu Feb  3 23:30:26 EET 2000
vallo@tiiu:/usr/src/sys/compile/Mari
Timecounter "i8254"  frequency 1193120 Hz
CPU: i486DX (486-class CPU)
real memory  = 16777216 (16384K bytes)
avail memory = 13701120 (13380K bytes)
Preloaded elf kernel "kernel" at 0xc02a2000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02a209c.
VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c50eb (c00050eb)
VESA: S3 Incorporated. 86C801/805 
npx0: math processor on motherboard
npx0: INT 16 interface
isa0: ISA bus on motherboard
atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console on isa0
sc0: VGA 8 virtual consoles, flags=0x200
ata0 at port 0x1f0 irq 14 on isa0
ata1 at port 0x170 irq 15 on isa0
fdc0: NEC 765 or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: 1440-KB 3.5" drive on fdc0 drive 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16450
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16450
lnc0 at port 0x300-0x317 irq 5 drq 3 on isa0
lnc0: PCnet-ISA+ address 00:80:5a:01:64:3a
lnc1 at port 0x320-0x337 irq 10 drq 5 on isa0
lnc1: PCnet-ISA+ address 00:80:5a:01:64:36
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: Parallel I/O on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
plip0: PLIP network interface on ppbus0
BRIDGE 981214, have 4 interfaces
-- index 1 lnc0 type 6 phy 0 addrl 6 addr 00.80.5a.01.64.3a
-- index 2 lnc1 type 6 phy 0 addrl 6 addr 00.80.5a.01.64.36
ad0: 1039MB QUANTUM FIREBALL_TM1080A [2112/16/63] at ata0-master using ???
acd0: CDROM NEC CD-ROM DRIVE:283 at ata1-master using ???
Mounting root from ufs:/dev/ad0s1a
-- 

Vallo Kallaste
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Can't get ISA PCnet card to work with 20000127-current

2000-02-04 Thread Matthew N. Dodd

On Fri, 4 Feb 2000, Vallo Kallaste wrote:
 lnc0 at port 0x300-0x317 irq 5 drq 3 on isa0
 lnc0: PCnet-ISA+ address 00:80:5a:01:64:3a
 lnc1 at port 0x320-0x337 irq 10 drq 5 on isa0
 lnc1: PCnet-ISA+ address 00:80:5a:01:64:36

Humm...  Well, I guess its time to convert if_lnc to newbus though I doubt
that it will happen before 4.0-R.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter | This Space For Rent  | ISO8802.5 4ever |



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Can't get ISA PCnet card to work with 20000127-current

2000-02-04 Thread Matthew N. Dodd

On Fri, 4 Feb 2000, Vallo Kallaste wrote:
 Sorry for the delay, I had other things to cover first. For the
 record, got the cards working by brutally removing some PnP related
 includes and so on in the kernel source. I still don't have even a bit
 of clue what I did, but the changes removed PnP support, at least
 partially. Note, the cards are some sort of Tulip ones, that's all
 info I got. Here's the info:

And these cards attach to the 'lnc' driver with your fixes?

--
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter | This Space For Rent  | ISO8802.5 4ever |



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Can't get ISA PCnet card to work with 20000127-current

2000-02-03 Thread Matthew N. Dodd

Get me a copy of your boot output and the output of 'pnpinfo'.

On Thu, 3 Feb 2000, Vallo Kallaste wrote:
 As the subject says, it's 2127-current snapshot which I tried to
 install on my old trusty 100Mhz 486 box. All went well except the two
 PCnet-ISA+ cards weren't recognized. This is an old machine with ISA and
 VL-bus, the cards are ISA and can be configured to PnP or legacy mode.
 Unfortunately even in legacy mode some kind of PnP remains so the cards
 attached as unknown[01]: with right resources shown at boot. I did put
 the lines:
 
 device lnc0 at isa? port 0x300 irq 5 drq 3
 device lnc1 at isa? port 0x320 irq 10 drq 5 
 
 in the kernel config so it seems the PnP is superior opposed to
 hardwiring and don't let the cards attach because there are no PnP
 support in if_lnc it seems. Pnpinfo shows right info for the two cards
 and they did work in the old July 1999 -current (with pnp support
 disabled in the kernel). Sorry I don't have the pnpinfo output and other
 necessary info at the moment, will post it when I get home.
 Are there workarounds for this problem or am I missing something?
 
 Thanks
 

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |   2 x '84 Volvo 245DL| ix86,sparc,pmax |
| http://www.jurai.net/~winter | This Space For Rent  | ISO8802.5 4ever |



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message