diff options
author | imp <imp@FreeBSD.org> | 2005-02-08 05:45:35 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-02-08 05:45:35 +0000 |
commit | 7bb35cb182703c30113f937e43890f82e0da8cf8 (patch) | |
tree | 37cc39199a86704ae89359f1c5fc272b93ca8187 /sys/dev/ed/if_edvar.h | |
parent | 28c345cd334c83405a093b56c6c6ac25d924370e (diff) | |
download | FreeBSD-src-7bb35cb182703c30113f937e43890f82e0da8cf8.zip FreeBSD-src-7bb35cb182703c30113f937e43890f82e0da8cf8.tar.gz |
Make it possible to unload ed. Move the ed_pccard_detach routine to
if_ed and rename it to ed_detach(). Tell other busses to use this
routine for detach.
Since I don't actually have any non-pccard ed hardware I can test
with, I've only tested with my pccards.
More improvements in this area likely are possible.
Prodded by: rwatson
Diffstat (limited to 'sys/dev/ed/if_edvar.h')
-rw-r--r-- | sys/dev/ed/if_edvar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ed/if_edvar.h b/sys/dev/ed/if_edvar.h index 2bbec48..ff693f4 100644 --- a/sys/dev/ed/if_edvar.h +++ b/sys/dev/ed/if_edvar.h @@ -205,6 +205,7 @@ int ed_probe_Novell_generic(device_t, int); int ed_probe_HP_pclanp(device_t, int, int); int ed_attach(device_t); +int ed_detach(device_t); void ed_stop(struct ed_softc *); void ed_pio_readmem(struct ed_softc *, long, unsigned char *, unsigned short); void ed_pio_writemem(struct ed_softc *, char *, unsigned short, unsigned short); |