diff options
author | imp <imp@FreeBSD.org> | 1999-10-25 06:15:45 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-10-25 06:15:45 +0000 |
commit | 3304242c3e83d781f2cff3f3461bff2968d11b83 (patch) | |
tree | 131a2f4d318f44255d359cddab1d2aa8ce22eb19 /sys | |
parent | 10abd6779273518f29f428d2c7758da20a1cc0bf (diff) | |
download | FreeBSD-src-3304242c3e83d781f2cff3f3461bff2968d11b83.zip FreeBSD-src-3304242c3e83d781f2cff3f3461bff2968d11b83.tar.gz |
Have only one attach routine, rather than two.
Remove debug printfs.
This should allow the ed driver to work when memory mapping works again.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ed/if_ed_pccard.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 6e760fb..3eec531 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -58,7 +58,7 @@ static device_method_t ed_pccard_methods[] = { /* Device interface */ DEVMETHOD(device_probe, ed_pccard_probe), DEVMETHOD(device_attach, ed_pccard_attach), - DEVMETHOD(device_attach, ed_pccard_detach), + DEVMETHOD(device_detach, ed_pccard_detach), { 0, 0 } }; @@ -130,7 +130,6 @@ end: error = ed_alloc_irq(dev, 0, 0); ed_release_resources(dev); -printf("probe %d\n", error); return (error); } @@ -156,6 +155,5 @@ ed_pccard_attach(device_t dev) } error = ed_attach(sc, device_get_unit(dev), flags); - printf("attach failed %d\n", error); - return error; + return (error); } |