From 2f274f97e5dc56b29bcbd00bab60fdf7c88f5872 Mon Sep 17 00:00:00 2001 From: eeh Date: Sun, 22 Nov 1998 16:21:02 +0000 Subject: [PATCH] Don't ask the firmware to find our partition because it doesn't understand NetBSD disklabels and gets horribly confused. --- sys/arch/sparc64/stand/ofwboot/ofdev.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/arch/sparc64/stand/ofwboot/ofdev.c b/sys/arch/sparc64/stand/ofwboot/ofdev.c index 82e5d222e0e4..ead13a7b8cb4 100644 --- a/sys/arch/sparc64/stand/ofwboot/ofdev.c +++ b/sys/arch/sparc64/stand/ofwboot/ofdev.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofdev.c,v 1.3 1998/08/27 06:23:33 eeh Exp $ */ +/* $NetBSD: ofdev.c,v 1.4 1998/11/22 16:21:02 eeh Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -441,13 +441,6 @@ devopen(of, name, file) #ifdef NOTDEF_DEBUG printf("devopen: %s is a %s device\n", fname, buf); #endif -#if 1 - if (!strcmp(buf, "block")) - /* For block devices, indicate 1st partition (:a in OpenFirmware) */ - /* For block devices, indicate whole disk (:c in OpenFirmware) */ - /* For block devices, indicate raw partition (:0 in OpenFirmware) */ - strcat(fname, ":0"); -#endif #ifdef NOTDEF_DEBUG printf("devopen: opening %s\n", fname); #endif