From owner-freebsd-hackers Mon Oct 15 1: 5:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from marimba.wcape.school.za (marimba-sat.wcape.school.za [196.34.234.124]) by hub.freebsd.org (Postfix) with ESMTP id E034C37B403 for ; Mon, 15 Oct 2001 01:05:12 -0700 (PDT) Received: from ukhokho.schoolnet.org.za ([196.14.22.9]) by marimba.wcape.school.za with esmtp (Exim 3.30 #1) id 15t2kE-000L9E-00 for freebsd-hackers@freebsd.org; Mon, 15 Oct 2001 10:05:06 +0200 Subject: Adding support for Duxbury PCI modem to FreeBSD 4.4 Date: Mon, 15 Oct 2001 10:02:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <9DCF7A9E7AD27A4F962A37F7E78607B10CFAEC@ukhokho.ct.schoolnet.org.za> X-MS-Has-Attach: content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 X-MS-TNEF-Correlator: Thread-Topic: Adding support for Duxbury PCI modem to FreeBSD 4.4 Thread-Index: AcFVUBX6wMbjl8FNEdWu5gBQ2rIL2g== From: "Peter van Heusden" To: 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 Hi all I've just installed FreeBSD 4.4, and also recently purchased a \Duxbury 56kpci modem (a real modem, not a winmodem). I'm now trying to get this to work with 4.4, so... I noticed that PCI modems are detected in /sys/isa/sio.c. I added the chip=20 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=20 to - how do I determine this? Thanks for any help (btw. this is my first attempt to add anything to the FreeBSD kernel, so please excuse any naive questions). Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message