TI yenta-alikes
Russell King
rmk at arm.linux.org.uk
Thu Aug 7 15:16:50 BST 2003
On Thu, Aug 07, 2003 at 02:02:22PM +0100, Tim Small wrote:
> "device control register bits2,1: R/W, Interrupt mode.
> Bits 2 1 select the interrupt mode used by the PCI1031. Bits 2 1 are
> encoded as: 00 = No interrupts enabled (default) 01 = ISA 10 =
> Serialized IRQ type interrupt scheme 11 = Reserved"
When you look at some other TI device, you'll notice that these bits
have a similar meaning, but, for instance 10 will be reserved (because
the device doesn't support Serialised ISA IRQs) but supports 11 (serial
PCI IRQs.) 00 means PCI IRQ mode only on some TI devices, and is a
valid setting.
You can do what you're suggesting as long as you take account of the
device itself. However, once you've decided the device isn't setup,
how can the kernel determine exactly what the _correct_ setup of the
device is? You can't say "well, its a PCI1031 device, therefore I'll
select ISA interrupt mode" because you don't know if it has been
wired up that way.
--
Russell King (rmk at arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
More information about the linux-pcmcia
mailing list