diff options
Diffstat (limited to 'drivers/net/pcmcia/axnet_cs.c')
-rw-r--r-- | drivers/net/pcmcia/axnet_cs.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index fb5a39ba4801..9e8b28b271ae 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c | |||
@@ -139,14 +139,6 @@ static const struct net_device_ops axnet_netdev_ops = { | |||
139 | .ndo_validate_addr = eth_validate_addr, | 139 | .ndo_validate_addr = eth_validate_addr, |
140 | }; | 140 | }; |
141 | 141 | ||
142 | /*====================================================================== | ||
143 | |||
144 | axnet_attach() creates an "instance" of the driver, allocating | ||
145 | local data structures for one device. The device is registered | ||
146 | with Card Services. | ||
147 | |||
148 | ======================================================================*/ | ||
149 | |||
150 | static int axnet_probe(struct pcmcia_device *link) | 142 | static int axnet_probe(struct pcmcia_device *link) |
151 | { | 143 | { |
152 | axnet_dev_t *info; | 144 | axnet_dev_t *info; |
@@ -175,15 +167,6 @@ static int axnet_probe(struct pcmcia_device *link) | |||
175 | return axnet_config(link); | 167 | return axnet_config(link); |
176 | } /* axnet_attach */ | 168 | } /* axnet_attach */ |
177 | 169 | ||
178 | /*====================================================================== | ||
179 | |||
180 | This deletes a driver "instance". The device is de-registered | ||
181 | with Card Services. If it has been released, all local data | ||
182 | structures are freed. Otherwise, the structures will be freed | ||
183 | when the device is released. | ||
184 | |||
185 | ======================================================================*/ | ||
186 | |||
187 | static void axnet_detach(struct pcmcia_device *link) | 170 | static void axnet_detach(struct pcmcia_device *link) |
188 | { | 171 | { |
189 | struct net_device *dev = link->priv; | 172 | struct net_device *dev = link->priv; |
@@ -246,14 +229,6 @@ static int get_prom(struct pcmcia_device *link) | |||
246 | return 1; | 229 | return 1; |
247 | } /* get_prom */ | 230 | } /* get_prom */ |
248 | 231 | ||
249 | /*====================================================================== | ||
250 | |||
251 | axnet_config() is scheduled to run after a CARD_INSERTION event | ||
252 | is received, to configure the PCMCIA socket, and to make the | ||
253 | ethernet device available to the system. | ||
254 | |||
255 | ======================================================================*/ | ||
256 | |||
257 | static int try_io_port(struct pcmcia_device *link) | 232 | static int try_io_port(struct pcmcia_device *link) |
258 | { | 233 | { |
259 | int j, ret; | 234 | int j, ret; |
@@ -392,14 +367,6 @@ failed: | |||
392 | return -ENODEV; | 367 | return -ENODEV; |
393 | } /* axnet_config */ | 368 | } /* axnet_config */ |
394 | 369 | ||
395 | /*====================================================================== | ||
396 | |||
397 | After a card is removed, axnet_release() will unregister the net | ||
398 | device, and release the PCMCIA configuration. If the device is | ||
399 | still open, this will be postponed until it is closed. | ||
400 | |||
401 | ======================================================================*/ | ||
402 | |||
403 | static void axnet_release(struct pcmcia_device *link) | 370 | static void axnet_release(struct pcmcia_device *link) |
404 | { | 371 | { |
405 | pcmcia_disable_device(link); | 372 | pcmcia_disable_device(link); |