Re: Regarding UART Device driver

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

 



On Mon, Jan 29, 2007 at 04:08:20AM -0800, mayank rana wrote:
> Yaa Erik I meant PXA255 not PXA250... 
>   I cann't change kernel version ..it is required.still I will try to
>   do that.

Well, then you have to live with bugs and incompatibilities that have
been fixed in the last two years since 2.6.11 was released.

>   When we are cross compiling code for PXA255. all the device drivers
>   will remain in /dev and newer one will be in /arch/ respective
>   folder. May I right ?

No. Device code lives in the drivers directory, the arch (arch/arm in
your case) directory contains architecture specific code and shouldn't
contain device drivers.

>   If I will change mode from blocking to non-blocking , what will be
>   the impact of that on application ?

That reads and writes will be non-blocking (what a surprise) and that
you should *really* check return codes of read() and write() cause they
*will* behave different.

Anyway, this is not kernel related at all, so off topic over here. It's
not even Linux specific but general Unix programming practice. Again,
for a complete overview, see the Stevens book I mentioned in my
previous reply. Yes, the book is expensive, but *really* worth it.


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux