X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/b33e4d9b561f07d9925a202c10bccc519ff86d8f..0b9f62a797253b25939b69b5820a1cc7d89d0220:/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c index f6a282c27..3ac347f6b 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c @@ -1,7 +1,7 @@ /* * Atheros AR71xx built-in ethernet mac driver * - * Copyright (C) 2008 Gabor Juhos + * Copyright (C) 2008-2009 Gabor Juhos * Copyright (C) 2008 Imre Kaloz * * Based on Atheros' AG7100 driver @@ -44,7 +44,7 @@ static void ag71xx_ethtool_get_drvinfo(struct net_device *dev, strcpy(info->driver, ag->pdev->dev.driver->name); strcpy(info->version, AG71XX_DRV_VERSION); - strcpy(info->bus_info, ag->pdev->dev.bus_id); + strcpy(info->bus_info, dev_name(&ag->pdev->dev)); } static u32 ag71xx_ethtool_get_msglevel(struct net_device *dev)