All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net: pch_gbe: Fix pch_gbe device name
@ 2015-04-15  2:02 Bin Meng
  2015-04-20 22:55 ` Joe Hershberger
  0 siblings, 1 reply; 4+ messages in thread
From: Bin Meng @ 2015-04-15  2:02 UTC (permalink / raw)
  To: u-boot

The name "pch_gbe.%x" exceeds the limit of the name in the
'struct eth_device'. Rename it as just "pch_gbe".

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 drivers/net/pch_gbe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c
index 976848d..6c7b551 100644
--- a/drivers/net/pch_gbe.c
+++ b/drivers/net/pch_gbe.c
@@ -446,7 +446,7 @@ int pch_gbe_register(bd_t *bis)
 	dev->iobase = iobase;
 	priv->mac_regs = (struct pch_gbe_regs *)iobase;
 
-	sprintf(dev->name, "pch_gbe.%x", iobase);
+	sprintf(dev->name, "pch_gbe");
 
 	/* Read MAC address from SROM and initialize dev->enetaddr with it */
 	pch_gbe_mac_read(priv->mac_regs, dev->enetaddr);
-- 
1.8.2.1

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

* [U-Boot] [PATCH] net: pch_gbe: Fix pch_gbe device name
  2015-04-15  2:02 [U-Boot] [PATCH] net: pch_gbe: Fix pch_gbe device name Bin Meng
@ 2015-04-20 22:55 ` Joe Hershberger
  0 siblings, 0 replies; 4+ messages in thread
From: Joe Hershberger @ 2015-04-20 22:55 UTC (permalink / raw)
  To: u-boot

Hi Bin Meng,

On Tue, Apr 14, 2015 at 9:02 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
> The name "pch_gbe.%x" exceeds the limit of the name in the
> 'struct eth_device'. Rename it as just "pch_gbe".
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot-net/next, thanks!

-Joe

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

* [U-Boot] [PATCH] net: pch_gbe: Fix pch_gbe device name
@ 2015-04-15  3:18 Bin Meng
  0 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2015-04-15  3:18 UTC (permalink / raw)
  To: u-boot

The name "pch_gbe.%x" exceeds the limit of the name in the
'struct eth_device'. Rename it as just "pch_gbe".

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 drivers/net/pch_gbe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c
index 976848d..6c7b551 100644
--- a/drivers/net/pch_gbe.c
+++ b/drivers/net/pch_gbe.c
@@ -446,7 +446,7 @@ int pch_gbe_register(bd_t *bis)
 	dev->iobase = iobase;
 	priv->mac_regs = (struct pch_gbe_regs *)iobase;
 
-	sprintf(dev->name, "pch_gbe.%x", iobase);
+	sprintf(dev->name, "pch_gbe");
 
 	/* Read MAC address from SROM and initialize dev->enetaddr with it */
 	pch_gbe_mac_read(priv->mac_regs, dev->enetaddr);
-- 
1.8.2.1

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

* [U-Boot] [PATCH] net: pch_gbe: Fix pch_gbe device name
@ 2015-04-15  1:56 Bin Meng
  0 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2015-04-15  1:56 UTC (permalink / raw)
  To: u-boot

The name "pch_gbe.%x" exceeds the limit of the name in the
'struct eth_device'. Rename it as just "pch_gbe".

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 drivers/net/pch_gbe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c
index 976848d..6c7b551 100644
--- a/drivers/net/pch_gbe.c
+++ b/drivers/net/pch_gbe.c
@@ -446,7 +446,7 @@ int pch_gbe_register(bd_t *bis)
 	dev->iobase = iobase;
 	priv->mac_regs = (struct pch_gbe_regs *)iobase;
 
-	sprintf(dev->name, "pch_gbe.%x", iobase);
+	sprintf(dev->name, "pch_gbe");
 
 	/* Read MAC address from SROM and initialize dev->enetaddr with it */
 	pch_gbe_mac_read(priv->mac_regs, dev->enetaddr);
-- 
1.8.2.1

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

end of thread, other threads:[~2015-04-20 22:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15  2:02 [U-Boot] [PATCH] net: pch_gbe: Fix pch_gbe device name Bin Meng
2015-04-20 22:55 ` Joe Hershberger
  -- strict thread matches above, loose matches on Subject: below --
2015-04-15  3:18 Bin Meng
2015-04-15  1:56 Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.