diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2010-02-03 21:45:09 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2010-02-03 21:45:09 +0000 |
| commit | 8c38cd7ceb34f4020f6d382b918bc2833369ed73 (patch) | |
| tree | efa636a681a7b4fde3f78c4ebae577c192e984a1 /sys/dev/ata | |
| parent | fff784a8dadcebddbcf072acf6375a2877ff07b1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/atapi-cam.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ata/atapi-cam.c b/sys/dev/ata/atapi-cam.c index 2ed54e71b51c..e5b002a89ac8 100644 --- a/sys/dev/ata/atapi-cam.c +++ b/sys/dev/ata/atapi-cam.c @@ -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 |
