[lkml]   [2011]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectUsing serial driver 16550A in poll mode without interrupt connected

    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.


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

     \ /
      Last update: 2011-10-12 15:05    [W:0.023 / U:7.608 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site