summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/atw.c4
-rw-r--r--sys/dev/ic/atwvar.h3
-rw-r--r--sys/dev/ic/rtw.c4
3 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c
index e041d206292..de7f788852d 100644
--- a/sys/dev/ic/atw.c
+++ b/sys/dev/ic/atw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atw.c,v 1.30 2005/03/26 16:35:25 naddy Exp $ */
+/* $OpenBSD: atw.c,v 1.31 2005/05/27 18:57:19 robert Exp $ */
/* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -3923,7 +3923,7 @@ atw_power(int why, void *arg)
/* XXX do nothing. */
break;
case PWR_SUSPEND:
- atw_stop(ifp, 0);
+ atw_stop(ifp, 1);
if (sc->sc_power != NULL)
(*sc->sc_power)(sc, why);
break;
diff --git a/sys/dev/ic/atwvar.h b/sys/dev/ic/atwvar.h
index e9c1596438c..331749bdb67 100644
--- a/sys/dev/ic/atwvar.h
+++ b/sys/dev/ic/atwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atwvar.h,v 1.7 2004/07/25 13:36:08 millert Exp $ */
+/* $OpenBSD: atwvar.h,v 1.8 2005/05/27 18:57:19 robert Exp $ */
/* $NetBSD: atwvar.h,v 1.13 2004/07/23 07:07:55 dyoung Exp $ */
/*
@@ -473,6 +473,7 @@ void atw_attach(struct atw_softc *);
int atw_detach(struct atw_softc *);
int atw_activate(struct device *, enum devact);
int atw_intr(void *arg);
+int atw_enable(struct atw_softc *);
void atw_power(int, void *);
void atw_shutdown(void *);
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c
index 3021736b225..609406e2f4b 100644
--- a/sys/dev/ic/rtw.c
+++ b/sys/dev/ic/rtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtw.c,v 1.27 2005/05/23 23:14:30 jsg Exp $ */
+/* $OpenBSD: rtw.c,v 1.28 2005/05/27 18:57:18 robert Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
* Copyright (c) 2004, 2005 David Young. All rights reserved.
@@ -3289,7 +3289,7 @@ rtw_power(int why, void *arg)
/* XXX do nothing. */
break;
case PWR_SUSPEND:
- rtw_stop(ifp, 0);
+ rtw_stop(ifp, 1);
if (sc->sc_power != NULL)
(*sc->sc_power)(sc, why);
break;