diff options
Diffstat (limited to 'drivers/net/pcmcia/pcnet_cs.c')
-rw-r--r-- | drivers/net/pcmcia/pcnet_cs.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/drivers/net/pcmcia/pcnet_cs.c b/drivers/net/pcmcia/pcnet_cs.c index 22987e6a685e..5d7d1d3088ae 100644 --- a/drivers/net/pcmcia/pcnet_cs.c +++ b/drivers/net/pcmcia/pcnet_cs.c | |||
@@ -237,14 +237,6 @@ static const struct net_device_ops pcnet_netdev_ops = { | |||
237 | #endif | 237 | #endif |
238 | }; | 238 | }; |
239 | 239 | ||
240 | /*====================================================================== | ||
241 | |||
242 | pcnet_attach() creates an "instance" of the driver, allocating | ||
243 | local data structures for one device. The device is registered | ||
244 | with Card Services. | ||
245 | |||
246 | ======================================================================*/ | ||
247 | |||
248 | static int pcnet_probe(struct pcmcia_device *link) | 240 | static int pcnet_probe(struct pcmcia_device *link) |
249 | { | 241 | { |
250 | pcnet_dev_t *info; | 242 | pcnet_dev_t *info; |
@@ -266,15 +258,6 @@ static int pcnet_probe(struct pcmcia_device *link) | |||
266 | return pcnet_config(link); | 258 | return pcnet_config(link); |
267 | } /* pcnet_attach */ | 259 | } /* pcnet_attach */ |
268 | 260 | ||
269 | /*====================================================================== | ||
270 | |||
271 | This deletes a driver "instance". The device is de-registered | ||
272 | with Card Services. If it has been released, all local data | ||
273 | structures are freed. Otherwise, the structures will be freed | ||
274 | when the device is released. | ||
275 | |||
276 | ======================================================================*/ | ||
277 | |||
278 | static void pcnet_detach(struct pcmcia_device *link) | 261 | static void pcnet_detach(struct pcmcia_device *link) |
279 | { | 262 | { |
280 | struct net_device *dev = link->priv; | 263 | struct net_device *dev = link->priv; |
@@ -461,14 +444,6 @@ static hw_info_t *get_hwired(struct pcmcia_device *link) | |||
461 | return &default_info; | 444 | return &default_info; |
462 | } /* get_hwired */ | 445 | } /* get_hwired */ |
463 | 446 | ||
464 | /*====================================================================== | ||
465 | |||
466 | pcnet_config() is scheduled to run after a CARD_INSERTION event | ||
467 | is received, to configure the PCMCIA socket, and to make the | ||
468 | ethernet device available to the system. | ||
469 | |||
470 | ======================================================================*/ | ||
471 | |||
472 | static int try_io_port(struct pcmcia_device *link) | 447 | static int try_io_port(struct pcmcia_device *link) |
473 | { | 448 | { |
474 | int j, ret; | 449 | int j, ret; |
@@ -665,14 +640,6 @@ failed: | |||
665 | return -ENODEV; | 640 | return -ENODEV; |
666 | } /* pcnet_config */ | 641 | } /* pcnet_config */ |
667 | 642 | ||
668 | /*====================================================================== | ||
669 | |||
670 | After a card is removed, pcnet_release() will unregister the net | ||
671 | device, and release the PCMCIA configuration. If the device is | ||
672 | still open, this will be postponed until it is closed. | ||
673 | |||
674 | ======================================================================*/ | ||
675 | |||
676 | static void pcnet_release(struct pcmcia_device *link) | 643 | static void pcnet_release(struct pcmcia_device *link) |
677 | { | 644 | { |
678 | pcnet_dev_t *info = PRIV(link->priv); | 645 | pcnet_dev_t *info = PRIV(link->priv); |
@@ -685,15 +652,6 @@ static void pcnet_release(struct pcmcia_device *link) | |||
685 | pcmcia_disable_device(link); | 652 | pcmcia_disable_device(link); |
686 | } | 653 | } |
687 | 654 | ||
688 | /*====================================================================== | ||
689 | |||
690 | The card status event handler. Mostly, this schedules other | ||
691 | stuff to run after an event is received. A CARD_REMOVAL event | ||
692 | also sets some flags to discourage the net drivers from trying | ||
693 | to talk to the card any more. | ||
694 | |||
695 | ======================================================================*/ | ||
696 | |||
697 | static int pcnet_suspend(struct pcmcia_device *link) | 655 | static int pcnet_suspend(struct pcmcia_device *link) |
698 | { | 656 | { |
699 | struct net_device *dev = link->priv; | 657 | struct net_device *dev = link->priv; |