2.4.7-pre8 scc.c vector latch region allocation
PATCH 1/1 2.4.7-pre8 scc.c vector latch region allocation
Quoted 1 line
This patch fixes a failure in the
scc.cdriver to properly allocate the
I/O
Quoted 5 lines
region for the interrupt vector latch, which is present on some ham radio SCC cards, such as the PA0HZP card.
Rob Turk - PE1KOX
After receiving a few hints that uu-encoded messages are 'not done', here's the same patch in text format. Sorry for any confusion.
Rob
drivers/net/hamradio/scc.c Thu Jul 19 20:55:58 2001 renamed from drivers/net/hamradio/scc.c Thu Jul 19 22:48:06 2001 +2 -2
@@ -1775,8 +1775,8 @@ Ivec[hwcfg.irq].used = 1; } - if (hwcfg.vector_latch) { - if (!request_region(Vector_Latch, 1, "scc vector latch")) + if (hwcfg.vector_latch && !Vector_Latch) { + if (!request_region(hwcfg.vector_latch, 1, "scc vector latch")) printk(KERN_WARNING "z8530drv: warning, cannot reserve vector latch
port 0x%lx\n, disabled.", hwcfg.vector_latch);
else
Vector_Latch = hwcfg.vector_latch;