Date: Wed, 20 Feb 2002 09:29:14 -0700 (MST) From: "M. Warner Losh" <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? Message-ID: <20020220.092914.95094660.imp@village.org> In-Reply-To: <3C73CA91.A7EDEC3F@terrandev.com> References: <200202130507.QAA25777@lightning.itga.com.au> <3C73CA91.A7EDEC3F@terrandev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <3C73CA91.A7EDEC3F@terrandev.com> Brandon Fosdick <bfoz@terrandev.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020220.092914.95094660.imp>