Don't ask the firmware to find our partition because it doesn't understand

NetBSD disklabels and gets horribly confused.
This commit is contained in:
eeh 1998-11-22 16:21:02 +00:00
parent 01a2fb8424
commit 2f274f97e5
1 changed files with 1 additions and 8 deletions

View File

@ -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