From owner-freebsd-hackers Tue Oct 16 1:26:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from frere.schoolnet.org.za (frere.schoolnet.org.za [196.14.22.12]) by hub.freebsd.org (Postfix) with ESMTP id AD92A37B405 for ; Tue, 16 Oct 2001 01:26:37 -0700 (PDT) Received: from pvh by frere.schoolnet.org.za with local (Exim 3.16 #2) id 15tPYH-0000CS-00 for freebsd-hackers@FreeBSD.ORG; Tue, 16 Oct 2001 10:26:17 +0200 Date: Tue, 16 Oct 2001 10:26:17 +0200 From: Peter van Heusden To: freebsd-hackers@FreeBSD.ORG Subject: Re: Adding support for Duxbury PCI modem to FreeBSD 4.4 Message-ID: <20011016102617.A28699@schoolnet.org.za> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <9DCF7A9E7AD27A4F962A37F7E78607B10CFAEC@ukhokho.ct.schoolnet.org.za> <200110151535.f9FFZw722167@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110151535.f9FFZw722167@harmony.village.org> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 15, 2001 at 09:35:58AM -0600, Warner Losh wrote: > In message <9DCF7A9E7AD27A4F962A37F7E78607B10CFAEC@ukhokho.ct.schoolnet.org.za> "Peter van Heusden" writes: > : I noticed that PCI modems are detected in /sys/isa/sio.c. I added the > : chip > : id of the modem to the list of PCI devices (pci_ids), and now > : sio_pci_probe detects the modem, but the sioprobe() fails. Before I got > : digging into the sioprobe code (which seems rather complex), I'd like to > : verify that my pci_ids entry is correct. > : > : One thing I don't understand is the rid field of the pci_id structure. > : Some modems have this set to 0x10, others to 0x14. I'm not sure what to > : set it > : to - how do I determine this? > > look for the I/o space bar. this will be the the ones in the range > 0x10-0x24 that are odd (as in bit 0 is set). note, bars are 4 bytes > long (except for some 64 bit cards, but you can safely ignore that). > > Alternatively, > pciconf -r pciX:Y:Z 0x10:0x2f > and post it to the list. Thanks, Warner, but on further investigation, I discovered that the Duxbury modem is actually a re-branded Motorola SM56 - i.e. a WinModem. No wonder it doesn't work. Aaarrgh! I'm having a look at the Linux 2.4 kernel code, since they apparently have winmodem support (including for the SM56 chipset, which is now no longer supported by Motorola - double Aaaargh!), but will probably have to go with an external modem, since it seems to be impossible to get internal PCI non-winmodems. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message