diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ioc3-eth.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c index 1a52df5f9..7a0cdd490 100644 --- a/drivers/net/ioc3-eth.c +++ b/drivers/net/ioc3-eth.c @@ -606,6 +606,14 @@ static void ioc3_probe1(struct net_device *dev, struct ioc3 *ioc3) struct ioc3_private *p; dev = init_etherdev(dev, 0); + + /* + * This probably needs to be register_netdevice, or call + * init_etherdev so that it calls register_netdevice. Quick + * hack for now. + */ + netif_device_attach(dev); + p = (struct ioc3_private *) kmalloc(sizeof(*p), GFP_KERNEL); memset(p, 0, sizeof(*p)); dev->priv = p; |