mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
Save fdtbus trigger / polarity data at their correct index.
This commit is contained in:
parent
a22cd1e668
commit
caaa3c62d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209905
@ -529,8 +529,8 @@ fdt_intr_to_rl(phandle_t node, struct resource_list *rl,
|
||||
debugf("decoded intr = %d, trig = %d, pol = %d\n", interrupt,
|
||||
trig, pol);
|
||||
|
||||
intr_sl[intr_num].trig = trig;
|
||||
intr_sl[intr_num].pol = pol;
|
||||
intr_sl[i].trig = trig;
|
||||
intr_sl[i].pol = pol;
|
||||
|
||||
resource_list_add(rl, SYS_RES_IRQ, i, interrupt, interrupt, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user