aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1999-08-27 07:26:26 +0000
committerJulian Elischer <julian@FreeBSD.org>1999-08-27 07:26:26 +0000
commitada9bd8cb8c430a67edc8702b278e2de790e60f2 (patch)
tree2be8092a6407d2d310bd57f56a27ad08b69cb53a /sys/dev
parent4e895e3962b65a6771f225261545f0b5c6a02534 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fdc/fdc.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index dc1a69999f2c0..c2670fdea6558 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.152 1999/08/14 11:40:41 phk Exp $
+ * $Id: fd.c,v 1.153 1999/08/23 20:58:59 phk Exp $
*
*/
@@ -906,9 +906,22 @@ static int
fd_attach(device_t dev)
{
struct fd_data *fd;
+#if 0
+ int i;
+ int mynor;
+ int typemynor;
+ int typesize;
+#endif
fd = device_get_softc(dev);
+ make_dev(&fd_cdevsw, (fd->fdu << 6),
+ UID_ROOT, GID_OPERATOR, 0640, "rfd%d", fd->fdu);
+
+#if 0
+ /* Other make_dev() go here. */
+#endif
+
/*
* Export the drive to the devstat interface.
*/