From owner-freebsd-hardware Tue Nov 5 22:51:20 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E14E737B404 for ; Tue, 5 Nov 2002 22:51:18 -0800 (PST) Received: from asgard.ecci.ucr.ac.cr (asgard.ecci.ucr.ac.cr [163.178.104.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 53A2743E4A for ; Tue, 5 Nov 2002 22:51:11 -0800 (PST) (envelope-from braulio@bsolano.com) Received: (qmail 10730 invoked from network); 6 Nov 2002 06:56:36 -0000 Received: from unknown (HELO azul) (208.165.59.25) by asgard.ecci.ucr.ac.cr with SMTP; 6 Nov 2002 06:56:36 -0000 Message-ID: <001a01c28560$ddf46050$193ba5d0@azul> From: =?iso-8859-1?Q?Braulio_Jos=E9_Solano_Rojas?= To: "John Baldwin" Cc: References: Subject: Re: Intel PCI Modem Date: Wed, 6 Nov 2002 00:42:05 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello! On Monday, November 04, 2002 John Baldwin wrote: > > On 04-Nov-2002 Braulio José Solano Rojas wrote: > > Hi! > > > > On Thursday, October 31, 2002 John Baldwin wrote: > >> > >> On 31-Oct-2002 Braulio José Solano Rojas wrote: > >> > Hello! > >> > > >> > I have an "Intel V92 HaM Data Fax Voice" Modem. It is a hardware based > >> > modem. Mi pnpbios recognizes it as "Simple COMM. controler IRQ12". > >> > > >> > I would like to hack sio.c in order to get it working. Therefore I > > think I > >> > should add an entry to pci_ids[] like: > >> > {hex x, "Intel V92 HaM Data Fax Voice", hex y} > >> > > >> > But I do not know what are hex x and hex y, or if it is going to work. > >> > >> The 'x' is 0x40001813. To get the 'y', you need to do a boot -v > >> and send the output here. > > I have tried with these: > > {0x40001813, "Creatix V.90 HaM Modem", 0x10} > > {0x40001813, "Creatix V.90 HaM Modem", 0x14} > > > > If I do a boot -v I get this: > > found -> vendor=0x1813, dev=0x4000, revid=0x02 > > class=07-80-00, ndrtype=0x00, mfdev=0 > > subordinatebus=0 secondarybus=0 > > intpin=a, irq=12 > > map[10]: type 1, range 32, base df000000, size 12 > > map[14]: type 1, range 32, base 000d8000, size 8 > > > > I also have added to my kernel configuration file option > > PCI_ENABLE_IO_MODES. > > You want to use the 0x14 version. Does it work? No it does not work. I have tried with: device sio2 at isa? port IO_COM3 irq 12 on my kernel configuration file and with: device sio2 at pci? port IO_COM3 irq 12 without success. > > May be, I should add this modem to src/sys/dev/puc/pucdata.c. > > Unless it has multiple serial ports on it I would just stick it > in sio_pci.c. Where is this file? I can not find it. Do I have to add something more than {0x40001813, "Creatix V.90 HaM Modem", 0x14}in sio.c? If yes, what and where? Is the entry for sio2 in my kernel configuration file fine? I appreciate your help. Best regards, Braulio Solano To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message