diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-08-08 21:22:35 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-08-09 13:51:53 +0100 |
commit | e38d523fd0932a5d4ef2865360d8828efcf05392 (patch) | |
tree | 1caacf42bf7cf09104f88fa95a128c2bc26764e4 /firmware/ihex2fw.c | |
parent | 29210475945f13c61a7994b54ccf37692a075aeb (diff) |
[ARM] CATS: Do not try and map bad PCI IRQ numbers
The cats_map_irq() function in the Simtec CATS support
code is mapping IRQ 255 (invalid IRQ) into what is a
supposedly valid interrupt numner which can cause problems
with other devices then seeing an interrupt they cannot
claim.
If the IRQ number if >= 255, then return -1 as this is not
something we can map.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'firmware/ihex2fw.c')
0 files changed, 0 insertions, 0 deletions