summaryrefslogtreecommitdiff
path: root/spectro/usbio_bsd.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:13:57 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:13:57 +0200
commit094535c010320967639e8e86f974d878e80baa72 (patch)
treeefc3094b20355dcbeebb2c4ece4fcfc69bffedb5 /spectro/usbio_bsd.c
parentc07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (diff)
Imported Upstream version 1.7.0upstream/1.7.0
Diffstat (limited to 'spectro/usbio_bsd.c')
-rw-r--r--spectro/usbio_bsd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/spectro/usbio_bsd.c b/spectro/usbio_bsd.c
index 7649caf..0af13a1 100644
--- a/spectro/usbio_bsd.c
+++ b/spectro/usbio_bsd.c
@@ -15,9 +15,14 @@
* see the License2.txt file for licencing details.
*/
+#pragma message("!!!!!! usbio_bsd.c is INCOMPLETE and USB instruments will NOT WORK !!!!!!")
+
/*
!!!! This driver is incomplete and non-functional !!!!
+ ( Most of the below code is stubbed out, with the Linux
+ code as a placeholder. )
+
BSD uses fd per end point, so simplifies things.
No clear ep or abort i/o though, so we could try clear halt,
@@ -504,7 +509,7 @@ static int icoms_usb_transaction(
bp += req.urbs[i].urb.buffer_length;
req.urbs[i].urb.status = -EINPROGRESS;
}
-a1logd(p->log, 8, "icoms_usb_transaction: reset req 0x%p nourbs to %d\n",&req,req.nourbs);
+a1logd(p->log, 8, "icoms_usb_transaction: reset req %p nourbs to %d\n",&req,req.nourbs);
/* Add our request to the req list so that it can be cancelled on reap failure */
pthread_mutex_lock(&p->usbd->lock);