Skip to content

Commit

Permalink
ath6kl: Remove duplicate mbox_host_reg.h
Browse files Browse the repository at this point in the history
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Vasanthakumar Thiagarajan authored and Greg Kroah-Hartman committed May 3, 2011
1 parent b783adb commit e428b6d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 442 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/ath6kl/bmi/include/bmi_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "a_osapi.h"
#define ATH_MODULE_NAME bmi
#include "a_debug.h"
#include "AR6002/hw2.0/hw/mbox_host_reg.h"
#include "hw/mbox_host_reg.h"
#include "bmi_msg.h"

#define ATH_DEBUG_BMI ATH_DEBUG_MAKE_MODULE_MASK(0)
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include "hif_internal.h"
#define ATH_MODULE_NAME hif
#include "a_debug.h"
#include "AR6002/hw2.0/hw/mbox_host_reg.h"
#include "hw/mbox_host_reg.h"

#if HIF_USE_DMA_BOUNCE_BUFFER
/* macro to check if DMA buffer is WORD-aligned and DMA-able. Most host controllers assume the
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/ath6kl/htc2/AR6000/ar6k.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "a_config.h"
#include "athdefs.h"
#include "a_types.h"
#include "AR6002/hw2.0/hw/mbox_host_reg.h"
#include "hw/mbox_host_reg.h"
#include "a_osapi.h"
#include "../htc_debug.h"
#include "hif.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/ath6kl/htc2/AR6000/ar6k_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "a_config.h"
#include "athdefs.h"
#include "a_types.h"
#include "AR6002/hw2.0/hw/mbox_host_reg.h"
#include "hw/mbox_host_reg.h"
#include "a_osapi.h"
#include "../htc_debug.h"
#include "hif.h"
Expand Down
386 changes: 0 additions & 386 deletions drivers/staging/ath6kl/include/common/AR6002/hw2.0/hw/mbox_host_reg.h

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -468,55 +468,4 @@
#define CIS_WINDOW_DATA_SET(x) (((x) << CIS_WINDOW_DATA_LSB) & CIS_WINDOW_DATA_MASK)


#ifndef __ASSEMBLER__

typedef struct mbox_wlan_host_reg_reg_s {
unsigned char pad0[1024]; /* pad to 0x400 */
volatile unsigned char host_int_status;
volatile unsigned char cpu_int_status;
volatile unsigned char error_int_status;
volatile unsigned char counter_int_status;
volatile unsigned char mbox_frame;
volatile unsigned char rx_lookahead_valid;
volatile unsigned char host_int_status2;
volatile unsigned char gmbox_rx_avail;
volatile unsigned char rx_lookahead0[4];
volatile unsigned char rx_lookahead1[4];
volatile unsigned char rx_lookahead2[4];
volatile unsigned char rx_lookahead3[4];
volatile unsigned char int_status_enable;
volatile unsigned char cpu_int_status_enable;
volatile unsigned char error_status_enable;
volatile unsigned char counter_int_status_enable;
unsigned char pad1[4]; /* pad to 0x420 */
volatile unsigned char count[8];
unsigned char pad2[24]; /* pad to 0x440 */
volatile unsigned char count_dec[32];
volatile unsigned char scratch[8];
volatile unsigned char fifo_timeout;
volatile unsigned char fifo_timeout_enable;
volatile unsigned char disable_sleep;
unsigned char pad3[5]; /* pad to 0x470 */
volatile unsigned char local_bus;
unsigned char pad4[1]; /* pad to 0x472 */
volatile unsigned char int_wlan;
unsigned char pad5[1]; /* pad to 0x474 */
volatile unsigned char window_data[4];
volatile unsigned char window_write_addr[4];
volatile unsigned char window_read_addr[4];
volatile unsigned char host_ctrl_spi_config;
volatile unsigned char host_ctrl_spi_status;
volatile unsigned char non_assoc_sleep_en;
volatile unsigned char cpu_dbg_sel;
volatile unsigned char cpu_dbg[4];
volatile unsigned char int_status2_enable;
unsigned char pad6[7]; /* pad to 0x490 */
volatile unsigned char gmbox_rx_lookahead[8];
volatile unsigned char gmbox_rx_lookahead_mux;
unsigned char pad7[359]; /* pad to 0x600 */
volatile unsigned char cis_window[512];
} mbox_wlan_host_reg_reg_t;

#endif /* __ASSEMBLER__ */

#endif /* _MBOX_WLAN_HOST_REG_H_ */
2 changes: 1 addition & 1 deletion drivers/staging/ath6kl/miscdrv/common_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "athdefs.h"
#include "a_types.h"

#include "AR6002/hw2.0/hw/mbox_host_reg.h"
#include "hw/mbox_host_reg.h"
#include "AR6002/hw2.0/hw/si_reg.h"
#include "AR6002/hw2.0/hw/gpio_reg.h"
#include "AR6002/hw2.0/hw/rtc_reg.h"
Expand Down

0 comments on commit e428b6d

Please sign in to comment.