summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/sdio.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2021-10-19 07:11:41 +0800
committerFelix Fietkau <nbd@nbd.name>2021-10-20 10:36:58 +0200
commit3ad0850934179103e7c4ba8574139543b1109bbf (patch)
tree67daf692fd89bf93a92c2bfd70f30a0815d5be7e /drivers/net/wireless/mediatek/mt76/sdio.h
parent764dee47e2c1ed828c8a51cbf58f89b5e3ded11b (diff)
downloadlwn-3ad0850934179103e7c4ba8574139543b1109bbf.tar.gz
lwn-3ad0850934179103e7c4ba8574139543b1109bbf.zip
mt76: sdio: introduce parse_irq callback
Add parse_irq to handle that interrupt status structure is different between mt7663s and mt7921s. This is a preliminary patch to introduce mt7921s driver Tested-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/sdio.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/sdio.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/sdio.h b/drivers/net/wireless/mediatek/mt76/sdio.h
index 03877d89e152..dfcba5e3786c 100644
--- a/drivers/net/wireless/mediatek/mt76/sdio.h
+++ b/drivers/net/wireless/mediatek/mt76/sdio.h
@@ -102,14 +102,14 @@
struct mt76s_intr {
u32 isr;
+ u32 *rec_mb;
struct {
- u32 wtqcr[8];
+ u32 *wtqcr;
} tx;
struct {
- u16 num[2];
- u16 len[2][16];
+ u16 *len[2];
+ u16 *num;
} rx;
- u32 rec_mb[2];
-} __packed;
+};
#endif