[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v2] ethernet driver for the WIZnet W5300 chip
    On Mon, 2012-03-19 at 14:23 +0500, Mike Sinkovsky wrote:
    > Based on original driver from chip manufacturer, but with many cleanups.
    > Hope now it is near to mainline kernel quality.
    > Tested and used in production with Blackfin BF531 embedded processor.
    > +static void w5300_get_drvinfo(struct net_device *ndev,
    > + struct ethtool_drvinfo *info)
    > +{
    > + strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
    > + strlcpy(info->version, DRV_VERSION, sizeof(info->version));
    > + strlcpy(info->fw_version, "N/A", sizeof(info->fw_version));

    Nitpick: if you don't have firmware, don't set fw_version at all.


    Ben Hutchings, Staff Engineer, Solarflare
    Not speaking for my employer; that's the marketing department's job.
    They asked us to note that Solarflare product names are trademarked.

     \ /
      Last update: 2012-03-20 19:11    [W:0.036 / U:18.840 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site