How to initialize SMC2 for another console port ?

SangTae Ha stha at postech.edu
Sun Jun 18 23:12:14 EST 2000


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/





More information about the Linuxppc-embedded mailing list