Searched refs:MAYBE_SET (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/drivers/net/pcmcia/ |
D | xirc2ps_cs.c | 2111 #define MAYBE_SET(X,Y) if (ints[0] >= Y && ints[Y] != -1) { X = ints[Y]; } in setup_xirc2ps_cs() macro 2112 MAYBE_SET(irq_list[0], 1); in setup_xirc2ps_cs() 2113 MAYBE_SET(irq_mask, 2); in setup_xirc2ps_cs() 2114 MAYBE_SET(if_port, 3); in setup_xirc2ps_cs() 2115 MAYBE_SET(full_duplex, 4); in setup_xirc2ps_cs() 2116 MAYBE_SET(do_sound, 5); in setup_xirc2ps_cs() 2117 MAYBE_SET(lockup_hack, 6); in setup_xirc2ps_cs() 2118 MAYBE_SET(irq_list[1], 7); in setup_xirc2ps_cs() 2119 MAYBE_SET(irq_list[2], 8); in setup_xirc2ps_cs() 2120 MAYBE_SET(irq_list[3], 9); in setup_xirc2ps_cs() [all …]
|