]>
Commit | Line | Data |
---|---|---|
101151fd JB |
1 | --- linux-2.6.10/drivers/video/fbsplash.c.orig 2005-01-05 10:42:42.000000000 +0100 |
2 | +++ linux-2.6.10/drivers/video/fbsplash.c 2005-01-05 11:15:25.000000000 +0100 | |
3 | @@ -476,7 +476,7 @@ | |
4 | }; | |
5 | ||
6 | static struct miscdevice splash_dev = { | |
7 | - .minor = MISC_DYNAMIC_MINOR, | |
8 | + .minor = 62 /* MISC_DYNAMIC_MINOR */, | |
9 | .name = "fbsplash", | |
10 | .fops = &splash_ops | |
11 | }; | |
12 | --- linux-2.6.10/drivers/char/misc.c.orig 2004-12-24 22:35:28.000000000 +0100 | |
13 | +++ linux-2.6.10/drivers/char/misc.c 2005-01-05 11:16:47.000000000 +0100 | |
14 | @@ -220,7 +220,7 @@ | |
15 | } | |
16 | ||
17 | if (misc->minor == MISC_DYNAMIC_MINOR) { | |
18 | - int i = DYNAMIC_MINORS; | |
19 | + int i = DYNAMIC_MINORS - 2 /* reserved */; | |
20 | while (--i >= 0) | |
21 | if ( (misc_minors[i>>3] & (1 << (i&7))) == 0) | |
22 | break; | |
23 | --- linux-2.6.10/drivers/md/dm-ioctl.c.orig 2004-12-24 22:34:29.000000000 +0100 | |
24 | +++ linux-2.6.10/drivers/md/dm-ioctl.c 2005-01-05 11:11:39.000000000 +0100 | |
25 | @@ -1374,7 +1374,7 @@ | |
26 | }; | |
27 | ||
28 | static struct miscdevice _dm_misc = { | |
29 | - .minor = MISC_DYNAMIC_MINOR, | |
30 | + .minor = 63 /* MISC_DYNAMIC_MINOR */, | |
31 | .name = DM_NAME, | |
32 | .devfs_name = "mapper/control", | |
33 | .fops = &_ctl_fops |