[PATCH 1/2] build dasd_cmd into dasd_mod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dasd_cmd is just a tiny compat shim.  Building it into dasd_mod if
enabled makes fixing some ioctl mess a lot easier (see patch 2).


Signed-off-by: Christoph Hellwig <[email protected]>

Index: linux-2.6.15-rc5/drivers/s390/block/Kconfig
===================================================================
--- linux-2.6.15-rc5.orig/drivers/s390/block/Kconfig	2005-12-12 18:31:37.000000000 +0100
+++ linux-2.6.15-rc5/drivers/s390/block/Kconfig	2005-12-16 15:18:16.000000000 +0100
@@ -56,7 +56,7 @@
 	  say "N".
 
 config DASD_CMB
-	tristate "Compatibility interface for DASD channel measurement blocks"
+	bool "Compatibility interface for DASD channel measurement blocks"
 	depends on DASD
 	help
 	  This driver provides an additional interface to the channel measurement
Index: linux-2.6.15-rc5/drivers/s390/block/Makefile
===================================================================
--- linux-2.6.15-rc5.orig/drivers/s390/block/Makefile	2005-12-12 18:31:37.000000000 +0100
+++ linux-2.6.15-rc5/drivers/s390/block/Makefile	2005-12-16 15:19:24.000000000 +0100
@@ -2,16 +2,17 @@
 # S/390 block devices
 #
 
-dasd_eckd_mod-objs := dasd_eckd.o dasd_3990_erp.o dasd_9343_erp.o
-dasd_fba_mod-objs  := dasd_fba.o dasd_3370_erp.o dasd_9336_erp.o
-dasd_diag_mod-objs := dasd_diag.o
-dasd_mod-objs      := dasd.o dasd_ioctl.o dasd_proc.o dasd_devmap.o \
-			dasd_genhd.o dasd_erp.o
+dasd_eckd_mod-y	+= dasd_eckd.o dasd_3990_erp.o dasd_9343_erp.o
+dasd_fba_mod-y	+= dasd_fba.o dasd_3370_erp.o dasd_9336_erp.o
+dasd_diag_mod-y	+= dasd_diag.o
+dasd_mod-y	+= dasd.o dasd_ioctl.o dasd_proc.o dasd_devmap.o \
+		   dasd_genhd.o dasd_erp.o
+
+dasd_mod-$(CONFIG_DASD_CMB) += dasd_cmb.o
 
 obj-$(CONFIG_DASD) += dasd_mod.o
 obj-$(CONFIG_DASD_DIAG) += dasd_diag_mod.o
 obj-$(CONFIG_DASD_ECKD) += dasd_eckd_mod.o
 obj-$(CONFIG_DASD_FBA)  += dasd_fba_mod.o
-obj-$(CONFIG_DASD_CMB)  += dasd_cmb.o
 obj-$(CONFIG_BLK_DEV_XPRAM) += xpram.o
 obj-$(CONFIG_DCSSBLK) += dcssblk.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux