[PATCH] 2.5.6-pre1 IDE cleanup 11
authorMartin Dalecki <dalecki@evision-ventures.com>
Thu, 28 Feb 2002 04:15:18 +0000 (20:15 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 28 Feb 2002 04:15:18 +0000 (20:15 -0800)
commitce43a9ec219c360539e390c20fe9357e22d7ad07
tree1438c454ffceccd1c8c2b59590eb6dc970fb7126
parentf0a86f5a3cdfaff7153c542ead1174eb6d06c97a
[PATCH] 2.5.6-pre1 IDE cleanup 11

1. Start of driver tree usage upon suggestion from Pavel Machek.
     This still will needs a lot of further work in the future, but
     the current code doesn't hurt anything and allowa Pavel to work
     further from the base line. In esp. natively implemented
      suspend to file requires this - which I would love to see comming
     in,since I'm quite frequently using a notebook myself.

2. Kill the _IDE_C macro, which was playing games on entierly
     unnecessary declarations inside of header files in esp ide_modes.h

3. Replace the functionally totally equal system_bus_block() and
     ide_system_bus_speed() functions with one simple global
     variable: system_bus_speed. This saves quite a significatn amount of
     code. Unfortunately this is the part, which is makeing this
     patch to appear bigger then it really is...

4. Use ide_devalidate_drive() directly instead of idedisk_revalidate().

5. Kill conditional CONFIG_KMOD as well as some other minor tweaks.

Well this isn't that much in terms of functionality,  but it took me
quite q bit of time to catch up on the patch-2.5.5.gz ;-)
17 files changed:
drivers/ide/aec62xx.c
drivers/ide/ali14xx.c
drivers/ide/alim15x3.c
drivers/ide/cmd640.c
drivers/ide/cmd64x.c
drivers/ide/cy82c693.c
drivers/ide/ht6560b.c
drivers/ide/ide-disk.c
drivers/ide/ide-pnp.c
drivers/ide/ide-probe.c
drivers/ide/ide.c
drivers/ide/ide_modes.h
drivers/ide/opti621.c
drivers/ide/qd65xx.c
drivers/ide/via82cxxx.c
include/linux/blk.h
include/linux/ide.h