Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
Re: IRQ assignments
- 09-12-2003
- Grant Edwards
September 12, 2003, 9:02 am


Each device driver requests its own interrupts. For drivers
loaded as modules, they're usually specified as command-line
parameters when you load the modules. For built-in drivers,
they're usually specified as options to the kernel when it is
booted.

For some drivers (like the serial ones) there is an ioctl() you
can call to configure IRQ usage.

You either have to write an application that uses the same
ioctl() that setserial uses, or find out if the serial driver
can have it's IRQ usage set by a kernel option passed by the
bootloader.
--
Grant Edwards grante Yow! ... Get me a GIN
at and TONIC!!...make it
Grant Edwards grante Yow! ... Get me a GIN
at and TONIC!!...make it
We've slightly trimmed the long signature. Click to see the full one.

Re: IRQ assignments

PCI device drivers can share interrupts.
In a PC IAS Bus the hardware (usually) prevents interrupts from being
shared. Multiple devices on a single ISA card can share interrupts.
For shared interrupts the device driver needs to detect in the device
hardware if the interrupt came from the correct device and act
accordingly.
-Michael

Re: IRQ assignments

In the source tree under drivers/character you should be able to find
serial.c where the driver setup routines live. It has been a while,
but I changed port 3 and 4 to IRQs 7 and 5, which none of the parallel
drivers were using.
The problem is that you have to manually check to make sure this
change wasn't overwritten each time you update the source tree.
Bob McConnell
N2SPP
Site Timeline
- » Texas Instruments OMAP Innovator Development Kit forsale
- — Next thread in » Embedded Linux
-
- » Geode on Linux - tech info page updated
- — Previous thread in » Embedded Linux
-
- » Addressing on I2C
- — Newest thread in » Embedded Linux
-
- » PCA9957 defektes SPI
- — The site's Newest Thread. Posted in » Electronics (German)
-