Skip to content
Snippets Groups Projects
Commit 523bb66f authored by Bin Meng's avatar Bin Meng Committed by Joe Hershberger
Browse files

net: pch_gbe: Fix pch_gbe device name


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: default avatarBin Meng <bmeng.cn@gmail.com>
parent 9ce1edc8
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment