netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] (resend)
@ 2003-10-08 21:56 Jeroen Vreeken
  2003-10-14 18:07 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Jeroen Vreeken @ 2003-10-08 21:56 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-hams, netdev

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

Hi,

These patches don't seem to have made it into the mainstream kernel yet....
Can you please apply them?

The first is a fix for the probe function of the scc driver which now uses
an uninitialised scc struct for requesting an io region.
The Second removes a verry old debug line from the bpqethernet driver that
only fills logs.

Thanks,
Jeroen

[-- Attachment #2: scc-2.6.0.t5.rxq.diff --]
[-- Type: application/octet-stream, Size: 581 bytes --]

--- linux-2.6.0-test5/drivers/net/hamradio/scc.c	Mon Sep  8 21:50:22 2003
+++ linux-2.6.0-test5.rxq/drivers/net/hamradio/scc.c	Tue Sep 16 22:41:36 2003
@@ -1767,7 +1767,7 @@
 
 #ifndef SCC_DONT_CHECK
 
-			if(request_region(scc->ctrl, 1, "scc-probe"))
+			if(request_region(hwcfg.ctrl_a, 1, "scc-probe"))
 			{
 				disable_irq(hwcfg.irq);
 				Outb(hwcfg.ctrl_a, 0);
@@ -1779,7 +1779,7 @@
 				if (InReg(hwcfg.ctrl_a,R13) != 0x55)
 					found = 0;
 				enable_irq(hwcfg.irq);
-				release_region(scc->ctrl, 1);
+				release_region(hwcfg.ctrl_a, 1);
 			}
 			else
 				found = 0;

[-- Attachment #3: bpqether-2.6.0.t5.rxq.diff --]
[-- Type: application/octet-stream, Size: 551 bytes --]

--- linux-2.6.0-test5/drivers/net/hamradio/bpqether.c	Mon Sep  8 21:50:03 2003
+++ linux-2.6.0-test5.rxq/drivers/net/hamradio/bpqether.c	Mon Sep 15 15:40:16 2003
@@ -189,10 +189,8 @@
 
 	bpq = (struct bpqdev *)dev->priv;
 
-	if (!(bpq->acpt_addr[0] & 0x01) && memcmp(eth->h_source, bpq->acpt_addr, ETH_ALEN)) {
-		printk(KERN_DEBUG "bpqether: wrong dest %s\n", bpq_print_ethaddr(eth->h_source));
+	if (!(bpq->acpt_addr[0] & 0x01) && memcmp(eth->h_source, bpq->acpt_addr, ETH_ALEN))
 		goto drop;
-	}
 
 	len = skb->data[0] + skb->data[1] * 256 - 5;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] (resend)
  2003-10-08 21:56 [PATCH] (resend) Jeroen Vreeken
@ 2003-10-14 18:07 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-10-14 18:07 UTC (permalink / raw)
  To: Jeroen Vreeken; +Cc: linux-hams, netdev

applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-14 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-08 21:56 [PATCH] (resend) Jeroen Vreeken
2003-10-14 18:07 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).