summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-08-25 21:38:00 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-08-25 21:38:00 +0000
commit1983c3805b3ebdcf9306dd80538f44e4947dcb23 (patch)
treedb58344e83e8ec2da5c5a683d543bb6323d20f30 /sys/dev/ic
parent5fa7cbf2720de57e4ec997758522caff75547a8a (diff)
Make CardBus ral(4) suspend and resume properly on machines that keep the
CardBus bridge powered up during suspend. Step zero on the long road towards fully suspending CardBus on all machines. ok deraadt@, damien@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/rt2560.c4
-rw-r--r--sys/dev/ic/rt2661.c4
-rw-r--r--sys/dev/ic/rt2860.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/rt2560.c b/sys/dev/ic/rt2560.c
index 51499087a4a..258059d8aad 100644
--- a/sys/dev/ic/rt2560.c
+++ b/sys/dev/ic/rt2560.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2560.c,v 1.49 2010/08/04 19:48:33 damien Exp $ */
+/* $OpenBSD: rt2560.c,v 1.50 2010/08/25 21:37:59 kettenis Exp $ */
/*-
* Copyright (c) 2005, 2006
@@ -341,7 +341,7 @@ rt2560_suspend(void *xsc)
struct ifnet *ifp = &sc->sc_ic.ic_if;
if (ifp->if_flags & IFF_RUNNING)
- rt2560_stop(ifp, 0);
+ rt2560_stop(ifp, 1);
}
void
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c
index ca351be844b..541d2941719 100644
--- a/sys/dev/ic/rt2661.c
+++ b/sys/dev/ic/rt2661.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2661.c,v 1.55 2010/08/04 19:48:33 damien Exp $ */
+/* $OpenBSD: rt2661.c,v 1.56 2010/08/25 21:37:59 kettenis Exp $ */
/*-
* Copyright (c) 2006
@@ -408,7 +408,7 @@ rt2661_suspend(void *xsc)
struct ifnet *ifp = &sc->sc_ic.ic_if;
if (ifp->if_flags & IFF_RUNNING)
- rt2661_stop(ifp, 0);
+ rt2661_stop(ifp, 1);
}
void
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c
index 25b6a782968..3dc0d81a66c 100644
--- a/sys/dev/ic/rt2860.c
+++ b/sys/dev/ic/rt2860.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2860.c,v 1.57 2010/08/04 19:48:33 damien Exp $ */
+/* $OpenBSD: rt2860.c,v 1.58 2010/08/25 21:37:59 kettenis Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -429,7 +429,7 @@ rt2860_suspend(void *xsc)
struct ifnet *ifp = &sc->sc_ic.ic_if;
if (ifp->if_flags & IFF_RUNNING)
- rt2860_stop(ifp, 0);
+ rt2860_stop(ifp, 1);
}
void