netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Pull request for 'jg-20061012-00' tag
@ 2006-10-12 20:30 Francois Romieu
  2006-10-21 18:16 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Romieu @ 2006-10-12 20:30 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev, Andrew Morton, hchacha, Arnaud Patard

Please pull from tag 'jg-20061012-00' in repository

git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git jg-20061012-00

to get the changes below.

Distance from 'upstream-fixes'
-----------------------------

733b736c91dd2c556f35dffdcf77e667cf10cefc
73f5e28b336772c4b08ee82e5bf28ab872898ee1

Diffstat
--------

 drivers/net/r8169.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

Shortlog
--------

Andrew Morton:
      r8169: PCI ID for Corega Gigabit network card

Arnaud Patard:
      r8169: fix infinite loop during hotplug

Patch
-----

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 4c47c5b..c2c9a86 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -214,6 +214,7 @@ static struct pci_device_id rtl8169_pci_
 	{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK,	0x8168), 0, 0, RTL_CFG_2 },
 	{ PCI_DEVICE(PCI_VENDOR_ID_REALTEK,	0x8169), 0, 0, RTL_CFG_0 },
 	{ PCI_DEVICE(PCI_VENDOR_ID_DLINK,	0x4300), 0, 0, RTL_CFG_0 },
+	{ PCI_DEVICE(0x1259,			0xc107), 0, 0, RTL_CFG_0 },
 	{ PCI_DEVICE(0x16ec,			0x0116), 0, 0, RTL_CFG_0 },
 	{ PCI_VENDOR_ID_LINKSYS,		0x1032,
 		PCI_ANY_ID, 0x0024, 0, 0, RTL_CFG_0 },
@@ -2701,6 +2702,7 @@ static void rtl8169_down(struct net_devi
 	struct rtl8169_private *tp = netdev_priv(dev);
 	void __iomem *ioaddr = tp->mmio_addr;
 	unsigned int poll_locked = 0;
+	unsigned int intrmask;
 
 	rtl8169_delete_timer(dev);
 
@@ -2739,8 +2741,11 @@ core_down:
 	 * 2) dev->change_mtu
 	 *    -> rtl8169_poll can not be issued again and re-enable the
 	 *       interruptions. Let's simply issue the IRQ down sequence again.
+	 *
+	 * No loop if hotpluged or major error (0xffff).
 	 */
-	if (RTL_R16(IntrMask))
+	intrmask = RTL_R16(IntrMask);
+	if (intrmask && (intrmask != 0xffff))
 		goto core_down;
 
 	rtl8169_tx_clear(tp);
-- 
Ueimor

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

* Re: Pull request for 'jg-20061012-00' tag
  2006-10-12 20:30 Pull request for 'jg-20061012-00' tag Francois Romieu
@ 2006-10-21 18:16 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2006-10-21 18:16 UTC (permalink / raw)
  To: Francois Romieu; +Cc: netdev, Andrew Morton, hchacha, Arnaud Patard

Francois Romieu wrote:
> Please pull from tag 'jg-20061012-00' in repository
> 
> git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git jg-20061012-00
> 
> to get the changes below.
> 
> Distance from 'upstream-fixes'
> -----------------------------
> 
> 733b736c91dd2c556f35dffdcf77e667cf10cefc
> 73f5e28b336772c4b08ee82e5bf28ab872898ee1
> 
> Diffstat
> --------
> 
>  drivers/net/r8169.c |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> Shortlog
> --------
> 
> Andrew Morton:
>       r8169: PCI ID for Corega Gigabit network card
> 
> Arnaud Patard:
>       r8169: fix infinite loop during hotplug

pulled



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

end of thread, other threads:[~2006-10-21 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 20:30 Pull request for 'jg-20061012-00' tag Francois Romieu
2006-10-21 18:16 ` 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).