Thread (25 messages) flat view 25 messages, 6 authors, 2016-06-30

Re: [RFC 1/7] net: ethernet: bgmac: change bgmac_* prints to dev_* prints

From: Joe Perches <joe@perches.com>
Date: 2016-06-28 19:44:04
Also in: lkml

On Tue, 2016-06-28 at 15:34 -0400, Jon Mason wrote:
The bgmac_* print wrappers call dev_* prints with the dev pointer from
the bcma core.  In anticipation of removing the bcma requirement for
this driver, these must be changed to not reference that struct.  So,
simply change all of the bgmac_* prints to their dev_* counterparts.  In
some cases netdev_* prints are more appropriate, so change those as
well.
Thanks, but...
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c
[]
quoted hunk ↗ jump to hunk
@@ -1515,7 +1516,7 @@ static void bgmac_get_drvinfo(struct net_device *net_dev,
 			      struct ethtool_drvinfo *info)
 {
 	strlcpy(info->driver, KBUILD_MODNAME, sizeof(info->driver));
-	strlcpy(info->bus_info, "BCMA", sizeof(info->bus_info));
+	strlcpy(info->bus_info, "AXI", sizeof(info->bus_info));
 }
Unrelated change?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help