usb_serial.h (194228) | usb_serial.h (194230) |
---|---|
1/* $NetBSD: ucomvar.h,v 1.9 2001/01/23 21:56:17 augustss Exp $ */ | 1/* $NetBSD: ucomvar.h,v 1.9 2001/01/23 21:56:17 augustss Exp $ */ |
2/* $FreeBSD: head/sys/dev/usb/serial/usb_serial.h 194228 2009-06-15 01:02:43Z thompsa $ */ | 2/* $FreeBSD: head/sys/dev/usb/serial/usb_serial.h 194230 2009-06-15 01:09:19Z thompsa $ */ |
3 4/*- 5 * Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: --- 48 unchanged lines hidden (view full) --- 59 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 60 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 61 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 62 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 63 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 64 * POSSIBILITY OF SUCH DAMAGE. 65 */ 66 | 3 4/*- 5 * Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: --- 48 unchanged lines hidden (view full) --- 59 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 60 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 61 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 62 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 63 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 64 * POSSIBILITY OF SUCH DAMAGE. 65 */ 66 |
67#ifndef _USB2_SERIAL_H_ 68#define _USB2_SERIAL_H_ | 67#ifndef _USB_SERIAL_H_ 68#define _USB_SERIAL_H_ |
69 70#include <sys/tty.h> 71#include <sys/serial.h> 72#include <sys/fcntl.h> 73#include <sys/termios.h> 74 75/* Module interface related macros */ 76#define UCOM_MODVER 1 --- 114 unchanged lines hidden (view full) --- 191void ucom_detach(struct ucom_super_softc *, 192 struct ucom_softc *, uint32_t); 193void ucom_status_change(struct ucom_softc *); 194uint8_t ucom_get_data(struct ucom_softc *, struct usb_page_cache *, 195 uint32_t, uint32_t, uint32_t *); 196void ucom_put_data(struct ucom_softc *, struct usb_page_cache *, 197 uint32_t, uint32_t); 198uint8_t ucom_cfg_is_gone(struct ucom_softc *); | 69 70#include <sys/tty.h> 71#include <sys/serial.h> 72#include <sys/fcntl.h> 73#include <sys/termios.h> 74 75/* Module interface related macros */ 76#define UCOM_MODVER 1 --- 114 unchanged lines hidden (view full) --- 191void ucom_detach(struct ucom_super_softc *, 192 struct ucom_softc *, uint32_t); 193void ucom_status_change(struct ucom_softc *); 194uint8_t ucom_get_data(struct ucom_softc *, struct usb_page_cache *, 195 uint32_t, uint32_t, uint32_t *); 196void ucom_put_data(struct ucom_softc *, struct usb_page_cache *, 197 uint32_t, uint32_t); 198uint8_t ucom_cfg_is_gone(struct ucom_softc *); |
199#endif /* _USB2_SERIAL_H_ */ | 199#endif /* _USB_SERIAL_H_ */ |