1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
|
/*
* This file is split out from config.c for easier editing
*/
/*
* tbpath and tbtype are used to build the complete set of paths for finding
* modules, but only when we search for individual directories, they are not
* used for [boot] and [toplevel] searches.
*/
static char *tbpath[] =
{
"/lib/modules",
NULL /* marks the end of the list! */
};
char *tbtype[] =
{
"kernel", /* as of 2.3.14 this must be first */
"fs",
"net",
"scsi",
"block",
"cdrom",
"ipv4",
"ipv6",
"sound",
"fc4",
"video",
"misc",
"pcmcia",
"atm",
"usb",
"ide",
"ieee1394",
"mtd",
NULL /* marks the end of the list! */
};
/*
* This is the list of pre-defined aliases.
* Each entry can be overridden by an entry in /etc/modules.conf
*/
char *aliaslist[] =
{
"binfmt-0000 off",
"binfmt-204 binfmt_aout",
"binfmt-263 binfmt_aout",
"binfmt-264 binfmt_aout",
"binfmt-267 binfmt_aout",
"binfmt-387 binfmt_aout",
"binfmt-332 iBCS",
"binfmt--310 binfmt_java",
"block-major-1 rd",
"block-major-2 floppy",
"block-major-3 ide-probe-mod",
"block-major-7 loop",
"block-major-8 sd_mod",
"block-major-9 md", /* For modular RAID */
"block-major-11 sr_mod",
"block-major-13 xd",
"block-major-15 cdu31a",
"block-major-16 gscd",
"block-major-17 optcd",
"block-major-18 sjcd",
"block-major-20 mcdx",
"block-major-22 ide-probe-mod",
"block-major-23 mcd",
"block-major-24 sonycd535",
"block-major-25 sbpcd",
"block-major-26 sbpcd",
"block-major-27 sbpcd",
"block-major-29 aztcd",
"block-major-32 cm206",
"block-major-33 ide-probe-mod",
"block-major-34 ide-probe-mod",
"block-major-37 ide-tape",
"block-major-44 ftl", /* from David Woodhouse <dwmw2@infradead.org> */
"block-major-46 pcd",
"block-major-47 pf",
"block-major-56 ide-probe-mod",
"block-major-57 ide-probe-mod",
"block-major-58 lvm-mod",
"block-major-88 ide-probe-mod",
"block-major-89 ide-probe-mod",
"block-major-90 ide-probe-mod",
"block-major-91 ide-probe-mod",
"block-major-93 nftl", /* from David Woodhouse <dwmw2@infradead.org> */
"block-major-97 pg",
"block-major-113 viocd",
#if !defined(__s390__) && !defined(__s390x__)
"char-major-4 serial",
#else
"char-major-4 off",
#endif
"char-major-5 serial",
"char-major-6 lp",
"char-major-9 st",
"char-major-10 off", /* was: mouse, was: misc */
"char-major-10-0 busmouse", /* /dev/logibm Logitech bus mouse */
"char-major-10-1 off", /* /dev/psaux PS/2-style mouse port */
"char-major-10-2 msbusmouse", /* /dev/inportbm Microsoft Inport bus mouse */
"char-major-10-3 atixlmouse", /* /dev/atibm ATI XL bus mouse */
/* /dev/jbm J-mouse */
/* /dev/amigamouse Amiga mouse (68k/Amiga) */
/* /dev/atarimouse Atari mouse */
/* /dev/sunmouse Sun mouse */
/* /dev/beep Fancy beep device */
/* /dev/modreq Kernel module load request */
"char-major-10-130 wdt", /* /dev/watchdog Watchdog timer port */
"char-major-10-131 wdt", /* /dev/temperature Machine internal temperature */
/* /dev/hwtrap Hardware fault trap */
/* /dev/exttrp External device trap */
"char-major-10-135 rtc", /* /dev/rtc Real time clock */
"char-major-10-139 openprom", /* /dev/openprom Linux/Sparc interface */
"char-major-10-144 nvram", /* from Tigran Aivazian <tigran@sco.COM> */
"char-major-10-157 applicom", /* from David Woodhouse <dwmw2@infradead.org> */
"char-major-10-175 agpgart", /* /dev/agpgart GART AGP mapping access */
"char-major-10-184 microcode", /* Tigran Aivazian <tigran@veritas.com> */
"char-major-10-200 tun", /* Universal TUN/TAP device driver */
"char-major-10-250 hci_vhci",
"char-major-13 input",
"char-major-13-0 joydev",
"char-major-13-32 mousedev",
"char-major-14 soundcore",
"char-major-19 cyclades",
"char-major-20 cyclades",
"char-major-21 sg",
"char-major-22 pcxx", /* ?? */
"char-major-23 pcxx", /* ?? */
"char-major-27 zftape",
"char-major-34 scc",
"char-major-35 tclmidi",
"char-major-36 netlink",
"char-major-37 ide-tape",
"char-major-48 riscom8",
"char-major-49 riscom8",
"char-major-57 esp",
"char-major-58 esp",
"char-major-63 kdebug",
"char-major-90 mtdchar", /* from David Woodhouse <dwmw2@infradead.org> */
"char-major-96 pt",
"char-major-99 ppdev",
"char-major-107 3dfx", /* from Tigran Aivazian <tigran@sco.COM> */
"char-major-108 ppp_generic",
"char-major-109 lvm-mod",
"char-major-161 ircomm-tty",
"char-major-171 raw1394",
"char-major-195 NVdriver",
"char-major-200 vxspec",
"char-major-206 osst", /* OnStream SCSI tape */
"char-major-216 rfcomm",
"dos msdos",
"dummy0 dummy",
"dummy1 dummy",
"eth0 off",
"iso9660 isofs",
"md-personality-1 linear",
"md-personality-2 raid0",
"md-personality-3 raid1",
"md-personality-4 raid5",
"md-personality-7 multipath",
"net-pf-1 unix", /* PF_UNIX 1 Unix domain sockets */
"net-pf-2 ipv4", /* PF_INET 2 Internet IP Protocol */
"net-pf-3 off", /* PF_AX25 3 Amateur Radio AX.25 */
"net-pf-4 ipx", /* PF_IPX 4 Novell IPX */
"net-pf-5 appletalk", /* PF_APPLETALK 5 Appletalk DDP */
"net-pf-6 off", /* PF_NETROM 6 Amateur radio NetROM */
/* PF_BRIDGE 7 Multiprotocol bridge */
/* PF_AAL5 8 Reserved for Werner's ATM */
/* PF_X25 9 Reserved for X.25 project */
"net-pf-10 off", /* PF_INET6 10 IP version 6 */
"net-pf-15 af_key", /* PF_KEY 15 Key Management API */
/* next two from <dairiki@matthews.dairiki.org> Thanks! */
"net-pf-17 af_packet",
"net-pf-19 off", /* acorn econet */
"net-pf-31 bluez",
"netalias-2 ip_alias",
/* To be able to attach some dongles */
"irlan0 irlan",
"irda-dongle-0 tekram",
"irda-dongle-1 esi",
"irda-dongle-2 actisys",
"irda-dongle-3 actisys",
"irda-dongle-4 girbil",
"irda-dongle-5 litelink",
"irda-dongle-6 airport",
"irda-dongle-7 old_belkin",
"bt-proto-0 l2cap",
"bt-proto-2 sco",
"bt-proto-3 rfcomm",
"bt-proto-4 bnep",
"plip0 plip",
"plip1 plip",
"tunl0 ipip",
"cipcb0 cipcb",
"cipcb1 cipcb",
"cipcb2 cipcb",
"cipcb3 cipcb",
#if defined(__s390__) || defined(__s390x__)
"ctc0 ctc",
"ctc1 ctc",
"ctc2 ctc",
"iucv0 netiucv",
"iucv1 netiucv",
#endif
"ppp0 ppp",
"ppp1 ppp",
"scsi_hostadapter off", /* if not in config file */
"slip0 slip",
"slip1 slip",
"tty-ldisc-1 slip",
"tty-ldisc-3 ppp_async",
"tty-ldisc-11 irtty", /* IrDA over a normal serial port, or a serial port compatible IrDA port */
"tty-ldisc-14 ppp_synctty",
"tty-ldisc-15 hci_uart",
"ppp-compress-18 ppp_mppe",
"ppp-compress-21 bsd_comp",
"ppp-compress-24 ppp_deflate",
"ppp-compress-26 ppp_deflate",
#ifndef __sparc__
"parport_lowlevel parport_pc",
#else
"parport_lowlevel parport_ax",
#endif
"usbdevfs usbcore",
"xfrm-type-2-50 esp4",
"xfrm-type-2-51 ah4",
"xfrm-type-2-108 ipcomp",
"xfrm-type-10-50 esp6",
"xfrm-type-10-51 ah6",
"xfrm-type-10-108 ipcomp6",
"cipher_null crypto_null",
"digest_null crypto_null",
"compress_null crypto_null",
"sha384 sha512",
NULL /* marks the end of the list! */
};
/*
* This is the list of pre-defined options.
* Each entry can be overridden by an entry in /etc/modules.conf
*/
char *optlist[] =
{
"dummy0 -o dummy0",
"dummy1 -o dummy1",
"sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330",
NULL /* marks the end of the list! */
};
/*
* This is the list of pre-defined "above"s,
* used for pull-in of additional modules
* Each entry can be overridden by an entry in /etc/modules.conf
*/
char *above[] =
{
NULL /* marks the end of the list! */
};
/*
* This is the list of pre-defined "below"s,
* used for push-in of additional modules
* Each entry can be overridden by an entry in /etc/modules.conf
*/
char *below[] =
{
NULL /* marks the end of the list! */
};
/*
* This is the list of pre-defined "prune"s,
* used to exclude paths from scan of /lib/modules.
* /etc/modules.conf can add entries but not remove them.
*/
char *prune[] =
{
"modules.dep",
"modules.description",
"modules.generic_string",
"modules.pcimap",
"modules.isapnpmap",
"modules.usbmap",
"modules.parportmap",
"modules.ieee1394map",
"modules.pnpbiosmap",
"System.map",
".config",
"Kerntypes",
"build", /* symlink to source tree */
"vmlinux",
"vmlinuz",
"bzImage",
"zImage",
".rhkmvtag", /* wish RedHat had told me before they did this */
NULL /* marks the end of the list! */
};
|