Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2011 16:57:03 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        Yuri <yuri@rawbw.com>, d@delphij.net, Xin LI <delphij@delphij.net>
Subject:   Re: How to use unrecognized COM port card?
Message-ID:  <201108161657.03574.jhb@freebsd.org>
In-Reply-To: <4E4ACAAD.3030506@rawbw.com>
References:  <4E4A0C81.7020501@rawbw.com> <201108161157.20890.jhb@freebsd.org> <4E4ACAAD.3030506@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, August 16, 2011 3:53:17 pm Yuri wrote:
> On 08/16/2011 08:57, John Baldwin wrote:
> > For multiport devices you will want to add an entry to 
sys/dev/puc/pucdata.c
> > and use the puc driver instead of patching uart directly.  Perhaps this:
> 
> John,
> 
> I did what you suggested:
> puc0: <WinChipHead Dual Port RS-232> port 0xe880-0xe887,0xe800-0xe807 
> irq 17 at device 1.0 on pci8
> 
> But it doesn't show up as a serial device and tty.

Hmmm, can you get devinfo -v output?  Specifically there should be two 
children of puc0 and they should have extra data specifying what type of port 
each child device is.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108161657.03574.jhb>