Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40105
b: refs/heads/master
c: 3c5473f
h: refs/heads/master
i:
  40103: d0591e7
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Oct 21, 2006
1 parent 885ba42 commit 148749e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86fbf1486a44a4bce4fdcbe3665a7d8a62ba958a
refs/heads/master: 3c5473f80770768ab5712eb5a7492c16e97209fe
13 changes: 13 additions & 0 deletions trunk/drivers/ide/pci/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,19 @@

static int ide_generic_all; /* Set to claim all devices */

/*
* the module_param_named() was added for the modular case
* the __setup() is left as compatibility for existing setups
*/
#ifndef MODULE
static int __init ide_generic_all_on(char *unused)
{
ide_generic_all = 1;
printk(KERN_INFO "IDE generic will claim all unknown PCI IDE storage controllers.");
return 1;
}
__setup("all-generic-ide", ide_generic_all_on);
#endif
module_param_named(all_generic_ide, ide_generic_all, bool, 0444);
MODULE_PARM_DESC(all_generic_ide, "IDE generic will claim all unknown PCI IDE storage controllers.");

Expand Down

0 comments on commit 148749e

Please sign in to comment.