Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/wip/librumpusbhc add one more passthrough
details: https://anonhg.NetBSD.org/src/rev/8d3e6f84e9ce
branches: trunk
changeset: 748098:8d3e6f84e9ce
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Oct 13 18:36:48 2009 +0000
description:
add one more passthrough
diffstat:
sys/rump/dev/wip/librumpusbhc/rumpusbhc.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 124a5b802a7a -r 8d3e6f84e9ce sys/rump/dev/wip/librumpusbhc/rumpusbhc.c
--- a/sys/rump/dev/wip/librumpusbhc/rumpusbhc.c Tue Oct 13 17:19:00 2009 +0000
+++ b/sys/rump/dev/wip/librumpusbhc/rumpusbhc.c Tue Oct 13 18:36:48 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpusbhc.c,v 1.6 2009/10/05 13:00:37 pooka Exp $ */
+/* $NetBSD: rumpusbhc.c,v 1.7 2009/10/13 18:36:48 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpusbhc.c,v 1.6 2009/10/05 13:00:37 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpusbhc.c,v 1.7 2009/10/13 18:36:48 pooka Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -481,13 +481,14 @@
/*
* XXX: don't wildcard these yet. I want to better figure
- * out what to trap here
+ * out what to trap here. This is kinda silly, though ...
*/
case C(0x01, UT_WRITE_VENDOR_DEVICE):
case C(0x06, UT_WRITE_VENDOR_DEVICE):
case C(0x07, UT_READ_VENDOR_DEVICE):
case C(0x09, UT_READ_VENDOR_DEVICE):
case C(0xfe, UT_READ_CLASS_INTERFACE):
+ case C(0xff, UT_WRITE_CLASS_INTERFACE):
{
struct usb_ctl_request ucr;
Home |
Main Index |
Thread Index |
Old Index