summaryrefslogtreecommitdiffstats
path: root/drivers/staging/agnx
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-06-04 20:29:54 +0200
committerGreg Kroah-Hartman2009-06-19 20:00:35 +0200
commitf94338f64dff31c6aadd37204fa27c1c5918dde9 (patch)
tree7ccf49596b1f6023b8da1fd5c8cfef497f2bbd67 /drivers/staging/agnx
parentStaging: agnx: replace print_mac with %pM (diff)
downloadkernel-qcow2-linux-f94338f64dff31c6aadd37204fa27c1c5918dde9.tar.gz
kernel-qcow2-linux-f94338f64dff31c6aadd37204fa27c1c5918dde9.tar.xz
kernel-qcow2-linux-f94338f64dff31c6aadd37204fa27c1c5918dde9.zip
Staging: agnx: fix build warnings
This fixes some build warnings in the agnx driver. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/agnx')
-rw-r--r--drivers/staging/agnx/pci.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/staging/agnx/pci.c b/drivers/staging/agnx/pci.c
index 0df7d43c4c32..1fe987065257 100644
--- a/drivers/staging/agnx/pci.c
+++ b/drivers/staging/agnx/pci.c
@@ -58,15 +58,17 @@ static inline void agnx_interrupt_ack(struct agnx_priv *priv, u32 *reason)
*reason |= AGNX_STAT_TXM;
}
}
-/* if (*reason & AGNX_STAT_X) {
+#if 0
+ if (*reason & AGNX_STAT_X) {
reg = ioread32(ctl + AGNX_INT_STAT);
iowrite32(reg, ctl + AGNX_INT_STAT);
- /* FIXME reinit interrupt mask *\/
+ /* FIXME reinit interrupt mask */
reg = 0xc390bf9 & ~IRQ_TX_BEACON;
reg &= ~IRQ_TX_DISABLE;
iowrite32(reg, ctl + AGNX_INT_MASK);
iowrite32(0x800, ctl + AGNX_CIR_BLKCTL);
- } */
+ }
+#endif
} /* agnx_interrupt_ack */
static irqreturn_t agnx_interrupt_handler(int irq, void *dev_id)
@@ -219,7 +221,7 @@ static void agnx_periodic_work_handler(struct work_struct *work)
/* TODO Recalibrate*/
/* calibrate_oscillator(priv); */
/* antenna_calibrate(priv); */
-/* agnx_send_packet(priv, 997); /
+/* agnx_send_packet(priv, 997); */
/* FIXME */
/* if (debug == 3) */
/* delay = msecs_to_jiffies(AGNX_PERIODIC_DELAY); */