Tue May 14 02:36:12 CEST 2002 ide-clean-63: - Propagate the queue handling changes to pmac as well. - Move set_transfer to ide-taskfile.c this is the only place where it's used and it can be made static there. Same applies to ide_ata66_check(). - Move ide_auto_reduce_xfer to ide.c. - Make ide_cmd() local to the only place where it's used. Rename it to drive_cmd(). Don't pass drive_cmd_intr() as parameter. - Remove ide_next command completion type. Nobody is using it. - Move ide_do_drive_cmd to ide-taskfile. It's used there and in sub-drivers. Not in ide.c. The usage inside the device type drivers is entirely bogus inconsistent and so on... - Kill bogus IRQ masking code. The kernel is supposed to handle this properly. We should not try to work against possible bugs in the overall irq handling code. Wow this is increasing the systems overall responsibility by a significant margin. - Remove disfunctional pdcadma code. It is only misleading to the user. Finally I know where the locking mis matches happen: It's in the device type drivers, which entirely disobey the locking done inside the generic code and which push REQ_DRIVE_CMD type request directly down through the request queue. We will have to deal with them later, simple due to the fact that I can not do everything at once. And finally I have different plans for them :-). (Hint: Why there should be 4 different ATAPI device handling drivers instead of one?)