Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2002 08:05:04 +0000
From:      Simon Dick <simond@irrelevant.org>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PCI  internial modems
Message-ID:  <20020103080504.GB428@irrelevant.org>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOIEBKCLAA.barbish@a1poweruser.com>
References:  <005a01c18e30$30a245c0$6600000a@ach.domain> <LPBBIGIAAKKEOEJOLEGOIEBKCLAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 02, 2002 at 04:40:23PM -0500, Joe & Fhe Barbish wrote:
> Having a lot of problems getting FBSD 4.4 to use internal pci modems.
> My modem is brand new with controller and dsp onboard (IE not a winmodem.)
> 
> I changed the sio2 and 3 with out disable in my kernel conf and compiled
> kernel
> this is what I found in my boot log with boot -v for verbose boot messages
> 
> found-> vendor=0x11c1, dev=0x0480, revid=0x00
>         class=07-03-03, hdrtype=0x00, mfdev=0
>         subordinatebus=0        secondarybus=0
>         intpin=a, irq=9
>         map[10]: type 1, range 32, base e3001000, size  8
>         map[14]: type 1, range 32, base 0000dc00, size  8
>         map[18]: type 1, range 32, base 0000e000, size  8
>         map[1c]: type 1, range 32, base 0000e400, size  3
> 
> pci0: <unknown card> (vendor=0x11c1, dev=0x0480) at 18.0 irq 9
> This is my zoom 56K pci plus modem that has onboard controller and dsp
> 
> sio0: irq maps: 0x41 0x51 0x41 0x41
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: irq maps: 0x41 0x49 0x41 0x41
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> sio2: configured irq 5 not in bitmap of probed irqs 0
> sio2: irq maps: 0x41 0x41 0x41 0x41
> sio2: probe failed test(s): 0 1 2 4 6 7 9
> sio2 failed to probe at port 0x3e8-0x3ef irq 5 on isa0
> sio3: configured irq 9 not in bitmap of probed irqs 0
> sio3: irq maps: 0x41 0x41 0x41 0x41
> sio3: probe failed test(s): 0 1 2 4 6 7 9
> sio3 failed to probe at port 0x2e8-0x2ef irq 9 on isa0
> 
> How can I get this unknown card reconized as com2 or com3
> and tell FBSD it's caau2?

if you do a pciconf -l and use the info that gives you on the card you
can add the details of the PCI modem to /usr/src/sys/isa/sio.c (I know
it says ISA, but that's where the sio code is kept on 4.x).

eg my PCI modem gives this in pciconf -l:
sio2@pci0:10:0: class=0x078000 card=0x0000151f chip=0x0000151f rev=0x00 hdr=0x00

and here's what I added to sio.c to get it working (in the pci_ids struct):
        { 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },

The third value is basically guesswork, 0x10 is normal, if that doesn't
work then try other numbers :)

Best of luck (and remember to submit the changes if it works :)

-- 
Simon Dick					simond@irrelevant.org
"Why do I get this urge to go bowling everytime I see Tux?"

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




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