2003-09-11 04:22:37

by Stephen Hemminger

[permalink] [raw]
Subject: [PATCH] ps2esdi broken

This driver has problems all over the place and needs
to be be disabled (or deleted)

In file included from include/linux/mca.h:140,
from drivers/block/ps2esdi.c:42:
include/linux/mca-legacy.h:10:2: warning: #warning "MCA legacy - please
move your driver to the new sysfs api"
drivers/block/ps2esdi.c:186: error: redefinition of `init_module'
drivers/block/ps2esdi.c:172: error: `init_module' previously defined here
drivers/block/ps2esdi.c: In function `init_module':
drivers/block/ps2esdi.c:190: warning: initialization from incompatible
pointer type
drivers/block/ps2esdi.c:193: error: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:193: error: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:194: error: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:197: error: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:198: error: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c:200: error: dereferencing pointer to incomplete type
drivers/block/ps2esdi.c: In function `cleanup_module':
drivers/block/ps2esdi.c:216: error: `i' undeclared (first use in this
function)
drivers/block/ps2esdi.c:216: error: (Each undeclared identifier is
reported only once
drivers/block/ps2esdi.c:216: error: for each function it appears in.)
make[2]: *** [drivers/block/ps2esdi.o] Error 1

diff -Nru a/drivers/block/Kconfig b/drivers/block/Kconfig
--- a/drivers/block/Kconfig Wed Sep 10 21:15:51 2003
+++ b/drivers/block/Kconfig Wed Sep 10 21:15:51 2003
@@ -44,7 +44,7 @@

config BLK_DEV_PS2
tristate "PS/2 ESDI hard disk support"
- depends on MCA
+ depends on MCA && BROKEN
help
Say Y here if you have a PS/2 machine with a MCA bus and an ESDI
hard disk.