Deleted Added
full compact
if_wpireg.h (173976) if_wpireg.h (177043)
1/* $FreeBSD: head/sys/dev/wpi/if_wpireg.h 173976 2007-11-27 08:58:32Z benjsc $ */
1/* $FreeBSD: head/sys/dev/wpi/if_wpireg.h 177043 2008-03-10 23:16:48Z thompsa $ */
2
3/*-
4 * Copyright (c) 2006,2007
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

39#define WPI_INTR 0x008
40#define WPI_MASK 0x00c
41#define WPI_INTR_STATUS 0x010
42#define WPI_GPIO_STATUS 0x018
43#define WPI_RESET 0x020
44#define WPI_GPIO_CTL 0x024
45#define WPI_EEPROM_CTL 0x02c
46#define WPI_EEPROM_STATUS 0x030
2
3/*-
4 * Copyright (c) 2006,2007
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

39#define WPI_INTR 0x008
40#define WPI_MASK 0x00c
41#define WPI_INTR_STATUS 0x010
42#define WPI_GPIO_STATUS 0x018
43#define WPI_RESET 0x020
44#define WPI_GPIO_CTL 0x024
45#define WPI_EEPROM_CTL 0x02c
46#define WPI_EEPROM_STATUS 0x030
47#define WPI_UCODE_SET 0x058
47#define WPI_UCODE_CLR 0x05c
48#define WPI_TEMPERATURE 0x060
49#define WPI_CHICKEN 0x100
50#define WPI_PLL_CTL 0x20c
51#define WPI_WRITE_MEM_ADDR 0x444
52#define WPI_READ_MEM_ADDR 0x448
53#define WPI_WRITE_MEM_DATA 0x44c
54#define WPI_READ_MEM_DATA 0x450

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

196
197struct wpi_rx_desc {
198 uint32_t len;
199 uint8_t type;
200#define WPI_UC_READY 1
201#define WPI_RX_DONE 27
202#define WPI_TX_DONE 28
203#define WPI_START_SCAN 130
48#define WPI_UCODE_CLR 0x05c
49#define WPI_TEMPERATURE 0x060
50#define WPI_CHICKEN 0x100
51#define WPI_PLL_CTL 0x20c
52#define WPI_WRITE_MEM_ADDR 0x444
53#define WPI_READ_MEM_ADDR 0x448
54#define WPI_WRITE_MEM_DATA 0x44c
55#define WPI_READ_MEM_DATA 0x450

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

197
198struct wpi_rx_desc {
199 uint32_t len;
200 uint8_t type;
201#define WPI_UC_READY 1
202#define WPI_RX_DONE 27
203#define WPI_TX_DONE 28
204#define WPI_START_SCAN 130
205#define WPI_SCAN_RESULTS 131
204#define WPI_STOP_SCAN 132
205#define WPI_STATE_CHANGED 161
206#define WPI_MISSED_BEACON 162
207
208 uint8_t flags;
209 uint8_t idx;
210 uint8_t qid;
211} __packed;

--- 526 unchanged lines hidden ---
206#define WPI_STOP_SCAN 132
207#define WPI_STATE_CHANGED 161
208#define WPI_MISSED_BEACON 162
209
210 uint8_t flags;
211 uint8_t idx;
212 uint8_t qid;
213} __packed;

--- 526 unchanged lines hidden ---