ACPI: PCI: lookup _PRT entry by PCI dev and pin, not segment/bus/dev/pin
[linux-2.6/mini2440.git] / include / linux / uwb / debug-cmd.h
blob1141f41bab5c6c15b7446437671bc6179c7a0b8d
1 /*
2 * Ultra Wide Band
3 * Debug interface commands
5 * Copyright (C) 2008 Cambridge Silicon Radio Ltd.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License version
9 * 2 as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef __LINUX__UWB__DEBUG_CMD_H__
20 #define __LINUX__UWB__DEBUG_CMD_H__
22 #include <linux/types.h>
25 * Debug interface commands
27 * UWB_DBG_CMD_RSV_ESTABLISH: Establish a new unicast reservation.
29 * UWB_DBG_CMD_RSV_TERMINATE: Terminate the Nth reservation.
32 enum uwb_dbg_cmd_type {
33 UWB_DBG_CMD_RSV_ESTABLISH = 1,
34 UWB_DBG_CMD_RSV_TERMINATE = 2,
37 struct uwb_dbg_cmd_rsv_establish {
38 __u8 target[6];
39 __u8 type;
40 __u16 max_mas;
41 __u16 min_mas;
42 __u8 sparsity;
45 struct uwb_dbg_cmd_rsv_terminate {
46 int index;
49 struct uwb_dbg_cmd {
50 __u32 type;
51 union {
52 struct uwb_dbg_cmd_rsv_establish rsv_establish;
53 struct uwb_dbg_cmd_rsv_terminate rsv_terminate;
57 #endif /* #ifndef __LINUX__UWB__DEBUG_CMD_H__ */