epia-m (600mhz) -- /dev/ttyS1
Niki Waibel
niki.waibel at newlogic.com
Mon Nov 17 11:39:00 CET 2003
On 17-Nov-2003 Dave Ashley wrote:
>>setserial seems to be fine:
>
> In V1 the file to modify is src/superio/via/vt1211/setup_serial.inc
> That code sets up ttyS0 which is the VT1211's logical device 2. You
> want to add some similiar code for logical device 3 to get ttyS1 working.
>
> Assuming you want it to be at 2f8 you'd merge in these lines:
> OUTPNPADDR($7)
> OUTPNPDATA($3)
> /* set the enable in reg. 0x30 */
> OUTPNPADDR($0x30)
> OUTPNPDATA($0x1)
>
> /* Serial Port 2 Base Address (BEh) */
> OUTPNPADDR($0x60)
> OUTPNPDATA($0xbe)
> /* Serial Port 2 IRQ (03h) */
> OUTPNPADDR($0x70)
> OUTPNPDATA($0x3)
> /* Serial Port 2 Control */
> OUTPNPADDR($0xf0)
> OUTPNPDATA($0x2)
>
> ...then do the turn off pnp
> /* turn off PnP */
> OUTPNPADDR($0xaa)
>
> ...then duplicate the serial setup except the address goes from 3f8 -> 2f8
>
> That should do it.
thanks a lot.
i'll give it a try.
how do you know that it is VT1211's logical device #3?
niki
More information about the coreboot
mailing list