Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/sgimips If we already have a boot device se...
details: https://anonhg.NetBSD.org/src/rev/b1310923415f
branches: trunk
changeset: 517971:b1310923415f
user: rafal <rafal%NetBSD.org@localhost>
date: Thu Nov 22 03:15:35 2001 +0000
description:
If we already have a boot device set, don't reset the slot/unit/partition.
Now my Challenge S boots multiuser with the new bootloader without stopping
to ask for boot/root devices.
diffstat:
sys/arch/sgimips/sgimips/autoconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r cbc4d374cfb0 -r b1310923415f sys/arch/sgimips/sgimips/autoconf.c
--- a/sys/arch/sgimips/sgimips/autoconf.c Thu Nov 22 03:08:01 2001 +0000
+++ b/sys/arch/sgimips/sgimips/autoconf.c Thu Nov 22 03:15:35 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.6 2001/11/20 18:06:40 soren Exp $ */
+/* $NetBSD: autoconf.c,v 1.7 2001/11/22 03:15:35 rafal Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang
@@ -89,11 +89,11 @@
makebootdev(cp)
char *cp;
{
- booted_slot = booted_unit = booted_partition = 0;
-
if (booted_protocol != NULL)
return;
+ booted_slot = booted_unit = booted_partition = 0;
+
if (strncmp(cp, "scsi(", 5) == NULL) {
cp += 5;
if (*cp >= '0' && *cp <= '9')
Home |
Main Index |
Thread Index |
Old Index