diff options
author | eb <eb@221aa14e-8319-0410-a670-987f0aec2ac5> | 2006-09-21 21:23:37 +0000 |
---|---|---|
committer | eb <eb@221aa14e-8319-0410-a670-987f0aec2ac5> | 2006-09-21 21:23:37 +0000 |
commit | c8ed035413582319e606104d00ab69f919ab6038 (patch) | |
tree | be7c97ddeef0d8b42be1343b22bf4f0ae2fbbfd6 /config/usrp_fusb_tech.m4 | |
parent | 10a360549723bc9f64c97ed9bfa0acaaf514ac87 (diff) |
Merged -r3596:3600 of eb/ra_wb into trunk. This contains the
BSD read-ahead/write-behind fast usb support.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3601 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config/usrp_fusb_tech.m4')
-rw-r--r-- | config/usrp_fusb_tech.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/usrp_fusb_tech.m4 b/config/usrp_fusb_tech.m4 index 789e03c22f..bb1f73cf9d 100644 --- a/config/usrp_fusb_tech.m4 +++ b/config/usrp_fusb_tech.m4 @@ -41,6 +41,13 @@ AC_DEFUN([USRP_SET_FUSB_TECHNIQUE],[ darwin*) FUSB_TECH=darwin ;; cygwin*|win*|mingw*) FUSB_TECH=win32 ;; + *bsd*) + AC_MSG_CHECKING([for RA/WB]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <dev/usb/usb.h>]], + [[struct usb_bulk_ra_wb_opt o; + ioctl(0, USB_SET_BULK_RA, &o);]])], + [FUSB_TECH=ra_wb], + [FUSB_TECH=generic]) ;; *) FUSB_TECH=generic ;; esac @@ -51,5 +58,6 @@ AC_DEFUN([USRP_SET_FUSB_TECHNIQUE],[ AM_CONDITIONAL(FUSB_TECH_win32, test $FUSB_TECH = win32) AM_CONDITIONAL(FUSB_TECH_generic, test $FUSB_TECH = generic) AM_CONDITIONAL(FUSB_TECH_linux, test $FUSB_TECH = linux) + AM_CONDITIONAL(FUSB_TECH_ra_wb, test $FUSB_TECH = ra_wb) ]) |