mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-24 01:57:06 +01:00
- Only poll the PCIC controller for insertion/removal events if the
controller hasn't been assigned an IRQ.
This commit is contained in:
parent
25ab4f55c1
commit
e4c50d858a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35344
@ -795,7 +795,7 @@ pcic_probe(void)
|
||||
pcic98_probe_end:
|
||||
}
|
||||
#endif /* PC98 */
|
||||
if (validslots)
|
||||
if (validslots && pcic_irq <= 0)
|
||||
pcictimeout_ch = timeout(pcictimeout, 0, hz/2);
|
||||
return(validslots);
|
||||
}
|
||||
@ -1051,8 +1051,9 @@ pcic_disable(struct slot *slt)
|
||||
}
|
||||
|
||||
/*
|
||||
* PCIC timer, it seems that we lose interrupts sometimes
|
||||
* so poll just in case...
|
||||
* PCIC timer. If the controller doesn't have a free IRQ to use
|
||||
* or if interrupt steering doesn't work, poll the controller for
|
||||
* insertion/removal events.
|
||||
*/
|
||||
static void
|
||||
pcictimeout(void *chan)
|
||||
|
Loading…
Reference in New Issue
Block a user