-
- Downloads
ide: simplify 'struct ide_taskfile'
Make 'struct ide_taskfile' cover only 8 register values and thus put two such fields ('tf' and 'hob') into 'struct ide_cmd', dropping unnecessary 'tf_array' field from it. This required changing the prototype of ide_get_lba_addr() and ide_tf_dump(). Signed-off-by:Sergei Shtylyov <sshtylyov@ru.mvista.com> [bart: fix setting of ATA_LBA bit for LBA48 commands in __ide_do_rw_disk()] Signed-off-by:
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing
- drivers/ide/ide-acpi.c 1 addition, 1 deletiondrivers/ide/ide-acpi.c
- drivers/ide/ide-disk.c 15 additions, 15 deletionsdrivers/ide/ide-disk.c
- drivers/ide/ide-io-std.c 13 additions, 11 deletionsdrivers/ide/ide-io-std.c
- drivers/ide/ide-io.c 3 additions, 3 deletionsdrivers/ide/ide-io.c
- drivers/ide/ide-ioctls.c 2 additions, 2 deletionsdrivers/ide/ide-ioctls.c
- drivers/ide/ide-lib.c 8 additions, 7 deletionsdrivers/ide/ide-lib.c
- drivers/ide/ide-taskfile.c 13 additions, 18 deletionsdrivers/ide/ide-taskfile.c
- drivers/ide/ns87415.c 6 additions, 5 deletionsdrivers/ide/ns87415.c
- drivers/ide/scc_pata.c 13 additions, 11 deletionsdrivers/ide/scc_pata.c
- include/linux/ide.h 15 additions, 34 deletionsinclude/linux/ide.h
Loading
Please register or sign in to comment