* [PATCH 4/5] mv643xx_eth: shorten shared platform driver name
@ 2008-04-23 23:27 Lennert Buytenhek
2008-04-28 18:24 ` Dale Farnsworth
0 siblings, 1 reply; 2+ messages in thread
From: Lennert Buytenhek @ 2008-04-23 23:27 UTC (permalink / raw)
To: Dale Farnsworth, netdev; +Cc: Nicolas Pitre
Change the MV643XX_ETH_SHARED_NAME platform driver name to something
shorter than 19 characters, so that we can register multiple (otherwise
we end up with sysfs conflicts since all instances will map to
"mv643xx_eth_shared." as there is a 20-char sysfs file name limit.)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
Index: linux-2.6.25-git4/include/linux/mv643xx_eth.h
===================================================================
--- linux-2.6.25-git4.orig/include/linux/mv643xx_eth.h
+++ linux-2.6.25-git4/include/linux/mv643xx_eth.h
@@ -7,8 +7,8 @@
#include <linux/mbus.h>
-#define MV643XX_ETH_SHARED_NAME "mv643xx_eth_shared"
-#define MV643XX_ETH_NAME "mv643xx_eth"
+#define MV643XX_ETH_SHARED_NAME "mv643xx_eth"
+#define MV643XX_ETH_NAME "mv643xx_eth_port"
#define MV643XX_ETH_SHARED_REGS 0x2000
#define MV643XX_ETH_SHARED_REGS_SIZE 0x2000
#define MV643XX_ETH_BAR_4 0x2220
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 4/5] mv643xx_eth: shorten shared platform driver name
2008-04-23 23:27 [PATCH 4/5] mv643xx_eth: shorten shared platform driver name Lennert Buytenhek
@ 2008-04-28 18:24 ` Dale Farnsworth
0 siblings, 0 replies; 2+ messages in thread
From: Dale Farnsworth @ 2008-04-28 18:24 UTC (permalink / raw)
To: Lennert Buytenhek; +Cc: netdev, Nicolas Pitre
On Thu, Apr 24, 2008 at 01:27:44AM +0200, Lennert Buytenhek wrote:
> Change the MV643XX_ETH_SHARED_NAME platform driver name to something
> shorter than 19 characters, so that we can register multiple (otherwise
> we end up with sysfs conflicts since all instances will map to
> "mv643xx_eth_shared." as there is a 20-char sysfs file name limit.)
>
> Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
> Acked-by: Nicolas Pitre <nico@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-28 18:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 23:27 [PATCH 4/5] mv643xx_eth: shorten shared platform driver name Lennert Buytenhek
2008-04-28 18:24 ` Dale Farnsworth
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).