Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Nov 1999 15:41:11 +0100
From:      "D. Rock" <rock@dead-end.net>
To:        Warner Losh <imp@village.org>
Cc:        current@FreeBSD.ORG, mobile@FreeBSD.ORG
Subject:   Re: sio working
Message-ID:  <38258F87.F5BF0380@dead-end.net>
References:  <3824CCD1.C07B6A8@dead-end.net>  <3823540C.AE8ADA4F@dead-end.net> <199910230241.UAA26689@harmony.village.org> <199911061753.KAA22419@harmony.village.org> <199911070644.XAA03042@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote:
> 
> In message <3824CCD1.C07B6A8@dead-end.net> "D. Rock" writes:
> : device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
> : device          sio1    at isa? port IO_COM2 irq 3
> 
> These look good.  IIRC, the kernel I tested with also had:
> 
> device          sio2    at isa? port IO_COM3 irq 5 disabled
>         or
> device          sio2
> 
> in it, but I may be misremembering.  Just make sure that you use the
> config entry that gives you a port at 0x3e8, since most laptops have
> COM1 and COM2 which really cannot be disabled (well, the BIOS says you
> can disable them, but I've seen a few where the BIOS disabling is
> broken).
Already did that. I used a config entry for 0x3e8 and one for 0x2e8.
Windows 98 configured the card for IRQ 11 I/O 0x3e8 BTW.

Just some more pccard questions:

When will removing cards (and therefor also suspend/resume) work again?
If I remove the netcard or suspend the machine, the system will freeze.

I also get a NMI if I insert my netcard (DLink DE-660). If DDB is compiled
in I can just continue. Interesting the NMI wasn't generated during initial
configuration (via DHCP), but when I tried some ping tests:

pccard: card inserted, slot 0
sio2: irq maps: 0x105 0x105 0x105 0x105
sio2: probe failed test(s): 0 1 4 6 7 9
sio2: irq maps: 0x105 0x105 0x105 0x105
sio2: probe failed test(s): 0 1 4 6 7 9
pccard: card inserted, slot 1
ed0 at port 0x240-0x25f irq 15 slot 1 on pccard0
ed0: address 00:80:c8:8b:66:e9, type NE2000 (16 bit)
bpf: ed0 attached
NMI ... going to debugger
(
[the first two sio2 lines were with config index for port 0x3e8, the other
ones with config index for 0x2e8]

Daniel


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38258F87.F5BF0380>