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 <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2021-10-19 12:15:59 +02:00
committed by Felix Fietkau
parent 5079d5b0b1
commit 2625759439
5 changed files with 51 additions and 15 deletions
+5 -5
View File
@@ -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