How to initialize SMC2 for another console port ?
From: SangTae Ha <hidden>
Date: 2000-06-18 13:12:14
From: SangTae Ha <hidden>
Date: 2000-06-18 13:12:14
Hi all.
Since my team have purchased HIOX board for RPXLite, me and my friend working on HIOX SMC2 port on linux.
My question is ...
Are there any code for using HIOX SMC2 port as a secondary RS232 serial port (/dev/ttyS1) on linux?
I tried to set BCSR register, But I couldn't get the output (/dev/ttyS1).
/* uart.c */
#if 1
/* This enables HIOX Extension Board, I think */
*((uint *)0xfac00000) = ((uint)0x380F3C00);
#endif
We use MontaVista linux-2.2.13-7.
Thanks in advance.
Have a nice day.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/