From owner-freebsd-stable Wed Feb 20 8:30:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 1237337B419 for ; Wed, 20 Feb 2002 08:29:45 -0800 (PST) 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 g1KGThi94995; Wed, 20 Feb 2002 09:29:44 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g1KGTbL79456; Wed, 20 Feb 2002 09:29:37 -0700 (MST) (envelope-from imp@village.org) Date: Wed, 20 Feb 2002 09:29:14 -0700 (MST) Message-Id: <20020220.092914.95094660.imp@village.org> To: bfoz@terrandev.com Cc: gnb@itga.com.au, stable@FreeBSD.ORG Subject: Re: Creative DI5631 pci modem on 4.5-R? From: "M. Warner Losh" In-Reply-To: <3C73CA91.A7EDEC3F@terrandev.com> References: <200202130507.QAA25777@lightning.itga.com.au> <3C73CA91.A7EDEC3F@terrandev.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <3C73CA91.A7EDEC3F@terrandev.com> Brandon Fosdick writes: : Gregory Bond wrote: : > : > > I have a Creative Labs DI5631 pci modem that I can't get to work in freebsd. : > > Is it possible to get this modem working? How do I do it? : > : > Add the IDs to the pci_ids[] ins sys/isa/sio.c (about line 580) and : > recompile your kernel. If the modem works, use send-pr to send a patch. : : sio.c needs some serious commenting. Where do I get the type and rid numbers : from? I'll include comments for pic_ids[] in my patch if somebody will tell me : what they should be. struct pci_ids { u_int32_t type; const char *desc; int rid; }; static struct pci_ids pci_ids[] = { { 0x100812b9, "3COM PCI FaxModem", 0x10 }, { 0x048011c1, "ActionTec 56k FAX PCI Modem", 0x14 }, { 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 }, { 0x01101407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 }, { 0x01111407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 }, + { 0x12345678, "Creative labs di5631", 0x10 }, { 0x00000000, NULL, 0 } }; Where 0x12345678 is obtained from pciconf -l and 0x10 is the BAR. If you don't know the BAR, try 0x10, 0x14 and 0x18. However, I'd bet a good dinner that your Creative Labs modem is not a 16550 device. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message