Thread (23 messages) 23 messages, 4 authors, 2012-09-07

[PATCH 08/10] net/macb: macb_get_drvinfo: add GEM/MACB suffix to differentiate revision

From: davem@davemloft.net (David Miller)
Date: 2012-09-05 21:31:22
Also in: lkml, netdev

From: Nicolas Ferre <redacted>
Date: Wed, 5 Sep 2012 11:00:53 +0200
 	strcpy(info->driver, bp->pdev->dev.driver->name);
+	if (macb_is_gem(bp))
+		strcat(info->driver, " GEM");
+	else
+		strcat(info->driver, " MACB");
This is a driver string, which means the software driver, and has
absolutely nothing to do with the exact type of the underlying
physical hardware.

Therefore the these suffixes should be left out of the driver string.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help