Date: Mon, 10 Feb 2003 14:29:52 +0300 From: "Sergey A. Osokin" <osa@freebsd.org.ru> To: soloviova@stroimontazh.spb.ru Cc: freebsd-stable@freebsd.org Subject: Re: Moxa Smartio C104H/PCI and pucdata.c Message-ID: <20030210112952.GF86005@freebsd.org.ru> In-Reply-To: <200302100728.h1A7S0s51950@unix1.jinr.dubna.su> References: <200302100728.h1A7S0s51950@unix1.jinr.dubna.su>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 10, 2003 at 10:28:00AM +0300, soloviova@stroimontazh.spb.ru wrote: > Hello! > > I have Moxa Smartio C104H/PCI card and FreeBSD 4.7-STABLE. This card not listed in sys/dev/puc/pucdata.c and it doesn't work by default. > I added the following to pucdata.c (diff -uw): > > linas# diff -uw sys/dev/puc/pucdata_orig.c sys/dev/puc/pucdata.c > --- sys/dev/puc/pucdata_orig.c Fri Jan 17 16:08:05 2003 > +++ sys/dev/puc/pucdata.c Sun Jan 26 22:39:05 2003 > @@ -861,6 +861,18 @@ > }, > }, > + /* Moxa Technologies Co., Ltd. PCI I/O Card 4S RS232/422/485 */ > + { "Moxa Technologies, Smartio C104H/PCI", > + { 0x1393, 0x1040, 0, 0 }, > + { 0xffff, 0xffff, 0, 0, }, > + { > + { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 }, > + { PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 8 }, > + { PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 8 }, > + { PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 8 }, > + }, > + }, > + > /* Moxa Technologies Co., Ltd. PCI I/O Card 8S RS232 */ > { "Moxa Technologies, C168H/PCI", > { 0x1393, 0x1680, 0, 0 }, > > and now it works. > Here is my Moxa related dmesg output: > > puc0: <Moxa Technologies, Smartio C104H/PCI> port > 0xa000-0xa00f,0x9c00-0x9c3f,0x9800-0x987f irq 11 at device 4.0 on pci2 > sio2: type 16550A > sio3: type 16550A > sio4: type 16550A > sio5: type 16550A > > Maybe this will be interesting for someone. Please, if it possible, make a patch against -CURRENT and send PR. Thanks. -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \ 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?20030210112952.GF86005>