From 094535c010320967639e8e86f974d878e80baa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 1 May 2015 16:13:57 +0200 Subject: Imported Upstream version 1.7.0 --- spectro/usbio_bsd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'spectro/usbio_bsd.c') 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); -- cgit v1.2.3