]> git.pld-linux.org Git - packages/kernel.git/blame - ide-2.2.21_unresolved.patch
- added -r to depmod to actually check modules instead of rejecting
[packages/kernel.git] / ide-2.2.21_unresolved.patch
CommitLineData
ba2d8d0e
KT
1diff -urN linux.orig/drivers/block/ide-probe.c linux/drivers/block/ide-probe.c
2--- linux.orig/drivers/block/ide-probe.c Sat Mar 16 16:59:11 2002
3+++ linux/drivers/block/ide-probe.c Sat Mar 16 17:06:27 2002
4@@ -1057,8 +1057,6 @@
5 }
6
7 #ifdef MODULE
8-extern int (*ide_xlate_1024_hook)(kdev_t, int, int, const char *);
9-
10 int init_module (void)
11 {
12 unsigned int index;
13@@ -1066,14 +1064,15 @@
14 for (index = 0; index < MAX_HWIFS; ++index)
15 ide_unregister(index);
16 ideprobe_init();
17- create_proc_ide_interfaces();
18- ide_xlate_1024_hook = ide_xlate_1024;
19+#ifdef CONFIG_PROC_FS
20+ proc_ide_destroy(); /* Avoid multiple entry in /proc */
21+ proc_ide_create();
22+#endif
23 return 0;
24 }
25
26 void cleanup_module (void)
27 {
28- ide_probe = NULL;
29- ide_xlate_1024_hook = 0;
30+ ide_unregister_module(&ideprobe_module);
31 }
32 #endif /* MODULE */
This page took 0.504039 seconds and 4 git commands to generate.