Deleted Added
full compact
if_otusreg.h (288319) if_otusreg.h (288975)
1/* $OpenBSD: if_otusreg.h,v 1.9 2013/11/26 20:33:18 deraadt Exp $ */
2
3/*-
4 * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2007-2008 Atheros Communications, Inc.
6 * Copyright (c) 2015 Adrian Chadd <adrian@FreeBSD.org>
7 *
8 * Permission to use, copy, modify, and distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
10 * copyright notice and this permission notice appear in all copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 *
1/* $OpenBSD: if_otusreg.h,v 1.9 2013/11/26 20:33:18 deraadt Exp $ */
2
3/*-
4 * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2007-2008 Atheros Communications, Inc.
6 * Copyright (c) 2015 Adrian Chadd <adrian@FreeBSD.org>
7 *
8 * Permission to use, copy, modify, and distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
10 * copyright notice and this permission notice appear in all copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 *
20 * $FreeBSD: head/sys/dev/otus/if_otusreg.h 288319 2015-09-28 01:09:48Z adrian $
20 * $FreeBSD: head/sys/dev/otus/if_otusreg.h 288975 2015-10-07 03:33:25Z kevlo $
21 */
22#ifndef __IF_OTUSREG_H__
23#define __IF_OTUSREG_H__
24
25/* USB Endpoints addresses. */
26#define AR_EPT_BULK_TX_NO (UE_DIR_OUT | 1)
27#define AR_EPT_BULK_RX_NO (UE_DIR_IN | 2)
28#define AR_EPT_INTR_RX_NO (UE_DIR_IN | 3)

--- 840 unchanged lines hidden (view full) ---

869 1 << IEEE80211_RADIOTAP_CHANNEL)
870
871struct otus_softc;
872
873/* Firmware commands */
874struct otus_tx_cmd {
875 uint8_t *buf;
876 uint16_t buflen;
21 */
22#ifndef __IF_OTUSREG_H__
23#define __IF_OTUSREG_H__
24
25/* USB Endpoints addresses. */
26#define AR_EPT_BULK_TX_NO (UE_DIR_OUT | 1)
27#define AR_EPT_BULK_RX_NO (UE_DIR_IN | 2)
28#define AR_EPT_INTR_RX_NO (UE_DIR_IN | 3)

--- 840 unchanged lines hidden (view full) ---

869 1 << IEEE80211_RADIOTAP_CHANNEL)
870
871struct otus_softc;
872
873/* Firmware commands */
874struct otus_tx_cmd {
875 uint8_t *buf;
876 uint16_t buflen;
877 void * *odata;
877 void *odata;
878 uint16_t odatalen;
879 uint16_t token;
880 STAILQ_ENTRY(otus_tx_cmd) next_cmd;
881};
882
883/* TX, RX buffers */
884struct otus_data {
885 struct otus_softc *sc;

--- 145 unchanged lines hidden ---
878 uint16_t odatalen;
879 uint16_t token;
880 STAILQ_ENTRY(otus_tx_cmd) next_cmd;
881};
882
883/* TX, RX buffers */
884struct otus_data {
885 struct otus_softc *sc;

--- 145 unchanged lines hidden ---