Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jmcneill-usbmp]: src/sys/rump/dev/lib/libugenhc add a couple of comments...
details: https://anonhg.NetBSD.org/src/rev/91466c16bde6
branches: jmcneill-usbmp
changeset: 771810:91466c16bde6
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Feb 24 07:35:00 2012 +0000
description:
add a couple of comments to note areas will need work to enable mp.
diffstat:
sys/rump/dev/lib/libugenhc/ugenhc.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 996fa333a356 -r 91466c16bde6 sys/rump/dev/lib/libugenhc/ugenhc.c
--- a/sys/rump/dev/lib/libugenhc/ugenhc.c Thu Feb 23 09:31:56 2012 +0000
+++ b/sys/rump/dev/lib/libugenhc/ugenhc.c Fri Feb 24 07:35:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ugenhc.c,v 1.9 2010/03/22 12:05:45 pooka Exp $ */
+/* $NetBSD: ugenhc.c,v 1.9.14.1 2012/02/24 07:35:00 mrg Exp $ */
/*
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ugenhc.c,v 1.9 2010/03/22 12:05:45 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugenhc.c,v 1.9.14.1 2012/02/24 07:35:00 mrg Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -312,6 +312,7 @@
ret:
xfer->status = err;
+ /* XXX locking */
usb_transfer_complete(xfer);
return (USBD_IN_PROGRESS);
}
@@ -842,6 +843,7 @@
SIMPLEQ_FIRST(&xfer->pipe->queue));
} else {
/* biglocked */
+ /* XXX locking */
err = usb_insert_transfer(xfer);
if (err)
return err;
Home |
Main Index |
Thread Index |
Old Index