From owner-freebsd-hackers Mon Oct 15 8:36:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id D407537B40A for ; Mon, 15 Oct 2001 08:36:04 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f9FFZxV04169; Mon, 15 Oct 2001 09:35:59 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id f9FFZw722167; Mon, 15 Oct 2001 09:35:58 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200110151535.f9FFZw722167@harmony.village.org> To: "Peter van Heusden" Subject: Re: Adding support for Duxbury PCI modem to FreeBSD 4.4 Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 15 Oct 2001 10:02:27 +0200." <9DCF7A9E7AD27A4F962A37F7E78607B10CFAEC@ukhokho.ct.schoolnet.org.za> References: <9DCF7A9E7AD27A4F962A37F7E78607B10CFAEC@ukhokho.ct.schoolnet.org.za> Date: Mon, 15 Oct 2001 09:35:58 -0600 From: Warner Losh 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 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. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message