mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.4.7-pre8 scc.c vector latch region allocation
@ 2001-07-20  6:03 Rob Turk
  0 siblings, 0 replies; only message in thread
From: Rob Turk @ 2001-07-20  6:03 UTC (permalink / raw)
  To: linux-kernel

> This patch fixes a failure in the scc.c driver to properly allocate the
I/O
> 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


--- linux.org/drivers/net/hamradio/scc.c Thu Jul 19 22:48:06 2001
+++ linux/drivers/net/hamradio/scc.c Thu Jul 19 20:55:58 2001
@@ -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;





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-20  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-20  6:03 [PATCH] 2.4.7-pre8 scc.c vector latch region allocation Rob Turk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®