diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-01-20 20:32:56 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-01-20 20:32:56 +0000 |
| commit | 40cc58261aafd5859d72b0d9134275de82ba1818 (patch) | |
| tree | f74c3d66411b5c676c2581f03895ddfff8d2b1c0 /sys/dev/snc | |
| parent | 0c2c006362af986009d882e85a88d81385e7f073 (diff) | |
Notes
Diffstat (limited to 'sys/dev/snc')
| -rw-r--r-- | sys/dev/snc/if_snc_pccard.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/snc/if_snc_pccard.c b/sys/dev/snc/if_snc_pccard.c index c22fa756e42f..d48cf30e164b 100644 --- a/sys/dev/snc/if_snc_pccard.c +++ b/sys/dev/snc/if_snc_pccard.c @@ -82,13 +82,7 @@ DRIVER_MODULE(snc, pccard, snc_pccard_driver, snc_devclass, 0, 0); MODULE_DEPEND(snc, ether, 1, 1, 1); /* - * snc_pccard_detach - unload the driver and clear the table. - * XXX TODO: - * This is usually called when the card is ejected, but - * can be caused by a modunload of a controller driver. - * The idea is to reset the driver's view of the device - * and ensure that any driver entry points such as - * read and write do not hang. + * snc_pccard_detach - detach this instance from the device. */ static int snc_pccard_detach(device_t dev) @@ -110,9 +104,7 @@ snc_pccard_detach(device_t dev) } /* - * Probe framework for pccards. Replicates the standard framework, - * minus the pccard driver registration and ignores the ether address - * supplied (from the CIS), relying on the probe to find it instead. + * Probe the pccard. */ static int snc_pccard_probe(device_t dev) |
