Date: Sat, 2 Aug 2003 13:12:21 +0300 From: Maxim Mazurok <maxim@km.ua> To: Thomas Moestl <t.moestl@tu-bs.de> Cc: freebsd-sparc@freebsd.org Subject: Re: sio(4) driver Message-ID: <20030802101221.GB77415@km.ua> In-Reply-To: <20030801170417.GC834@crow.dom2ip.de> References: <20030801132240.GA77415@km.ua> <20030801170417.GC834@crow.dom2ip.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 01, 2003 at 07:04:17PM +0200, Thomas Moestl wrote: >> I need to add 2 async serial port to my sparc. >> >> 5.1-RELEASE >> >> I add to kernel >> >> device puc >> options PUC_FASTINTR >> >> but i forgot add >> >> device sio >> >> after reboot i have in dmesg: >> >> puc0: <NetMos NM9835 Dual UART and 1284 Printer port> port 0x1030-0x103f,0x1020-0x1027,0x1018-0x101f,0x1010-0x1017,0x1008-0x100f,0x1000-0x1007 irq 4 at device 3.0 on pci1 >> >> card detected, but no have ports (no sio driver in kernel). >> I rebuild kernel width sio driver and after reboot have kernel trap. >> sio(4) diver are ported to sparc? > >It works only for ISA sio(4)s currently, due to some ISA specific code >that happens to work with PCI on other platforms. I have attached a >quick hack to fix this which I use on one of my machines, which should >get you around the problems (it also cointains things like console >support). >The rework which marcel@ is doing in the perforce repository will >fix this the right way. YES! it worked! puc0: <NetMos NM9835 Dual UART and 1284 Printer port> port 0x1030-0x103f,0x1020-0x1027,0x1018-0x101f,0x1010-0x1017,0x1008-0x100f,0x1000-0x1007 irq 4 at device 3.0 on pci1 sio0: type 16550A sio1: type 16550A BIG TNX! -- Maxim Mazurok (MMP2-RIPE)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030802101221.GB77415>