From owner-freebsd-questions Thu Jan 3 0: 8:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nelly.internal.irrelevant.org (irrelevant.demon.co.uk [158.152.220.121]) by hub.freebsd.org (Postfix) with ESMTP id 99BB137B417 for ; Thu, 3 Jan 2002 00:08:32 -0800 (PST) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.33 #1) id 16M2s4-0000n5-00; Thu, 03 Jan 2002 08:05:04 +0000 Date: Thu, 3 Jan 2002 08:05:04 +0000 From: Simon Dick To: Joe & Fhe Barbish Cc: freebsd-questions@freebsd.org Subject: Re: PCI internial modems Message-ID: <20020103080504.GB428@irrelevant.org> References: <005a01c18e30$30a245c0$6600000a@ach.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: (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