Lines Matching defs:slot
57 * for a slot are wired together and connected to either IO3 (slot1) or
58 * IO7 (slot2). Since no info can be obtained about the slot position
60 * - irq <= 6 -> slot 1
61 * - irq > 6 -> slot 2
71 iifun(int slot, int sr)
76 iinfo_p = &iinfo[slot];
81 if (slot == 0) {
92 add_sicallback((si_farg)iifun, (void*)slot, 0);
96 if (slot == 0) {
119 * XXXX to only generate interrupts for the slot the card is in...
125 int slot, i;
137 slot = SLOTNR(i);
138 iinfo_p = &iinfo[slot];
140 if (iinfo_p->slot < 0) {
143 " make sure the card is in slot %d!\n",
144 slot);
156 int slot;
164 slot = SLOTNR(irq);
165 iinfo_p = &iinfo[slot];
167 if (iinfo_p->slot >= 0)
170 ihand = intr_establish((slot == 0) ? 3 : 15, USER_VEC, 0,
171 (hw_ifun_t)iifun, (void *)slot);
173 iinfo_p->slot = slot;
182 if (slot == 0) {
200 if (iinfo_p->slot < 0)
204 iinfo_p->slot = -1;