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

Re: [microblaze-uclinux] Not all UARTLITE shows up in /proc/interrupts



Hi Olof,

On Mon, Dec 1, 2008 at 11:31 PM, Olof Backing <olof.backing@xxxxxxxxxxxx> wrote:
Hi!
Consider the following (during boot):

uartlite.0: ttyS0 at MMIO 0x40640000 (irq = 3) is a uartlite
uartlite.1: ttyS1 at MMIO 0x40600000 (irq = 1) is a uartlite
uartlite.2: ttyS2 at MMIO 0x40620000 (irq = 2) is a uartlite

and then the following:

# cat /proc/interrupts
          CPU0
 0:       2121     level OPB-INTC  timer
 3:         73      edge OPB-INTC  uartlite

Shouldn't I be able to see all three (3) uartlite's in the printout? It not - why?

The IRQ is only registered when the device is opened, in line with general linux policy to enable IRQs as late as possible.

Close the device again and the IRQ is unregistered.

Regards,

John