Use new machine-independent mountroothook code.
This commit is contained in:
parent
e37a1f5794
commit
2525eee053
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fd.c,v 1.46 1997/01/01 23:46:29 pk Exp $ */
|
||||
/* $NetBSD: fd.c,v 1.47 1997/01/31 02:16:53 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995 Charles Hannum.
|
||||
|
@ -618,7 +618,7 @@ fdattach(parent, self, aux)
|
|||
* Establish a mountroot_hook anyway in case we booted
|
||||
* with RB_ASKNAME and get selected as the boot device.
|
||||
*/
|
||||
mountroot_hook_establish(fd_mountroot_hook, &fd->sc_dv);
|
||||
mountroothook_establish(fd_mountroot_hook, &fd->sc_dv);
|
||||
|
||||
/* Make sure the drive motor gets turned off at shutdown time. */
|
||||
fd->sc_sdhook = shutdownhook_establish(fd_motor_off, fd);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fd.c,v 1.8 1996/10/13 03:34:44 christos Exp $ */
|
||||
/* $NetBSD: fd.c,v 1.9 1997/01/31 02:15:54 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995 Charles Hannum.
|
||||
|
@ -523,7 +523,7 @@ fdattach(parent, self, aux)
|
|||
* Establish a mountroot_hook anyway in case we booted
|
||||
* with RB_ASKNAME and get selected as the boot device.
|
||||
*/
|
||||
mountroot_hook_establish(fd_mountroot_hook, &fd->sc_dev);
|
||||
mountroothook_establish(fd_mountroot_hook, &fd->sc_dev);
|
||||
}
|
||||
|
||||
inline struct fd_type *
|
||||
|
|
Loading…
Reference in New Issue