diff options
author | Warner Losh <imp@FreeBSD.org> | 2020-08-20 17:19:40 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2020-08-20 17:19:40 +0000 |
commit | e0d14216c1124fccfe4500cc6d27ea91f459e83b (patch) | |
tree | 292b23376d7e69e664f84931c5a45e02cff98a9e /sys/dev/fdc | |
parent | 553f053bfadcc9950d0698a06adf6bc4dd9380c9 (diff) | |
download | src-e0d14216c1124fccfe4500cc6d27ea91f459e83b.tar.gz src-e0d14216c1124fccfe4500cc6d27ea91f459e83b.zip |
Notes
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r-- | sys/dev/fdc/fdc_pccard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc_pccard.c b/sys/dev/fdc/fdc_pccard.c index 364e2104b648..7b7f88648884 100644 --- a/sys/dev/fdc/fdc_pccard.c +++ b/sys/dev/fdc/fdc_pccard.c @@ -110,9 +110,10 @@ fdc_pccard_attach(device_t dev) device_set_flags(child, 0x24); error = bus_generic_attach(dev); } - if (error == 0) + if (error == 0) { + gone_in_dev(dev, 13, "pccard removed"); fdc_start_worker(dev); - else + } else fdc_release_resources(fdc); return (error); } |