macsonic.c (9edd576d89a5b6d3e136d7dcab654d887c0d25b7) macsonic.c (f2cedb63df14342ad40a8b5b324fc5d94a60b665)
1/*
2 * macsonic.c
3 *
4 * (C) 2005 Finn Thain
5 *
6 * Converted to DMA API, converted to unified driver model, made it work as
7 * a module again, and from the mac68k project, introduced more 32-bit cards
8 * and dhd's support for 16-bit cards.

--- 293 unchanged lines hidden (view full) ---

302
303 if (!INVALID_MAC(dev->dev_addr))
304 return;
305
306 /* Still nonsense ... messed up someplace! */
307
308 printk(KERN_WARNING "macsonic: MAC address in CAM entry 15 "
309 "seems invalid, will use a random MAC\n");
1/*
2 * macsonic.c
3 *
4 * (C) 2005 Finn Thain
5 *
6 * Converted to DMA API, converted to unified driver model, made it work as
7 * a module again, and from the mac68k project, introduced more 32-bit cards
8 * and dhd's support for 16-bit cards.

--- 293 unchanged lines hidden (view full) ---

302
303 if (!INVALID_MAC(dev->dev_addr))
304 return;
305
306 /* Still nonsense ... messed up someplace! */
307
308 printk(KERN_WARNING "macsonic: MAC address in CAM entry 15 "
309 "seems invalid, will use a random MAC\n");
310 random_ether_addr(dev->dev_addr);
310 eth_hw_addr_random(dev);
311}
312
313static int __devinit mac_onboard_sonic_probe(struct net_device *dev)
314{
315 struct sonic_local* lp = netdev_priv(dev);
316 int sr;
317 int commslot = 0;
318

--- 327 unchanged lines hidden ---
311}
312
313static int __devinit mac_onboard_sonic_probe(struct net_device *dev)
314{
315 struct sonic_local* lp = netdev_priv(dev);
316 int sr;
317 int commslot = 0;
318

--- 327 unchanged lines hidden ---