* Re: r8169: read MAC address from EEPROM on init
@ 2008-10-08 22:41 David Miller
2008-10-09 20:16 ` Francois Romieu
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2008-10-08 22:41 UTC (permalink / raw)
To: ivecera; +Cc: ilpo.jarvinen, netdev
Applied to net-next-2.6
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: r8169: read MAC address from EEPROM on init
2008-10-08 22:41 r8169: read MAC address from EEPROM on init David Miller
@ 2008-10-09 20:16 ` Francois Romieu
2008-10-09 21:28 ` David Miller
0 siblings, 1 reply; 5+ messages in thread
From: Francois Romieu @ 2008-10-09 20:16 UTC (permalink / raw)
To: David Miller; +Cc: ivecera, ilpo.jarvinen, netdev
David Miller <davem@davemloft.net> :
>
> Applied to net-next-2.6
rtl8169_init_one
-> rtl_init_mac_address
-> rtl_rar_set
-> spin_lock_irq(&tp->lock);
[...]
-> spin_lock_init(&tp->lock);
I am used to respin my patch kit anyway.
--
Ueimor
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: r8169: read MAC address from EEPROM on init
2008-10-09 20:16 ` Francois Romieu
@ 2008-10-09 21:28 ` David Miller
2008-10-09 21:35 ` [PATCH] r8169: fix early spinlock use Francois Romieu
0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2008-10-09 21:28 UTC (permalink / raw)
To: romieu; +Cc: ivecera, ilpo.jarvinen, netdev
From: Francois Romieu <romieu@fr.zoreil.com>
Date: Thu, 9 Oct 2008 22:16:07 +0200
> David Miller <davem@davemloft.net> :
> >
> > Applied to net-next-2.6
>
> rtl8169_init_one
> -> rtl_init_mac_address
> -> rtl_rar_set
> -> spin_lock_irq(&tp->lock);
> [...]
> -> spin_lock_init(&tp->lock);
Grrr...
> I am used to respin my patch kit anyway.
Please send it to me, I'd _REALLY_ appreciate this as the
only patches in the queue were posted by other people and
you're only mention or r8169 changes is you posting a pointer
to some GIT tree or patch set without any "dave/jeff please
pull this".
I'd rather you send me fixes as soon as you have them rather
than have them get clogged up in your tree for weeks or longer.
That's how mistakes like this happen.
If I don't have any fixes from the official person (you) then
I'm going to apply fixes that look OK from people who do actually
post them individually to the list for review.
:-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] r8169: fix early spinlock use
2008-10-09 21:28 ` David Miller
@ 2008-10-09 21:35 ` Francois Romieu
2008-10-09 21:36 ` David Miller
0 siblings, 1 reply; 5+ messages in thread
From: Francois Romieu @ 2008-10-09 21:35 UTC (permalink / raw)
To: David Miller; +Cc: ivecera, ilpo.jarvinen, netdev
rtl8169_init_one
-> rtl_init_mac_address
-> rtl_rar_set
-> spin_lock_irq(&tp->lock);
[...]
-> spin_lock_init(&tp->lock);
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
---
drivers/net/r8169.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 108aaff..59fbc64 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -1952,7 +1952,8 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
dev->do_ioctl = rtl8169_ioctl;
}
- /* Read MAC address from EEPROM */
+ spin_lock_init(&tp->lock);
+
rtl_init_mac_address(tp, ioaddr);
/* Get MAC address */
@@ -1995,8 +1996,6 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
tp->timer.data = (unsigned long) dev;
tp->timer.function = rtl8169_phy_timer;
- spin_lock_init(&tp->lock);
-
rc = register_netdev(dev);
if (rc < 0)
goto err_out_msi_5;
--
1.5.3.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] r8169: fix early spinlock use
2008-10-09 21:35 ` [PATCH] r8169: fix early spinlock use Francois Romieu
@ 2008-10-09 21:36 ` David Miller
0 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2008-10-09 21:36 UTC (permalink / raw)
To: romieu; +Cc: ivecera, ilpo.jarvinen, netdev
From: Francois Romieu <romieu@fr.zoreil.com>
Date: Thu, 9 Oct 2008 23:35:13 +0200
> rtl8169_init_one
> -> rtl_init_mac_address
> -> rtl_rar_set
> -> spin_lock_irq(&tp->lock);
> [...]
> -> spin_lock_init(&tp->lock);
>
> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Applied thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-10-09 21:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08 22:41 r8169: read MAC address from EEPROM on init David Miller
2008-10-09 20:16 ` Francois Romieu
2008-10-09 21:28 ` David Miller
2008-10-09 21:35 ` [PATCH] r8169: fix early spinlock use Francois Romieu
2008-10-09 21:36 ` David Miller
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).