Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2010 15:28:31 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        "Douglas K. Rand" <rand@meridian-enviro.com>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Perle Speed4 LE 4 port serial card
Message-ID:  <201005191528.31200.jhb@freebsd.org>
In-Reply-To: <87y6ffhpfj.wl%rand@meridian-enviro.com>
References:  <871vd8j10f.wl%rand@meridian-enviro.com> <201005190916.46581.jhb@freebsd.org> <87y6ffhpfj.wl%rand@meridian-enviro.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 19 May 2010 11:38:40 am Douglas K. Rand wrote:
> John> Can you get pciconf -lb output for this device?
> 
> You bet.
> 
> I'm pretty sure these are the entries:

Looks like there are existing entries for these devices already:

	{   0x1415, 0x9501, 0xffff, 0,
	    "Oxford Semiconductor OX16PCI954 UARTs",
	    DEFAULT_RCLK,
	    PUC_PORT_4S, 0x10, 0, 8,
	},

	{   0x1415, 0x9511, 0xffff, 0,
	    "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function 1)",
	    DEFAULT_RCLK,
	    PUC_PORT_4S, 0x10, 0, 8,
	},

However, Perle decided to shift the device ID over to the subvendor ID 
instead.  I think you can just add a single entry like this:

	{	0x1155f, 0x0331, 0xffff, 0,
		"Perle Speed4 LE",
		DEFAULT_RCLK,
		PUC_PORT_4S, 0x10, 0, 8,
	},

I think though this might give you eight serial ports of which only 4 work.  
In that case, change the '0xffff, 0,' above to '0x1415, 0x9501,'.

-- 
John Baldwin



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