diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-27 23:54:12 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-27 23:54:12 +0000 |
commit | d3e71cb08747743fce908122bab08b479eb403a5 (patch) | |
tree | cbec6948fdbdee9af81cf3ecfb504070d2745d7b /drivers/block/paride/paride.c | |
parent | fe7ff1706e323d0e5ed83972960a1ecc1ee538b3 (diff) |
Merge with Linux 2.3.99-pre3.
Diffstat (limited to 'drivers/block/paride/paride.c')
-rw-r--r-- | drivers/block/paride/paride.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/block/paride/paride.c b/drivers/block/paride/paride.c index f05196389..9c4cabbbf 100644 --- a/drivers/block/paride/paride.c +++ b/drivers/block/paride/paride.c @@ -20,6 +20,7 @@ #include <linux/module.h> #include <linux/config.h> +#include <linux/kmod.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/ioport.h> @@ -336,6 +337,9 @@ int pi_init(PIA *pi, int autoprobe, int port, int mode, s = protocol; e = s+1; + if (!protocols[0]) + request_module ("paride_protocol"); + if (autoprobe) { s = 0; e = MAX_PROTOS; |