Date: Mon, 21 Jan 2019 08:59:12 +0100 From: Kurt Jaeger <lists@opsec.eu> To: Warner Losh <imp@bsdimp.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Multiport serial card Exsys EX-44388, where are the devices ? Message-ID: <20190121075912.GA91207@home.opsec.eu> In-Reply-To: <CANCZdfrVJthJGEedCNZ-nnt88Mi1xD-0HFaJXKpFGVyuPSvVhA@mail.gmail.com> References: <20190120183908.GC78316@home.opsec.eu> <201901201920.x0KJKIEL066339@pdx.rh.CN85.dnsmgr.net> <20190120205811.GA1258@fc.opsec.eu> <CANCZdfoBpt5vjzAfazX7ezLhEYRQfhEK5xPHGM3_SYy_QctUOw@mail.gmail.com> <CANCZdfrVJthJGEedCNZ-nnt88Mi1xD-0HFaJXKpFGVyuPSvVhA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! > >> > Well no longer needed as puc0 has found and allocated the > >> > device(s) which would of shown up had you done this before > >> > you fixed puc0 to find them. > >> The problem is that the found 4 uarts are not 8 uarts, and they do not > >> seem to work (tested using kermit), either 8-( > >> Any hints on how to debug this ? > > You need to look to get the register width right. > Hit send too quick... I was going to say you needed to make sure that the > register width and strides were right, but they look to be because NetBSD > has [...] > for this card. so there's 4 UARTs per bar, like you are seeing. You have > DEFAULT_RCLK * 8. COM_FREQ in NetBSD is defined: > sys/dev/ic/comreg.h:#define COM_FREQ 1843200 /* 16-bit baud rate divisor */ Ok, I modified it and rebooted. The behaviour is still the same. I'll retest more thoroghly in the next 48 hours. Any idea why uart(4) finds 4 without the puc modification and why it detects 8 uarts with 16750 with the modification ? -- pi@opsec.eu +49 171 3101372 One year to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190121075912.GA91207>