Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7-nhusb]: src/sys/dev/usb revision 1.64
details: https://anonhg.NetBSD.org/src/rev/d6a1f71bce09
branches: netbsd-7-nhusb
changeset: 801048:d6a1f71bce09
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Mar 31 10:25:55 2017 +0000
description:
revision 1.64
allow suspend with uftdi(4). it works fine.
diffstat:
sys/dev/usb/uftdi.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 600c700bad3f -r d6a1f71bce09 sys/dev/usb/uftdi.c
--- a/sys/dev/usb/uftdi.c Fri Mar 31 10:14:06 2017 +0000
+++ b/sys/dev/usb/uftdi.c Fri Mar 31 10:25:55 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uftdi.c,v 1.59.4.1.4.2 2017/01/26 21:54:24 skrll Exp $ */
+/* $NetBSD: uftdi.c,v 1.59.4.1.4.3 2017/03/31 10:25:55 skrll Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uftdi.c,v 1.59.4.1.4.2 2017/01/26 21:54:24 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uftdi.c,v 1.59.4.1.4.3 2017/03/31 10:25:55 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -341,6 +341,9 @@
usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_udev, sc->sc_dev);
+ if (!pmf_device_register(self, NULL, NULL))
+ aprint_error_dev(self, "couldn't establish power handler\n");
+
return;
bad:
Home |
Main Index |
Thread Index |
Old Index