aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/ath
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-03-09 17:08:53 +0000
committerMichael Brown <mcb30@ipxe.org>2012-03-09 17:09:26 +0000
commit74b1e706a8cc4a85b82ec6afb8389c9af4eb87b7 (patch)
treedacb588dfe9a6755e3b328fdf2c66334cfdaf8fd /src/drivers/net/ath
parentb4bb39909eac7f1bf0fc59c5397e9caaa16a1a59 (diff)
downloadipxe-74b1e706a8cc4a85b82ec6afb8389c9af4eb87b7.tar.gz
[ath9k] Fix compilation on older gcc versions
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/ath')
-rw-r--r--src/drivers/net/ath/ath9k/ath9k_mac.c2
-rw-r--r--src/drivers/net/ath/ath9k/mac.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/net/ath/ath9k/ath9k_mac.c b/src/drivers/net/ath/ath9k/ath9k_mac.c
index fbb3c334e..c2f6d630a 100644
--- a/src/drivers/net/ath/ath9k/ath9k_mac.c
+++ b/src/drivers/net/ath/ath9k/ath9k_mac.c
@@ -638,7 +638,7 @@ void ath9k_hw_enable_interrupts(struct ath_hw *ah)
REG_READ(ah, AR_IMR), REG_READ(ah, AR_IER));
}
-void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints)
+void ath9k_hw_set_interrupts(struct ath_hw *ah, unsigned int ints)
{
enum ath9k_int omask = ah->imask;
u32 mask, mask2;
diff --git a/src/drivers/net/ath/ath9k/mac.h b/src/drivers/net/ath/ath9k/mac.h
index c11fe4a5f..5899230e0 100644
--- a/src/drivers/net/ath/ath9k/mac.h
+++ b/src/drivers/net/ath/ath9k/mac.h
@@ -668,7 +668,6 @@ enum ath9k_key_type {
struct ath_hw;
struct ath9k_channel;
-enum ath9k_int;
u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q);
void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp);
@@ -699,7 +698,7 @@ int ath9k_hw_stopdmarecv(struct ath_hw *ah, int *reset);
/* Interrupt Handling */
int ath9k_hw_intrpend(struct ath_hw *ah);
-void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints);
+void ath9k_hw_set_interrupts(struct ath_hw *ah, unsigned int ints);
void ath9k_hw_enable_interrupts(struct ath_hw *ah);
void ath9k_hw_disable_interrupts(struct ath_hw *ah);