Messages in this thread | | | Date | Wed, 05 Sep 2012 17:31:18 -0400 (EDT) | Subject | Re: [PATCH 08/10] net/macb: macb_get_drvinfo: add GEM/MACB suffix to differentiate revision | From | David Miller <> |
| |
From: Nicolas Ferre <nicolas.ferre@atmel.com> 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.
| |