[PATCH] Revert mistakenly applied patch to sungem
From: Colin Leroy (colin_at_colino.net)
Date: 09/30/04
- Previous message: Andi Kleen: "Re: [PATCH] Readd panic blinking in 2.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 10:01:56 +0200 To: linux-kernel@vger.kernel.org
Hi Andrew, everyone,
There's a mistake in 2.6.9-rc3, you applied a patch I sent yesterday,
for something that was already implemented (netpoll support in sungem).
As Eric Lemoine and I didn't add the stuff at the same place, there has
been no conflict.
See http://marc.theaimsgroup.com/?l=linux-kernel&m=109647405508937&w=2
http://linux.bkbits.net:8080/linux-2.5/cset@4149f001_LtxxbZOVP8q363TiTcSVg
http://linux.bkbits.net:8080/linux-2.5/cset@415b4276tcoFzDd1YSqq2ZJ_OkYlfQ
Following is the reverse patch to reverse my stuff :)
Sorry about that.
Signed-off-by: Colin Leroy <colin@colino.net>
--- a/drivers/net/sungem.c 2004-09-29 12:15:56.000000000 +0200
+++ b/drivers/net/sungem.c 2004-09-29 12:22:41.000000000 +0200
@@ -2687,23 +2687,6 @@
}
#endif /* not Sparc and not PPC */
-#ifdef CONFIG_NET_POLL_CONTROLLER
-/*
- * Polling 'interrupt' - used by things like netconsole to send skbs
- * without having to re-enable interrupts. It's not called while
- * the interrupt routine is executing.
- */
-static void gem_netpoll(struct net_device *netdev)
-{
- struct gem *gp = netdev->priv;
- if (!gp->pdev)
- return;
- disable_irq(gp->pdev->irq);
- gem_interrupt(gp->pdev->irq, netdev, NULL);
- enable_irq(gp->pdev->irq);
-}
-#endif
-
static int __devinit gem_get_device_address(struct gem *gp)
{
#if defined(__sparc__) || defined(CONFIG_PPC_PMAC)
@@ -2899,9 +2882,6 @@
dev->set_multicast_list = gem_set_multicast;
dev->do_ioctl = gem_ioctl;
dev->poll = gem_poll;
-#ifdef CONFIG_NET_POLL_CONTROLLER
- dev->poll_controller = gem_netpoll;
-#endif
dev->weight = 64;
dev->ethtool_ops = &gem_ethtool_ops;
dev->tx_timeout = gem_tx_timeout;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Andi Kleen: "Re: [PATCH] Readd panic blinking in 2.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [PATCH] Revert mistakenly applied patch to sungem
... > There's a mistake in 2.6.9-rc3, you applied a patch I sent yesterday, ...
> Following is the reverse patch to reverse my stuff:) ... Andrew are you picking
up this one? ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [parisc-linux] Re: [PATCH 3/9] mm: parisc pte atomicity
... using your own tmpalias area sounds much better than getting ... I've simply
not wrapped my head around the races, ... it looks like we agree that my patch is
necessary and valid as is; ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: keyboard - was: Re: Linux 2.6.0-test4
... >> I was able to get the key unstuck by switching back and forth between ...
I rebuild my kernel including your patch; ... I'll get back to you once I verify
that the problem doesn't occur ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel) - Re: 2.6.0-test8/test9 io scheduler needs tuning?
... interactivity with regard to desktop use. ... Going to improve the time info
output of the ddd loops to get better data and ... with the patch the hang reported
earlier was not encountered again so ... send the line "unsubscribe linux-kernel" in ...
(Linux-Kernel) - Re: [CFT][PATCH] 2.6.4-rc1 remove x86 boot page tables
... > For VISWS I think you actually need to turn paging off explicitly. ...
The patch will need a few tweaks but it should be fairly straight forward. ... send the
line "unsubscribe linux-kernel" in ... (Linux-Kernel)