From owner-freebsd-mobile Mon Sep 17 18:15: 5 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id A190F37B406 for ; Mon, 17 Sep 2001 18:14:58 -0700 (PDT) Received: from cain.gsoft.com.au (root@spare0.gsoft.com.au [203.38.152.114]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id KAA04488; Tue, 18 Sep 2001 10:44:15 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <1075.216.230.144.194.1000749348.squirrel@moe.datascan-site.com> Date: Tue, 18 Sep 2001 10:44:16 +0930 (CST) From: "Daniel O'Connor" To: "J. Rodrigo Fernandez M." Subject: Re: WinModem support? Cc: mobile@freebsd.org Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 17-Sep-2001 J. Rodrigo Fernandez M. wrote: > I have the same actiontec modem, but I had to edit manually the ltmdmsio.c > to add my modem, but I don't know how to get the right parameters. I used > scanpci and got the vendor id and the device_bgn but I don't know how to get > the device_end. device_bgn and device_end describe a range of device ID's. So my modem -> ltmdm0@pci8:8:0: class=0x078000 card=0x24001668 chip=0x044811c1 rev=0x01 hdr=0x00 chip=0x044811c1 Which matches -> { 0x11c1, 0x0440, 0x045c, 0x00, "Lucent Win Modem" }, ie the vendor ID is the last 2 bytes (0x11c1), the first 2 are the device ID (0x4481) which is between 0x0440 and 0x45c. I guess for now just make device_bgn = device_end.. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message