Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/cobalt/stand/boot GC found.
details: https://anonhg.NetBSD.org/src/rev/88b343c54e6d
branches: trunk
changeset: 328457:88b343c54e6d
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Apr 03 18:49:52 2014 +0000
description:
GC found.
diffstat:
sys/arch/cobalt/stand/boot/wdc.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r d70e331b9461 -r 88b343c54e6d sys/arch/cobalt/stand/boot/wdc.c
--- a/sys/arch/cobalt/stand/boot/wdc.c Thu Apr 03 18:49:41 2014 +0000
+++ b/sys/arch/cobalt/stand/boot/wdc.c Thu Apr 03 18:49:52 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wdc.c,v 1.13 2010/01/19 15:28:52 tsutsui Exp $ */
+/* $NetBSD: wdc.c,v 1.14 2014/04/03 18:49:52 joerg Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -115,7 +115,6 @@
uint8_t st0, st1;
uint8_t ret_value = 0x03;
uint8_t drive;
- int found;
/*
* Sanity check to see if the wdc channel responds at all.
@@ -157,7 +156,6 @@
* something here assume it's ATA or OLD. Ghost will be killed later in
* attach routine.
*/
- found = 0;
for (drive = 0; drive < 2; drive++) {
if ((ret_value & (0x01 << drive)) == 0)
continue;
Home |
Main Index |
Thread Index |
Old Index