Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236384
b: refs/heads/master
c: dfaa26b
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and Greg Kroah-Hartman committed Mar 11, 2011
1 parent 3def2cf commit af383ec
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 03e41d55390a5dab2ab9945eef331edb2eddd72f
refs/heads/master: dfaa26b47a67d4b3bf598bdf607f953ed3338681
8 changes: 4 additions & 4 deletions trunk/drivers/staging/ath6kl/htc2/AR6000/ar6k.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ int DevSetup(struct ar6k_device *pDev)
int DevEnableInterrupts(struct ar6k_device *pDev)
{
int status;
AR6K_IRQ_ENABLE_REGISTERS regs;
struct ar6k_irq_enable_registers regs;

LOCK_AR6K(pDev);

Expand Down Expand Up @@ -278,7 +278,7 @@ int DevEnableInterrupts(struct ar6k_device *pDev)

int DevDisableInterrupts(struct ar6k_device *pDev)
{
AR6K_IRQ_ENABLE_REGISTERS regs;
struct ar6k_irq_enable_registers regs;

LOCK_AR6K(pDev);
/* Disable all interrupts */
Expand Down Expand Up @@ -407,7 +407,7 @@ static int DevDoEnableDisableRecvNormal(struct ar6k_device *pDev, bool EnableRec
{
int status = 0;
HTC_PACKET *pIOPacket = NULL;
AR6K_IRQ_ENABLE_REGISTERS regs;
struct ar6k_irq_enable_registers regs;

/* take the lock to protect interrupt enable shadows */
LOCK_AR6K(pDev);
Expand Down Expand Up @@ -538,7 +538,7 @@ int DevWaitForPendingRecv(struct ar6k_device *pDev,u32 TimeoutInMs,bool *pbIsRec

void DevDumpRegisters(struct ar6k_device *pDev,
AR6K_IRQ_PROC_REGISTERS *pIrqProcRegs,
AR6K_IRQ_ENABLE_REGISTERS *pIrqEnableRegs)
struct ar6k_irq_enable_registers *pIrqEnableRegs)
{

AR_DEBUG_PRINTF(ATH_DEBUG_ANY, ("\n<------- Register Table -------->\n"));
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/staging/ath6kl/htc2/AR6000/ar6k.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,20 @@ typedef PREPACK struct _AR6K_IRQ_PROC_REGISTERS {

#define AR6K_IRQ_PROC_REGS_SIZE sizeof(AR6K_IRQ_PROC_REGISTERS)

typedef PREPACK struct _AR6K_IRQ_ENABLE_REGISTERS {
PREPACK struct ar6k_irq_enable_registers {
u8 int_status_enable;
u8 cpu_int_status_enable;
u8 error_status_enable;
u8 counter_int_status_enable;
} POSTPACK AR6K_IRQ_ENABLE_REGISTERS;
} POSTPACK;

PREPACK struct ar6k_gmbox_ctrl_registers {
u8 int_status_enable;
} POSTPACK;

#include "athendpack.h"

#define AR6K_IRQ_ENABLE_REGS_SIZE sizeof(AR6K_IRQ_ENABLE_REGISTERS)
#define AR6K_IRQ_ENABLE_REGS_SIZE sizeof(struct ar6k_irq_enable_registers)

#define AR6K_REG_IO_BUFFER_SIZE 32
#define AR6K_MAX_REG_IO_BUFFERS 8
Expand Down Expand Up @@ -110,7 +110,7 @@ struct ar6k_device {
u8 _Pad1[A_CACHE_LINE_PAD];
AR6K_IRQ_PROC_REGISTERS IrqProcRegisters; /* cache-line safe with pads around */
u8 _Pad2[A_CACHE_LINE_PAD];
AR6K_IRQ_ENABLE_REGISTERS IrqEnableRegisters; /* cache-line safe with pads around */
struct ar6k_irq_enable_registers IrqEnableRegisters; /* cache-line safe with pads around */
u8 _Pad3[A_CACHE_LINE_PAD];
void *HIFDevice;
u32 BlockSize;
Expand Down Expand Up @@ -160,7 +160,7 @@ int DevCheckPendingRecvMsgsAsync(void *context);
void DevAsyncIrqProcessComplete(struct ar6k_device *pDev);
void DevDumpRegisters(struct ar6k_device *pDev,
AR6K_IRQ_PROC_REGISTERS *pIrqProcRegs,
AR6K_IRQ_ENABLE_REGISTERS *pIrqEnableRegs);
struct ar6k_irq_enable_registers *pIrqEnableRegs);

#define DEV_STOP_RECV_ASYNC true
#define DEV_STOP_RECV_SYNC false
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/ath6kl/htc2/AR6000/ar6k_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ int DevDsrHandler(void *context)
void DumpAR6KDevState(struct ar6k_device *pDev)
{
int status;
AR6K_IRQ_ENABLE_REGISTERS regs;
struct ar6k_irq_enable_registers regs;
AR6K_IRQ_PROC_REGISTERS procRegs;

LOCK_AR6K(pDev);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/ath6kl/htc2/AR6000/ar6k_gmbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void DevGMboxIRQActionAsyncHandler(void *Context, HTC_PACKET *pPacket)
static int DevGMboxCounterEnableDisable(struct ar6k_device *pDev, GMBOX_IRQ_ACTION_TYPE IrqAction, bool AsyncMode)
{
int status = 0;
AR6K_IRQ_ENABLE_REGISTERS regs;
struct ar6k_irq_enable_registers regs;
HTC_PACKET *pIOPacket = NULL;

LOCK_AR6K(pDev);
Expand Down

0 comments on commit af383ec

Please sign in to comment.