Joel Sherrill
joel.sherrill at OARcorp.com
Wed Apr 4 15:46:51 UTC 2001
peter.o.mueller at gmx.de wrote:
>
> > > rtems_termios_open(major, 1, 0 /* arg */ &opllCallbacks);
> > >
> > > Is this the proposed way?
> >
> > Not really. When using libchip drivers, all you do is provide
> > configuration
> > information and possibly some register access routines. I would
> > recommend looking at the powerpc/dmv177/console for an example
> > configuration. It illustrates the power of this approach. That board
> > has a mixture of serial devices (68681 clone and Z8530) with each
> > chip being optional.
> Joel,
> we use the EFI332 bsp at the moment. It seems that this BSP does not use
> termios for its 332 cpu internal serial line (console). Is this a problem
> when I add some other serial devices using termios?
It shouldn't be but you need to avoid driver naming conflicts.
> Another thing that I do not understand:
> Who uses the driver table that I specify? Is it necessary to register this
> table somewhere in RTEMS?
There is a special version of console.c in libbsp/shared that uses the
table.
> Peter
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list