Re: IRQ number question.

2018-09-04 Thread Rogier Wolff
On Mon, Sep 03, 2018 at 07:09:03PM +0100, Alan Cox wrote: > The IRQ number in the PCI configuration space is just a label really for > legacy OS stuff. Nothing actually routes interrupts according to it (*). > If it's coming up as 14 that looks more like the BIOS mislabelled it. > Legacy PCI inter

Re: IRQ number question.

2018-09-03 Thread Rogier Wolff
On Mon, Sep 03, 2018 at 07:09:03PM +0100, Alan Cox wrote: > On Mon, 3 Sep 2018 19:16:39 +0200 > > irq 18: nobody cared (try booting with the "irqpoll" option) > > > > I've been writing device drivers in the past, but in the past > > when the lspci listed "IRQ 14" then I'd have to request_irq (14,

Re: IRQ number question.

2018-09-03 Thread Alan Cox
On Mon, 3 Sep 2018 19:16:39 +0200 Rogier Wolff wrote: > Hi, > > I'm writing a kernel driver. It is not going to be widely used, so I'm > not motivated to make things nice enough for inclusion in the standard > kernel. > > But lspci shows my device: > > 03:01.0 Serial bus controller [0c80]: P

IRQ number question.

2018-09-03 Thread Rogier Wolff
Hi, I'm writing a kernel driver. It is not going to be widely used, so I'm not motivated to make things nice enough for inclusion in the standard kernel. But lspci shows my device: 03:01.0 Serial bus controller [0c80]: Phoenix Contact GmbH & Co. Device 0002 (rev b7) Flags: bus master,