is there a struct uart_driver like struct i2c_driver

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

 



Hey,

I need to write a driver which communicates with it's chip via uart.
So I was wondering which the best way is to do this.

For a i2c device there is the i2c subsystem with it's "module_i2c_driver(foo_driver);" and so on.
But I couldn't find any equivalent for a uart device.

So what is the desired way to implement such a driver? Is there one or do I need to "struct file * f = filp_open("/dev/ttyS4", FLAGS, MODE);" ?

Thanks any hint!

Cheers,
Thilo

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux