Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 20:21:08 -0600
From:      =?iso-8859-1?Q?Braulio_Jos=E9_Solano_Rojas?= <braulio@bsolano.com>
To:        "WATANABE Kiyoshi" <aab10490@pop16.odn.ne.jp>
Cc:        <freebsd-hardware@freebsd.org>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Intel PCI Modem
Message-ID:  <002401c29104$a895c700$2f3ba5d0@azul>
References:  <3DC83FF5.A1337A9F@pop16.odn.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

On Wednesday, November 06, 2002 2:38 AM, WATANABE Kiyoshi wrote:
>
> On Thu, 31 Oct 2002 11:04:18 -0600, Braulio Jos$Bi (BSolano Rojas wrote:
> >
> > 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".
>
> AFAIK, Intel HaM (Host Accelerated Modem) is a sort of what is called
Winmodem.
>
> > And if I do pciconf -l:
> > none0@pci0:9:0: class=0x078000 card=0x00000000 chip=0x40001813 rev=0x02
hdr=0x00
>                             !!
>
> When subclass is 0x80 (defined as PCIS_SIMPLECOMM_OTHER),
> in most cases it means that the device is either Winmodem or IrDA.
>
>
> There are binary+source Intel HaM modem drivers for linux at:
>
>   http://developer.intel.com/design/modems/support/drivers_linux.htm
>
>   Intel-v92ham.tgz  -- Intel MD563X-HaM V.92 chipset
>   Intel-536ep.tgz   -- Intel 536EP V.92 chipset
>
> If you have experience in writing device driver,
> I think it is not so difficult to port it to FreeBSD.
>   It will take much time though.

I do not have experience on this.  However I would like to do it.  Where may
I find documentation on how to write a FreeBSD driver?

Best regards,

Braulio Solano


> On Wed, 6 Nov 2002 00:42:05 -0600, Braulio José Solano Rojas wrote:
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002401c29104$a895c700$2f3ba5d0>