summaryrefslogtreecommitdiff
path: root/spectro/usbio_bsd.c
diff options
context:
space:
mode:
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);