ide: more unifications of ATA and ATAPI support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ide: pass command to ide_map_sg()drivers/ drivers/ drivers/ +14 more | +101 | 2 replies | |
| 2/6 | ide: use do_rw_taskfile() for ATA_CMD_PACKET commandsdrivers/ drivers/ drivers/ +3 more | +53 | 0 replies | |
| 3/6 | ide: set hwif->expiry prior to calling [__]ide_set_handler()drivers/ drivers/ drivers/ +4 more | +24 | 1 reply | |
| 4/6 | ide: add ->dma_expiry method and remove ->dma_exec_cmd onedrivers/ drivers/ drivers/ +20 more | +32 | 5 replies | |
| 5/6 | ide: remove ide_execute_pkt_cmd()drivers/ drivers/ drivers/ +1 more | +17 | 10 replies | |
| 6/6 | ide: keep track of number of bytes instead of sectors in struct ide_cmddrivers/ drivers/ drivers/ +2 more | +24 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Sergei Shtylyov |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | A-b |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] ide: more unifications of ATA and ATAPI support
After this patchset we have a valid struct ide_cmd available also for ATA_CMD_PACKET commands and comparing struct ide_atapi_pc with ide_cmd it seems that there are many similarities between them and that we may just merge both structs (this should also allow us to unify ide-cd code with non-ide-cd one in ide-atapi.c later). From the quick look the only gotcha is REQUEST SENSE handling, ->request_sense_pc needs to be converted to ->request_sense_cmd and we have to be careful with choosing right 'cmd' in *_issue_pc()...
Borislav, please take a look and tell me what do you think about it (also feel free to go ahead with patches :-)...
On top of "[PATCH 0/9] ide: unify request completion methods" patchset [ http://lkml.org/lkml/2009/2/9/398 ].
diffstat:
drivers/ide/alim15x3.c | 9 ++--- drivers/ide/au1xxx-ide.c | 23 +++---------- drivers/ide/cmd64x.c | 6 +-- drivers/ide/cs5536.c | 2 - drivers/ide/hpt366.c | 6 +-- drivers/ide/icside.c | 14 +------- drivers/ide/ide-atapi.c | 77 +++++++++++++++++++++------------------------ drivers/ide/ide-cd.c | 14 +++++++- drivers/ide/ide-disk.c | 14 ++++---- drivers/ide/ide-dma-sff.c | 33 +++++++------------ drivers/ide/ide-dma.c | 16 ++++----- drivers/ide/ide-eh.c | 9 ++--- drivers/ide/ide-floppy.c | 32 +++++++++++------- drivers/ide/ide-io.c | 14 ++++---- drivers/ide/ide-iops.c | 42 ++++++++---------------- drivers/ide/ide-tape.c | 19 ++++++++--- drivers/ide/ide-taskfile.c | 57 ++++++++++++++++----------------- drivers/ide/it821x.c | 2 - drivers/ide/ns87415.c | 6 +-- drivers/ide/pdc202xx_old.c | 4 +- drivers/ide/pmac.c | 27 ++++----------- drivers/ide/sc1200.c | 2 - drivers/ide/scc_pata.c | 21 ++++-------- drivers/ide/sgiioc4.c | 21 ++++-------- drivers/ide/siimage.c | 2 - drivers/ide/sl82c105.c | 2 - drivers/ide/tc86c001.c | 2 - drivers/ide/trm290.c | 16 ++------- drivers/ide/tx4939ide.c | 28 ++++++---------- include/linux/ide.h | 36 +++++++++------------ 30 files changed, 251 insertions(+), 305 deletions(-)