| commit | 2b9efba48283f34083df6bc53f6752fba4e4d409 | [log] [tgz] |
|---|---|---|
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Oct 13 21:39:31 2008 +0200 |
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Oct 13 21:39:31 2008 +0200 |
| tree | 215d86f1934c896f8ec609ab033b69bf5b99e217 | |
| parent | b14c72127fbe8f97e49de7437520175673f7306a [diff] |
ide: add pointer to the current packet command to ide_drive_t
* Add pointer to the current packet command (struct ide_atapi_pc *pc)
to ide_drive_t and use it instead of the pointer in struct ide_*_obj.
* Use drive->pc in ide_{issue,transfer}_pc() and ide_pc_intr()
instead of 'pc' argument.
There should be no functional changes caused by this patch.
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>