~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise-proposed

« back to all changes in this revision

Viewing changes to drivers/net/ethernet/broadcom/tg3.c

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich, Luke Yelavich, Upstream Kernel Changes
  • Date: 2012-04-04 18:49:36 UTC
  • Revision ID: package-import@ubuntu.com-20120404184936-tqu735914muv4wpg
Tags: 3.2.0-22.30
[ Luke Yelavich ]

* [Config] Update configs after rebase against Ubuntu-3.2.0-22.35

[ Upstream Kernel Changes ]

* Low-latency: Rebase against Ubuntu-3.2.0-22.35

Show diffs side-by-side

added added

removed removed

Lines of Context:
10428
10428
{
10429
10429
        struct tg3 *tp = netdev_priv(dev);
10430
10430
 
10431
 
        strcpy(info->driver, DRV_MODULE_NAME);
10432
 
        strcpy(info->version, DRV_MODULE_VERSION);
10433
 
        strcpy(info->fw_version, tp->fw_ver);
10434
 
        strcpy(info->bus_info, pci_name(tp->pdev));
 
10431
        strlcpy(info->driver, DRV_MODULE_NAME, sizeof(info->driver));
 
10432
        strlcpy(info->version, DRV_MODULE_VERSION, sizeof(info->version));
 
10433
        strlcpy(info->fw_version, tp->fw_ver, sizeof(info->fw_version));
 
10434
        strlcpy(info->bus_info, pci_name(tp->pdev), sizeof(info->bus_info));
10435
10435
}
10436
10436
 
10437
10437
static void tg3_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol)