diff options
author | eb | 2006-09-21 21:23:37 +0000 |
---|---|---|
committer | eb | 2006-09-21 21:23:37 +0000 |
commit | c8ed035413582319e606104d00ab69f919ab6038 (patch) | |
tree | be7c97ddeef0d8b42be1343b22bf4f0ae2fbbfd6 /usrp/host/lib/usrp_basic.cc | |
parent | 10a360549723bc9f64c97ed9bfa0acaaf514ac87 (diff) | |
download | gnuradio-c8ed035413582319e606104d00ab69f919ab6038.tar.gz gnuradio-c8ed035413582319e606104d00ab69f919ab6038.tar.bz2 gnuradio-c8ed035413582319e606104d00ab69f919ab6038.zip |
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 'usrp/host/lib/usrp_basic.cc')
-rw-r--r-- | usrp/host/lib/usrp_basic.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usrp/host/lib/usrp_basic.cc b/usrp/host/lib/usrp_basic.cc index baecb666f..2eef14727 100644 --- a/usrp/host/lib/usrp_basic.cc +++ b/usrp/host/lib/usrp_basic.cc @@ -42,8 +42,7 @@ using namespace ad9862; // These set the buffer size used for each end point using the fast // usb interface. The kernel ends up locking down this much memory. -static const int FUSB_BUFFER_SIZE = 2 * (1L << 20); // 2 MB (was 8 MB) -//static const int FUSB_BUFFER_SIZE = 256 * (1L << 10); // 256 kB +static const int FUSB_BUFFER_SIZE = fusb_sysconfig::default_buffer_size(); static const int FUSB_BLOCK_SIZE = fusb_sysconfig::max_block_size(); static const int FUSB_NBLOCKS = FUSB_BUFFER_SIZE / FUSB_BLOCK_SIZE; |