Print this page
3419 usbftdi needs to support the BeagleBone

*** 20,29 **** --- 20,32 ---- */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2012 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> + */ #ifndef _USBSER_USBFTDI_UFTDI_VAR_H #define _USBSER_USBFTDI_UFTDI_VAR_H /*
*** 82,92 **** int uf_bulkin_state; /* in pipe state */ usb_pipe_handle_t uf_bulkout_ph; /* in pipe hdl */ int uf_bulkout_state; /* out pipe state */ usb_log_handle_t uf_lh; /* USBA log handle */ int uf_dev_state; /* USB device state */ ! size_t uf_xfer_sz; /* HCI bulk xfer size */ uftdi_pm_t *uf_pm; /* PM support */ /* * data receive and transmit --- 85,96 ---- int uf_bulkin_state; /* in pipe state */ usb_pipe_handle_t uf_bulkout_ph; /* in pipe hdl */ int uf_bulkout_state; /* out pipe state */ usb_log_handle_t uf_lh; /* USBA log handle */ int uf_dev_state; /* USB device state */ ! size_t uf_ibuf_sz; /* input buffer size */ ! size_t uf_obuf_sz; /* output buffer size */ uftdi_pm_t *uf_pm; /* PM support */ /* * data receive and transmit
*** 110,120 **** uf_dip uf_dev_data uf_usb_events uf_def_ph uf_lh ! uf_xfer_sz uf_pm uf_port_state uf_cb uf_bulkin_ph uf_bulkout_ph --- 114,125 ---- uf_dip uf_dev_data uf_usb_events uf_def_ph uf_lh ! uf_ibuf_sz ! uf_obuf_sz uf_pm uf_port_state uf_cb uf_bulkin_ph uf_bulkout_ph