ixgb: use PCI_VENDOR_ID_INTEL
[deliverable/linux.git] / drivers / net / ethernet / ethoc.c
index a38167810546f69c793c436b90ac92eea25972cb..94b7bfcdb24e4a2fb3d9639a9f053c6186bfef87 100644 (file)
@@ -902,7 +902,7 @@ static const struct net_device_ops ethoc_netdev_ops = {
 };
 
 /**
- * ethoc_probe() - initialize OpenCores ethernet MAC
+ * ethoc_probe - initialize OpenCores ethernet MAC
  * pdev:       platform device
  */
 static int __devinit ethoc_probe(struct platform_device *pdev)
@@ -1057,7 +1057,7 @@ static int __devinit ethoc_probe(struct platform_device *pdev)
        /* Check the MAC again for validity, if it still isn't choose and
         * program a random one. */
        if (!is_valid_ether_addr(netdev->dev_addr)) {
-               random_ether_addr(netdev->dev_addr);
+               eth_random_addr(netdev->dev_addr);
                random_mac = true;
        }
 
@@ -1140,7 +1140,7 @@ out:
 }
 
 /**
- * ethoc_remove() - shutdown OpenCores ethernet MAC
+ * ethoc_remove - shutdown OpenCores ethernet MAC
  * @pdev:      platform device
  */
 static int __devexit ethoc_remove(struct platform_device *pdev)
This page took 0.025232 seconds and 5 git commands to generate.