mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC r203449:
Implement poll method for atapicam. It is not perfect, but better then nothing.
This commit is contained in:
parent
34cbb135e7
commit
ee22e37df5
1 changed files with 6 additions and 2 deletions
|
|
@ -682,8 +682,12 @@ action_invalid:
|
|||
static void
|
||||
atapi_poll(struct cam_sim *sim)
|
||||
{
|
||||
/* do nothing - we do not actually service any interrupts */
|
||||
printf("atapi_poll called!\n");
|
||||
struct atapi_xpt_softc *softc =
|
||||
(struct atapi_xpt_softc*)cam_sim_softc(sim);
|
||||
|
||||
mtx_unlock(&softc->state_lock);
|
||||
ata_interrupt(softc->ata_ch);
|
||||
mtx_lock(&softc->state_lock);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue