diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-02-29 00:29:15 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-02-29 00:29:15 +0000 |
commit | 090a7b73b482900f366934d95746effa2ad8b920 (patch) | |
tree | d6ff96bb54fc1469ef614dac272474ea76646ac3 /drivers | |
parent | ad194fc92f55240d1670f7fc9bf1c3afc2c3b525 (diff) |
Get the ioc3 ethernet driver running again.
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; |