mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
ide: remove ide_execute_pkt_cmd() (v2)
* Pass command structure to ide_execute_command() and skip __ide_set_handler() for ATAPI protocols on non-DRQ devices. * Convert ide_issue_pc() to always use ide_execute_command() and remove no longer needed ide_execute_pkt_cmd(). v2: * Fix for non-DRQ devices (based on report from Borislav). There should be no functional changes caused by this patch. Acked-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
22117d6eaa
commit
35b5d0be3d
4 changed files with 19 additions and 32 deletions
|
@ -1138,9 +1138,8 @@ void ide_kill_rq(ide_drive_t *, struct request *);
|
|||
void __ide_set_handler(ide_drive_t *, ide_handler_t *, unsigned int);
|
||||
void ide_set_handler(ide_drive_t *, ide_handler_t *, unsigned int);
|
||||
|
||||
void ide_execute_command(ide_drive_t *, u8, ide_handler_t *, unsigned int);
|
||||
|
||||
void ide_execute_pkt_cmd(ide_drive_t *);
|
||||
void ide_execute_command(ide_drive_t *, struct ide_cmd *, ide_handler_t *,
|
||||
unsigned int);
|
||||
|
||||
void ide_pad_transfer(ide_drive_t *, int, int);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue