Configure/compile error with 2.5.38

From: Matthew Wilcox (
Date: Mon Sep 23 2002 - 10:41:44 EST

Got an interesting one here; this combination fails to link:


Why not? Well.. cmd640.c is in drivers/ide/pci/ which is only
entered if CONFIG_BLK_DEV_IDEPCI, and if CONFIG_BLK_DEV_CMD640 is set,
drivers/ide/ide.c contains a reference to cmd640_vlb which is defined
in cmd640.c.

The "obvious" solution to make CMD640 depend on IDEPCI is not correct
because of the aforementioned VLB controllers. Maybe we could just add
the line:
obj-$(CONFIG_BLK_DEV_CMD640) += pci/
to drivers/ide/Makefile which is a bit of a kludge..

Revolutions do not require corporate support.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:39 EST