linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using serial driver 16550A in poll mode without interrupt connected
@ 2011-10-12 13:03 Michal Simek
  2011-10-12 13:51 ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Simek @ 2011-10-12 13:03 UTC (permalink / raw)
  To: linux-serial; +Cc: Greg Kroah-Hartman, LKML, Peter Korsgaard

Hi,

we have internal discussion around serial drivers and their usage without interrupts
in polling mode. It is on FPGA with Microblaze/PPC/ARM and
it is easy for us to have serial IP without IRQ connected to the interrupt controller.

Driver is probed with no IRQ (NO_IRQ = -1 on Microblaze)
83e00000.serial: ttyS0 at MMIO 0x83e01003 (irq = -1) is a 16550A

writing any data to ttyS0 return -1.
Is there any reason no to use driver in poll mode especially for user applications
not for consoles.

Is it possible to use serial driver without IRQ - or blocking IRQ, etc.?

Currently we care about uart16550 and uarlite.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-13 10:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 13:03 Using serial driver 16550A in poll mode without interrupt connected Michal Simek
2011-10-12 13:51 ` Alan Cox
2011-10-12 15:19   ` Ted Ts'o
2011-10-13 10:08     ` Michal Simek
2011-10-13  9:56   ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).