mwl: clean up empty lines in .c and .h files
This commit is contained in:
parent
382e0b00ca
commit
33739433e5
@ -98,7 +98,6 @@ static const struct mwl_pci_ident mwl_pci_ids[] = {
|
||||
{ 0x11ab, 0x2a0c, "Marvell 88W8363" },
|
||||
{ 0x11ab, 0x2a21, "Marvell 88W8363" },
|
||||
{ 0x11ab, 0x2a24, "Marvell 88W8363" },
|
||||
|
||||
{ 0, 0, NULL }
|
||||
};
|
||||
|
||||
@ -280,7 +279,6 @@ static device_method_t mwl_pci_methods[] = {
|
||||
DEVMETHOD(device_shutdown, mwl_pci_shutdown),
|
||||
DEVMETHOD(device_suspend, mwl_pci_suspend),
|
||||
DEVMETHOD(device_resume, mwl_pci_resume),
|
||||
|
||||
{ 0,0 }
|
||||
};
|
||||
static driver_t mwl_pci_driver = {
|
||||
|
@ -57,7 +57,6 @@
|
||||
#define MACREG_REG_A2H_INTERRUPT_CLEAR_SEL 0x00000C38 // (From ARM to host)
|
||||
#define MACREG_REG_A2H_INTERRUPT_STATUS_MASK 0x00000C3C // (From ARM to host)
|
||||
|
||||
|
||||
// Map to 0x80000000 on BAR1
|
||||
#define MACREG_REG_GEN_PTR 0x00000C10
|
||||
#define MACREG_REG_INT_CODE 0x00000C14
|
||||
@ -101,7 +100,6 @@
|
||||
|
||||
#define MACREG_A2HRIC_BIT_MASK ISR_SRC_BITS
|
||||
|
||||
|
||||
// Bit definitio for MACREG_REG_H2A_INTERRUPT_CAUSE (H2ARIC)
|
||||
#define MACREG_H2ARIC_BIT_PPA_READY 0x00000001 // bit 0
|
||||
#define MACREG_H2ARIC_BIT_DOOR_BELL 0x00000002 // bit 1
|
||||
@ -341,7 +339,6 @@ struct mwl_rxdesc {
|
||||
#define HostCmd_RESULT_BUSY 0x0004 // System is busy (command ignored)
|
||||
#define HostCmd_RESULT_PARTIAL_DATA 0x0005 // Data buffer is not big enough
|
||||
|
||||
|
||||
/*
|
||||
// Definition of action or option for each command
|
||||
//
|
||||
@ -377,7 +374,6 @@ struct mwl_rxdesc {
|
||||
|
||||
#define HostCmd_WEP_KEY_INDEX_MASK 0x3fffffff
|
||||
|
||||
|
||||
// Define action or option for HostCmd_CMD_802_11_RESET
|
||||
#define HostCmd_ACT_HALT 0x0001
|
||||
#define HostCmd_ACT_RESTART 0x0002
|
||||
@ -485,7 +481,6 @@ typedef struct {
|
||||
u_int32_t Enable; /* FALSE: Disable or TRUE: Enable */
|
||||
} __packed HostCmd_DS_BSS_START;
|
||||
|
||||
|
||||
typedef struct {
|
||||
u_int8_t ElemId;
|
||||
u_int8_t Len;
|
||||
@ -745,7 +740,6 @@ typedef struct {
|
||||
uint8_t Slot; // Slot=0 if regular, Slot=1 if short.
|
||||
} __packed HostCmd_FW_SET_SLOT;
|
||||
|
||||
|
||||
// Define data structure for HostCmd_CMD_802_11_GET_STAT
|
||||
typedef struct {
|
||||
FWCmdHdr CmdHdr;
|
||||
@ -778,7 +772,6 @@ typedef struct {
|
||||
uint32_t RxExcludedFrames;
|
||||
} __packed HostCmd_DS_802_11_GET_STAT;
|
||||
|
||||
|
||||
// Define data structure for HostCmd_CMD_MAC_REG_ACCESS
|
||||
typedef struct {
|
||||
FWCmdHdr CmdHdr;
|
||||
@ -806,7 +799,6 @@ typedef struct {
|
||||
uint8_t Reserverd[3];
|
||||
} __packed HostCmd_DS_RF_REG_ACCESS;
|
||||
|
||||
|
||||
// Define data structure for HostCmd_CMD_802_11_RADIO_CONTROL
|
||||
typedef struct {
|
||||
FWCmdHdr CmdHdr;
|
||||
@ -815,7 +807,6 @@ typedef struct {
|
||||
uint16_t RadioOn;
|
||||
} __packed HostCmd_DS_802_11_RADIO_CONTROL;
|
||||
|
||||
|
||||
#define TX_POWER_LEVEL_TOTAL 8
|
||||
// Define data structure for HostCmd_CMD_802_11_RF_TX_POWER
|
||||
typedef struct {
|
||||
@ -1141,7 +1132,6 @@ typedef struct {
|
||||
uint8_t ActionData[1];
|
||||
} __packed HostCmd_FW_UPDATE_ENCRYPTION;
|
||||
|
||||
|
||||
typedef struct {
|
||||
FWCmdHdr CmdHdr;
|
||||
uint32_t ActionType; // ENCR_ACTION_TYPE
|
||||
@ -1272,8 +1262,6 @@ typedef struct {
|
||||
uint8_t Watchdogbitmap; // for SW/BA
|
||||
} __packed HostCmd_FW_GET_WATCHDOG_BITMAP;
|
||||
|
||||
|
||||
|
||||
// Define data structure for HostCmd_CMD_SET_REGION_POWER
|
||||
typedef struct {
|
||||
FWCmdHdr CmdHdr;
|
||||
|
Loading…
Reference in New Issue
Block a user