diff options
Diffstat (limited to 'drivers/net/pcmcia/com20020_cs.c')
-rw-r--r-- | drivers/net/pcmcia/com20020_cs.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/net/pcmcia/com20020_cs.c b/drivers/net/pcmcia/com20020_cs.c index a5d918ea5b13..b706a7249477 100644 --- a/drivers/net/pcmcia/com20020_cs.c +++ b/drivers/net/pcmcia/com20020_cs.c | |||
@@ -122,14 +122,6 @@ typedef struct com20020_dev_t { | |||
122 | struct net_device *dev; | 122 | struct net_device *dev; |
123 | } com20020_dev_t; | 123 | } com20020_dev_t; |
124 | 124 | ||
125 | /*====================================================================== | ||
126 | |||
127 | com20020_attach() creates an "instance" of the driver, allocating | ||
128 | local data structures for one device. The device is registered | ||
129 | with Card Services. | ||
130 | |||
131 | ======================================================================*/ | ||
132 | |||
133 | static int com20020_probe(struct pcmcia_device *p_dev) | 125 | static int com20020_probe(struct pcmcia_device *p_dev) |
134 | { | 126 | { |
135 | com20020_dev_t *info; | 127 | com20020_dev_t *info; |
@@ -172,15 +164,6 @@ fail_alloc_info: | |||
172 | return -ENOMEM; | 164 | return -ENOMEM; |
173 | } /* com20020_attach */ | 165 | } /* com20020_attach */ |
174 | 166 | ||
175 | /*====================================================================== | ||
176 | |||
177 | This deletes a driver "instance". The device is de-registered | ||
178 | with Card Services. If it has been released, all local data | ||
179 | structures are freed. Otherwise, the structures will be freed | ||
180 | when the device is released. | ||
181 | |||
182 | ======================================================================*/ | ||
183 | |||
184 | static void com20020_detach(struct pcmcia_device *link) | 167 | static void com20020_detach(struct pcmcia_device *link) |
185 | { | 168 | { |
186 | struct com20020_dev_t *info = link->priv; | 169 | struct com20020_dev_t *info = link->priv; |
@@ -219,14 +202,6 @@ static void com20020_detach(struct pcmcia_device *link) | |||
219 | 202 | ||
220 | } /* com20020_detach */ | 203 | } /* com20020_detach */ |
221 | 204 | ||
222 | /*====================================================================== | ||
223 | |||
224 | com20020_config() is scheduled to run after a CARD_INSERTION event | ||
225 | is received, to configure the PCMCIA socket, and to make the | ||
226 | device available to the system. | ||
227 | |||
228 | ======================================================================*/ | ||
229 | |||
230 | static int com20020_config(struct pcmcia_device *link) | 205 | static int com20020_config(struct pcmcia_device *link) |
231 | { | 206 | { |
232 | struct arcnet_local *lp; | 207 | struct arcnet_local *lp; |
@@ -314,14 +289,6 @@ failed: | |||
314 | return -ENODEV; | 289 | return -ENODEV; |
315 | } /* com20020_config */ | 290 | } /* com20020_config */ |
316 | 291 | ||
317 | /*====================================================================== | ||
318 | |||
319 | After a card is removed, com20020_release() will unregister the net | ||
320 | device, and release the PCMCIA configuration. If the device is | ||
321 | still open, this will be postponed until it is closed. | ||
322 | |||
323 | ======================================================================*/ | ||
324 | |||
325 | static void com20020_release(struct pcmcia_device *link) | 292 | static void com20020_release(struct pcmcia_device *link) |
326 | { | 293 | { |
327 | dev_dbg(&link->dev, "com20020_release\n"); | 294 | dev_dbg(&link->dev, "com20020_release\n"); |