ide: legacy VLB drivers housekeeping
PATCH 1/1 ide: legacy VLB drivers housekeeping
* remove stale documentation
* remove dead ALWAYS_SET_DTC2278_PIO_MODE code from dtc2278
* remove legacy debugging code from ht6560b
There should be no functional changes caused by this patch.
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
---
fixed word wrapping
drivers/ide/ali14xx.c | 28 +---------------- drivers/ide/dtc2278.c | 50 +++++++------------------------- drivers/ide/ht6560b.c | 78 +------------------------------------------------- drivers/ide/qd65xx.c | 43 --------------------------- drivers/ide/umc8672.c | 20 ------------ 5 files changed, 17 insertions(+), 202 deletions(-)
drivers/ide/ali14xx.c +2 -26
@@ -7,32 +7,7 @@* * Works for ALI M1439/1443/1445/1487/1489 chipsets. * -* Adapted from code developed by [email protected]. -ml -* Derek's notes follow: -* -* I think the code should be pretty understandable, -* but I'll be happy to (try to) answer questions. -* -* The critical part is in the setupDrive function. The initRegisters -* function doesn't seem to be necessary, but the DOS driver does it, so -* I threw it in. -* -* I've only tested this on my system, which only has one disk. I posted -* it to comp.sys.linux.hardware, so maybe some other people will try it -* out. -* -* Derek Noonburg ([email protected]) -* 95-sep-26 -* -* Update 96-jul-13: -* -* I've since upgraded to two disks and a CD-ROM, with no trouble, and -* I've also heard from several others who have used it successfully. -* This driver appears to work with both the 1443/1445 and the 1487/1489 -* chipsets. I've added support for PIO mode 4 for the 1487. This -* seems to work just fine on the 1443 also, although I'm not sure it's -* advertised as supporting mode 4. (I've been running a WDC AC21200 in -* mode 4 for a while now with no trouble.) -Derek +* Adapted from code developed by Derek Noonburg <[email protected]>. -ml */ #include <linux/module.h>
@@ -177,6 +152,7 @@ static int __init findPort(void)/* * Initialize controller registers with default values. +* (doesn't seem to be necessary but the DOS driver does it). */ static int __init initRegisters (void ) {
drivers/ide/dtc2278.c +11 -39
68 lines not on this page · raw message
drivers/ide/ht6560b.c +3 -75
137 lines not on this page · raw message
drivers/ide/qd65xx.c +0 -43
56 lines not on this page · raw message
drivers/ide/umc8672.c +1 -19
@@ -5,8 +5,7 @@/* * Principal Author/Maintainer: [email protected] (Wolfram Podien) * -* This file provides support for the advanced features -* of the UMC 8672 IDE interface. +* UMC 8672 IDE interface * * Version 0.01 Initial version, hacked out of ide.c, * and #include'd rather than compiled separately.
@@ -18,23 +17,6 @@* add detection of possible race condition -ml */ -/* -* VLB Controller Support from -* Wolfram Podien -* Rohoefe 3 -* D28832 Achim -* Germany -* -* To enable UMC8672 support there must a lilo line like -* append="ide0=umc8672"... -* To set the speed according to the abilities of the hardware there must be a -* line like -* #define UMC_DRIVE0 11 -* in the beginning of the driver, which sets the speed of drive 0 to 11 (there -* are some lines present). 0 - 11 are allowed speed values. These values are -* the results from the DOS speed test program supplied from UMC. 11 is the -* highest speed (about PIO mode 3) -*/ #define REALLY_SLOW_IO /* some systems can safely undef this */ #include <linux/module.h>