[PATCH] IDE 21
authorMartin Dalecki <dalecki@evision-ventures.com>
Wed, 13 Mar 2002 02:33:04 +0000 (18:33 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Wed, 13 Mar 2002 02:33:04 +0000 (18:33 -0800)
commit10cea35adc4699670022c311c7d17526ce188bec
tree178c3282d118804554f212165179f1a29e04605a
parenta8723f3508befa6511656eb9e445c9cf9a45df25
[PATCH] IDE 21

If I was to give this patch a name it would be:

"Vojtech Pavlik unleashed from the chains".

So credit where credit is due :-).

Anyway here follows the change log:

Mon Mar 11 23:48:28 CET 2002 ide-clean-21

- Swallow rewritten amd74xx host chip setup code from Vojtech Pavlik.  We can
   revert it easly if it turns out to be a bad thing. However the code looks
   quite sane to me. In esp. it doesn't containg that many magic numbers.

- Clean stale white spaces in ide-timing.h tirvial fix.

- Make ide_release_dma return void. It's value is never used anyway.

- Swallow more timing setup code cleanup by Vojtech Pavlik. Apply some
   cosmetics to it. Port opti621 to the new setup code.

- Kill abuse of ide_do_reset() on error return paths for atapi floppy tape and
   cd-rom devices. Just stop them. This gives better changes that defect
   removable media will not cause suddenly broken timings on hard discs
   containing system data! Even then comments in ide_do_reset() admit, that
   resetting the whole channel can have adverse effects on the second interface
   on this channel. And I have too frequently observed linux struggling on
   defect cd-rom for a far too long time to wish it to continue.

   Oh did I forget to say that the corresponding "how can I break my system fast
   and reliable" ioctl is gone as well?

   Removing it recovered the fact that the CONFIG_BLK_DEV_IDEDMA_TIMEOUT is
   completely bogous. I have removed this option therefore as well, because it's
   playing the same wrack havoc on the devices if enabled. This cat has been in
   an unfinished and *unfunctional* state anyway.

- Actually add physical suspend code to the power handling code.  Still the
   resume code isn't finished just jet. This is all subject to change at the
   point in time when we get to proper command queueing.
   I think however that Pavel will be interrested in tidding this bit up...

- Resync with 2.5.7-pre1.
49 files changed:
arch/alpha/defconfig
arch/cris/drivers/ide.c
arch/i386/defconfig
arch/mips64/kernel/ioctl32.c
arch/sparc64/defconfig
drivers/ide/Config.help
drivers/ide/Config.in
drivers/ide/Makefile
drivers/ide/aec62xx.c
drivers/ide/ali14xx.c
drivers/ide/alim15x3.c
drivers/ide/amd74xx.c
drivers/ide/ata-timing.c [new file with mode: 0644]
drivers/ide/ata-timing.h [new file with mode: 0644]
drivers/ide/cmd640.c
drivers/ide/cmd64x.c
drivers/ide/cs5530.c
drivers/ide/cy82c693.c
drivers/ide/dtc2278.c
drivers/ide/hpt34x.c
drivers/ide/hpt366.c
drivers/ide/ht6560b.c
drivers/ide/icside.c
drivers/ide/ide-cd.c
drivers/ide/ide-disk.c
drivers/ide/ide-dma.c
drivers/ide/ide-floppy.c
drivers/ide/ide-m8xx.c
drivers/ide/ide-pmac.c
drivers/ide/ide-tape.c
drivers/ide/ide-timing.h [deleted file]
drivers/ide/ide.c
drivers/ide/ide_modes.h [deleted file]
drivers/ide/it8172.c
drivers/ide/opti621.c
drivers/ide/pdc202xx.c
drivers/ide/pdc4030.c
drivers/ide/pdcadma.c
drivers/ide/piix.c
drivers/ide/qd65xx.c
drivers/ide/serverworks.c
drivers/ide/sis5513.c
drivers/ide/sl82c105.c
drivers/ide/slc90e66.c
drivers/ide/umc8672.c
drivers/ide/via82cxxx.c
drivers/scsi/ide-scsi.c
include/linux/hdreg.h
include/linux/ide.h