1246115Shselasky/* $FreeBSD: releng/10.2/sys/dev/usb/ufm_ioctl.h 246115 2013-01-30 10:59:42Z hselasky $ */
2184610Salfred/*-
3184610Salfred * Copyright (c) 2001 M. Warner Losh
4184610Salfred * All rights reserved.
5184610Salfred *
6184610Salfred * Redistribution and use in source and binary forms, with or without
7184610Salfred * modification, are permitted provided that the following conditions
8184610Salfred * are met:
9184610Salfred * 1. Redistributions of source code must retain the above copyright
10184610Salfred *    notice, this list of conditions, and the following disclaimer.
11184610Salfred * 2. Redistributions in binary form must reproduce the above copyright
12184610Salfred *    notice, this list of conditions and the following disclaimer in the
13184610Salfred *    documentation and/or other materials provided with the distribution.
14184610Salfred *
15184610Salfred * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16184610Salfred * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17184610Salfred * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18184610Salfred * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
19184610Salfred * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20184610Salfred * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21184610Salfred * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22184610Salfred * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23184610Salfred * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24184610Salfred * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25184610Salfred * SUCH DAMAGE.
26184610Salfred *
27184610Salfred * This code is based on ugen.c and ulpt.c developed by Lennart Augustsson.
28184610Salfred * This code includes software developed by the NetBSD Foundation, Inc. and
29184610Salfred * its contributors.
30184610Salfred */
31184610Salfred
32246115Shselasky#ifndef _UFM_IOCTL_H_
33246115Shselasky#define	_UFM_IOCTL_H_
34184610Salfred
35184610Salfred#include <sys/ioccom.h>
36184610Salfred
37184610Salfred#define	FM_SET_FREQ	_IOWR('U', 200, int)
38184610Salfred#define	FM_GET_FREQ	_IOWR('U', 201, int)
39184610Salfred#define	FM_START	_IOWR('U', 202, int)
40184610Salfred#define	FM_STOP		_IOWR('U', 203, int)
41184610Salfred#define	FM_GET_STAT	_IOWR('U', 204, int)
42246115Shselasky
43246115Shselasky#endif			/* _UFM_IOCTL_H_ */
44