[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: programming the serial port
> From: Bart Vandewoestyne [mailto:Bart.Vandewoestyne@pandora.be]
> We are not allowed to do it 'the POSIX way'... that means, just
> opening a file descriptor to /dev/ttySX and writing and reading from
> that file descriptor isn't the way we should do it... we really have
> to set and change bits from the UART (16550 or 16450 that is i
> guess...)
>
If the uart is memory mapped, you might find some kernel module that allows
users to directly access a specific area of memory. I can't remember, the
name of the module, but I think the old 3DFX driver made use of it.
--
Martin Hansen
Student at SDU Sonderborg. www.sdu.dk
Writing final project at Danfoss drives. www.danfossdrives.com
Tlf: 74 88 54 62
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/