usb_serial.h (214843) | usb_serial.h (230204) |
---|---|
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 214843 2010-11-05 19:12:48Z n_hibma $ */ | 2/* $FreeBSD: head/sys/dev/usb/serial/usb_serial.h 230204 2012-01-16 08:13:25Z hselasky $ */ |
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: --- 54 unchanged lines hidden (view full) --- 65 */ 66 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> | 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: --- 54 unchanged lines hidden (view full) --- 65 */ 66 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/sysctl.h> |
|
73 74/* Module interface related macros */ 75#define UCOM_MODVER 1 76 77#define UCOM_MINVER 1 78#define UCOM_PREFVER UCOM_MODVER 79#define UCOM_MAXVER 1 80 --- 46 unchanged lines hidden (view full) --- 127struct ucom_param_task { 128 struct usb_proc_msg hdr; 129 struct ucom_softc *sc; 130 struct termios termios_copy; 131}; 132 133struct ucom_super_softc { 134 struct usb_process sc_tq; | 74 75/* Module interface related macros */ 76#define UCOM_MODVER 1 77 78#define UCOM_MINVER 1 79#define UCOM_PREFVER UCOM_MODVER 80#define UCOM_MAXVER 1 81 --- 46 unchanged lines hidden (view full) --- 128struct ucom_param_task { 129 struct usb_proc_msg hdr; 130 struct ucom_softc *sc; 131 struct termios termios_copy; 132}; 133 134struct ucom_super_softc { 135 struct usb_process sc_tq; |
135 uint32_t sc_unit; 136 uint32_t sc_subunits; | 136 int sc_unit; 137 int sc_subunits; 138 struct sysctl_oid *sc_sysctl_ttyunit; 139 struct sysctl_oid *sc_sysctl_ttyports; |
137}; 138 139struct ucom_softc { 140 /* 141 * NOTE: To avoid loosing level change information we use two 142 * tasks instead of one for all commands. 143 * 144 * Level changes are transitions like: --- 59 unchanged lines hidden --- | 140}; 141 142struct ucom_softc { 143 /* 144 * NOTE: To avoid loosing level change information we use two 145 * tasks instead of one for all commands. 146 * 147 * Level changes are transitions like: --- 59 unchanged lines hidden --- |