diff options
author | imp <imp@FreeBSD.org> | 2004-07-13 02:44:40 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-07-13 02:44:40 +0000 |
commit | d35148311bebc5f935642333bd965c18b7682a74 (patch) | |
tree | c7ab3ef31b2490ea43665958df63816470800c5e | |
parent | 02b4d8a4382625d9213b44ed3b99010b67c99558 (diff) | |
download | FreeBSD-src-d35148311bebc5f935642333bd965c18b7682a74.zip FreeBSD-src-d35148311bebc5f935642333bd965c18b7682a74.tar.gz |
Set fdc_dev in attach
-rw-r--r-- | sys/dev/fdc/fdc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 33f9ce4..c549ebc 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -799,6 +799,7 @@ fdc_attach(device_t dev) int i, error, dunit; fdc = device_get_softc(dev); + fdc->fdc_dev = dev; error = fdc_alloc_resources(fdc); if (error) { device_printf(dev, "cannot re-acquire resources\n"); |