Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2001 00:57:20 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        Gerhard Sittig <Gerhard.Sittig@gmx.net>, current@FreeBSD.ORG
Subject:   Re: linksys Etherfast.. broken?
Message-ID:  <3A8E3CF0.7DEF9B5F@elischer.org>
References:  <3A8E0D9C.261A0259@elischer.org>  <3A896E33.8AC84353@elischer.org> <3A89C231.D03793D4@westmarsh.com> <20010214211548.B15618@speedy.gsinet> <20010216211610.B20830@speedy.gsinet> <200102170700.f1H70rW84857@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote:
> 
> In message <3A8E0D9C.261A0259@elischer.org> Julian Elischer writes:
> : It looks to me like the interrupt vector is not being registered..
> : I'll try figut out what I've screwed up in the config.
> 
> timeouts usually mean one of two things.  With ed devices, they could
> be the new dlink based chips (fa-410, dlink etherfast, some linksys
> card) or you have a bad IRQ configured that another hunk of hardware
> is driving.

the thing that pisses me of is that this card DID WORK!
I tried the fa_select program.. it didn't help.

Msmith showed a proram once that showed the interrupt registrations
but I can't find it any more.

It's hard to see whether it registred the handler or not.
The other interrupt from the pccard bus is shouwn twice in vmstat -i
stray irq0          1        0
stray irq10         1        0  <------ 
ata0 irq14       9610        2
atkbd0 irq1      7364        1
psm0 irq12      98250       21
clk irq0       452252       99
sio1 irq10     112125       24 <-------

I don't quite understand how the pccard and card-bus are connected:

the dmesg says

pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> at device 4.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC p
ci int + CSC serial isa irq]
pcic-pci0: Legacy address set to 0x3e0
PCI Config space:
======= etc.
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
stat is 7f
stat is 7f
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
=====
sio-: sio0 already exists, using sio1 instead
pcic: I/O win 0 flags 11 2e8-2ef
pcic: I/O win 0 flags 1 2e8-2ef
sio1 at port 0x2e8-0x2ef irq 10 slot 0 on pccard0
pcic: I/O win 0 flags 11 2e8-2ef
sio1: type 16550A
/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-364
 $
/dev/vmmon: Module vmmon: initialized
bpf: vmnet1 attached
pcic: I/O win 0 flags 15 300-31f
pcic: I/O win 0 flags 5 300-31f
ed0 at port 0x300-0x31f irq 11 slot 1 on pccard1
pcic: I/O win 0 flags 15 300-31f
bpf: ed0 attached
ed0: address 00:e0:98:74:49:0d, type Linksys (16 bit) 
pid 288 (Xaccel): trap 12 with interrupts disabled
bpf: ng0 attached
========
so it looks like the TI chip is emulating the VLSI 82C146..
is that correct?
..

If anyone has an inspiron running -current that can run
an ed based ethernet card (on the top slot)
(especially a linksys etherfast,) I'd love to see
your configs and the /boot/device.hints files you are using..






> 
> The interrupt vector almost certainly is getting registered.  It just
> isn't being called.
> 
> Warner
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000-2001
---> X_.---._/  
            v


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8E3CF0.7DEF9B5F>