Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/ic Pull up revision 1.43 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/e7deb274e7a4
branches:  netbsd-1-5
changeset: 491650:e7deb274e7a4
user:      he <he%NetBSD.org@localhost>
date:      Sun May 06 15:08:57 2001 +0000

description:
Pull up revision 1.43 (requested by he):
  Adapt to:
  Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
  PWR_SOFTRESUME.  Apm calls powerhook with the values in normal interrupt
  priority level while others are protected with splhigh().
  ...by omitting local queue macro.

diffstat:

 sys/dev/ic/midway.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r da7ed11de27d -r e7deb274e7a4 sys/dev/ic/midway.c
--- a/sys/dev/ic/midway.c       Sun May 06 15:08:22 2001 +0000
+++ b/sys/dev/ic/midway.c       Sun May 06 15:08:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: midway.c,v 1.40.4.1 2000/10/17 20:32:33 tv Exp $       */
+/*     $NetBSD: midway.c,v 1.40.4.2 2001/05/06 15:08:57 he Exp $       */
 /*     (sync'd to midway.c 1.68)       */
 
 /*
@@ -178,8 +178,6 @@
 #if !defined(__FreeBSD__)
 #include <machine/bus.h>
 
-#define LIST_FOREACH(var, head, field)                                 \
-       for((var) = (head)->lh_first; (var); (var) = (var)->field.le_next)
 #endif
 
 #if defined(__NetBSD__) || defined(__OpenBSD__)



Home | Main Index | Thread Index | Old Index