diff options
-rw-r--r-- | Documentation/kernel-parameters.txt | 3 | ||||
-rw-r--r-- | drivers/ide/pci/Makefile | 3 | ||||
-rw-r--r-- | drivers/ide/pci/generic.c | 13 |
3 files changed, 5 insertions, 14 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 9ad4e6fc56fd..8fd5aa40585f 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -780,6 +780,9 @@ and is between 256 and 4096 characters. It is defined in the file | |||
780 | loop use the MONITOR/MWAIT idle loop anyways. Performance should be the same | 780 | loop use the MONITOR/MWAIT idle loop anyways. Performance should be the same |
781 | as idle=poll. | 781 | as idle=poll. |
782 | 782 | ||
783 | ide-pci-generic.all-generic-ide [HW] (E)IDE subsystem | ||
784 | Claim all unknown PCI IDE storage controllers. | ||
785 | |||
783 | ignore_loglevel [KNL] | 786 | ignore_loglevel [KNL] |
784 | Ignore loglevel setting - this will print /all/ | 787 | Ignore loglevel setting - this will print /all/ |
785 | kernel messages to the console. Useful for debugging. | 788 | kernel messages to the console. Useful for debugging. |
diff --git a/drivers/ide/pci/Makefile b/drivers/ide/pci/Makefile index 94803253e8af..02e6ee7d751d 100644 --- a/drivers/ide/pci/Makefile +++ b/drivers/ide/pci/Makefile | |||
@@ -34,7 +34,8 @@ obj-$(CONFIG_BLK_DEV_TRM290) += trm290.o | |||
34 | obj-$(CONFIG_BLK_DEV_VIA82CXXX) += via82cxxx.o | 34 | obj-$(CONFIG_BLK_DEV_VIA82CXXX) += via82cxxx.o |
35 | 35 | ||
36 | # Must appear at the end of the block | 36 | # Must appear at the end of the block |
37 | obj-$(CONFIG_BLK_DEV_GENERIC) += generic.o | 37 | obj-$(CONFIG_BLK_DEV_GENERIC) += ide-pci-generic.o |
38 | ide-pci-generic-y += generic.o | ||
38 | 39 | ||
39 | ifeq ($(CONFIG_BLK_DEV_CMD640), m) | 40 | ifeq ($(CONFIG_BLK_DEV_CMD640), m) |
40 | obj-m += cmd640.o | 41 | obj-m += cmd640.o |
diff --git a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c index 9262a9174b4e..7fd83a9d4dee 100644 --- a/drivers/ide/pci/generic.c +++ b/drivers/ide/pci/generic.c | |||
@@ -29,19 +29,6 @@ | |||
29 | 29 | ||
30 | static int ide_generic_all; /* Set to claim all devices */ | 30 | static int ide_generic_all; /* Set to claim all devices */ |
31 | 31 | ||
32 | /* | ||
33 | * the module_param_named() was added for the modular case | ||
34 | * the __setup() is left as compatibility for existing setups | ||
35 | */ | ||
36 | #ifndef MODULE | ||
37 | static int __init ide_generic_all_on(char *unused) | ||
38 | { | ||
39 | ide_generic_all = 1; | ||
40 | printk(KERN_INFO "IDE generic will claim all unknown PCI IDE storage controllers.\n"); | ||
41 | return 1; | ||
42 | } | ||
43 | const __setup("all-generic-ide", ide_generic_all_on); | ||
44 | #endif | ||
45 | module_param_named(all_generic_ide, ide_generic_all, bool, 0444); | 32 | module_param_named(all_generic_ide, ide_generic_all, bool, 0444); |
46 | MODULE_PARM_DESC(all_generic_ide, "IDE generic will claim all unknown PCI IDE storage controllers."); | 33 | MODULE_PARM_DESC(all_generic_ide, "IDE generic will claim all unknown PCI IDE storage controllers."); |
47 | 34 | ||