Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ieee1394 Remove '#if defined(cobalt)'.
details: https://anonhg.NetBSD.org/src/rev/805b96eb0d8c
branches: trunk
changeset: 583916:805b96eb0d8c
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Mon Aug 29 17:20:31 2005 +0000
description:
Remove '#if defined(cobalt)'.
diffstat:
sys/dev/ieee1394/sbp.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diffs (21 lines):
diff -r 8759e96c9332 -r 805b96eb0d8c sys/dev/ieee1394/sbp.c
--- a/sys/dev/ieee1394/sbp.c Mon Aug 29 11:49:36 2005 +0000
+++ b/sys/dev/ieee1394/sbp.c Mon Aug 29 17:20:31 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbp.c,v 1.1 2005/07/11 15:29:05 kiyohara Exp $ */
+/* $NetBSD: sbp.c,v 1.2 2005/08/29 17:20:31 kiyohara Exp $ */
/*-
* Copyright (c) 2003 Hidetoshi Shimokawa
* Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
@@ -863,11 +863,6 @@
timevalsub(&t, &delta);
if (t.tv_sec >= 0 && t.tv_usec > 0)
ticks = (t.tv_sec * 1000 + t.tv_usec / 1000) * hz / 1000;
-#if defined(__NetBSD__) && defined(cobalt)
- /* XXXX boot time for cobalt */
- if (sdev->target->sbp->last_busreset.tv_sec == 0)
- ticks = hz * 2;
-#endif
SBP_DEBUG(0)
printf("%s: sec = %ld usec = %ld ticks = %d\n", __func__,
t.tv_sec, t.tv_usec, ticks);
Home |
Main Index |
Thread Index |
Old Index