diff options
author | 1998-08-07 02:10:24 +0000 | |
---|---|---|
committer | 1998-08-07 02:10:24 +0000 | |
commit | 38ccc49210221b82b230f6b0cc4625c6dac66cf4 (patch) | |
tree | 2c7a2f6586a3b17ca5a7844d9df87b2160e3ca5d | |
parent | Build gdb for power now. yea. (diff) | |
download | wireguard-openbsd-38ccc49210221b82b230f6b0cc4625c6dac66cf4.tar.xz wireguard-openbsd-38ccc49210221b82b230f6b0cc4625c6dac66cf4.zip |
Remove floppy checks from ofwboot. Ramdisk is kernel, not loadef from floppy.
-rw-r--r-- | sys/arch/powerpc/stand/boot.c | 7 | ||||
-rw-r--r-- | sys/arch/powerpc/stand/ofdev.c | 2 | ||||
-rw-r--r-- | sys/arch/powerpc/stand/ofdev.h | 1 |
3 files changed, 0 insertions, 10 deletions
diff --git a/sys/arch/powerpc/stand/boot.c b/sys/arch/powerpc/stand/boot.c index cae95a59de6..b7c86b273cf 100644 --- a/sys/arch/powerpc/stand/boot.c +++ b/sys/arch/powerpc/stand/boot.c @@ -205,13 +205,6 @@ loadfile(fd, args) close(fd); - /* XXX this should be replaced w/ a mountroothook. */ - if (floppyboot) { - printf("Please insert root disk and press ENTER "); - getchar(); - printf("\n"); - } - chain((void *)entry, args, esym); /* NOTREACHED */ diff --git a/sys/arch/powerpc/stand/ofdev.c b/sys/arch/powerpc/stand/ofdev.c index 68416df9910..7e30e842dd2 100644 --- a/sys/arch/powerpc/stand/ofdev.c +++ b/sys/arch/powerpc/stand/ofdev.c @@ -163,7 +163,6 @@ static struct of_dev ofdev = { }; char opened_name[256]; -int floppyboot; static u_long get_long(p) @@ -281,7 +280,6 @@ devopen(of, name, file) return ENOENT; if (OF_getprop(handle, "name", buf, sizeof buf) < 0) return ENXIO; - floppyboot = !strcmp(buf, "floppy"); if (OF_getprop(handle, "device_type", buf, sizeof buf) < 0) return ENXIO; if (!strcmp(buf, "block")) diff --git a/sys/arch/powerpc/stand/ofdev.h b/sys/arch/powerpc/stand/ofdev.h index 2910ac51460..104aea6012c 100644 --- a/sys/arch/powerpc/stand/ofdev.h +++ b/sys/arch/powerpc/stand/ofdev.h @@ -51,6 +51,5 @@ struct of_dev { #endif extern char opened_name[]; -extern int floppyboot; #endif |