Implement poll method for atapicam.
It is not perfect, but better then nothing.
This commit is contained in:
parent
fff784a8da
commit
8c38cd7ceb
@ -682,8 +682,12 @@ atapi_action(struct cam_sim *sim, union ccb *ccb)
|
||||
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 New Issue
Block a user