|
@@ -313,22 +313,13 @@ static void __devinit mac_onboard_sonic_ethernet_addr(struct net_device *dev)
|
|
|
|
|
|
static int __devinit mac_onboard_sonic_probe(struct net_device *dev)
|
|
static int __devinit mac_onboard_sonic_probe(struct net_device *dev)
|
|
{
|
|
{
|
|
- /* Bwahahaha */
|
|
|
|
- static int once_is_more_than_enough;
|
|
|
|
struct sonic_local* lp = netdev_priv(dev);
|
|
struct sonic_local* lp = netdev_priv(dev);
|
|
int sr;
|
|
int sr;
|
|
int commslot = 0;
|
|
int commslot = 0;
|
|
|
|
|
|
- if (once_is_more_than_enough)
|
|
|
|
- return -ENODEV;
|
|
|
|
- once_is_more_than_enough = 1;
|
|
|
|
-
|
|
|
|
if (!MACH_IS_MAC)
|
|
if (!MACH_IS_MAC)
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
|
|
|
|
- if (macintosh_config->ether_type != MAC_ETHER_SONIC)
|
|
|
|
- return -ENODEV;
|
|
|
|
-
|
|
|
|
printk(KERN_INFO "Checking for internal Macintosh ethernet (SONIC).. ");
|
|
printk(KERN_INFO "Checking for internal Macintosh ethernet (SONIC).. ");
|
|
|
|
|
|
/* Bogus probing, on the models which may or may not have
|
|
/* Bogus probing, on the models which may or may not have
|