[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: off topic - Assembler using GCC



Helge Hafting:
> Linux has device drivers doing this for you already!  No problem!  The
> device drivers handles irq's, io-addresses and buffering.  A linux
> program simply open a serial device as if it were a file and reads from
> it and writes to it using normal stuff like fread(), fwrite(), fprintf()
> etc.  

I don't need it, but just out of curiosity, is there a more low-level
interface available? Or would one have to write a kernel module?

I'm thinking, if you need to do non-standard things with the control lines
(say for a dongle).


Jiri
-- 
<jiri@baum.com.au>
We'll know the future has arrived when every mailer transparently
quotes lines that begin with "From ", but no-one remembers why.


Reply to: