Subject: Announce+RFC: universal base /etc/conf.modules file
From: "Adam J. Richter" <[email-masked]>
To: [email-masked]
Date: Fri, 24 Apr 1998 18:58:59 -0700

Below, I have attached a basic /etc/conf.modules that I
believe covers every request_module() call that the kernel generates
that does not depend on the user's hardware configuration.  This will
make it easier for people to modularize almost everything and make
maximal use of kmod.

	Also, I would appreciate corrections to any errors or omissions
contained in this file.  I intend to submit it for distribution with
the kernel, although first I think I want to suggest some syntax
and feature changes for the modprobe configuration file format.
(I want to be able to have multiple configuration files that are
read together, and allow these multiple files to append to an alias
rather than replace it, so I could have several files that add to
the definition of "scsi_hostadapter", for example.)

	Anyhow, enjoy and please send me any fixes.

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 205
[email-masked]     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

Proposed base /etc/conf.modules file:
--------------------------CUT HERE------------------------------------
keep
path[pcmcia]=/lib/modules/`uname -r`

alias block-major-2	floppy
alias block-major-3	ide-probe
alias block-major-4	serial

alias block-major-6	lp parport_pc
alias block-major-7	loop
alias block-major-8	sd_mod
#alias block-major-9	md
#alias block-major-10
alias block-major-11	sr_mod
#alias block-major-12
#alias block-major-13	xt disk?
alias block-major-14	sound
alias block-major-15	cdu31a
alias block-major-16	gscd
alias block-major-17	optcd
alias block-major-18	sjcd
#alias block-major-19
alias block-major-20	mcdx
alias block-major-21	sg
alias block-major-22	ide-probe
alias block-major-23	mcd
alias block-major-24	sonycd535
alias block-major-25	sbpcd
#alias block-major-26	sbpcd
#alias block-major-27	sbpcd
alias block-major-28	sbpcd	# On PC's
alias block-major-28	acsi	# On Atari's
alias block-major-29	aztcd
#alias block-major-30
#alias block-major-31
alias block-major-32	cm206
alias block-major-33	ide-probe
alias block-major-34	ide-probe
#alias block-major-35
#alias block-major-36	ps2esdi		# not yet modularized
alias block-major-37	z2ram		# Amiga
alias block-major-38	ap		# Sparc AP1000 only
alias block-major-39	ddv		# Sparc AP1000 only
alias block-major-43	nbd

alias char-major-6	lp
alias char-major-9	st
alias char-major-12	tpqic02
alias char-major-14	sound
alias char-major-15	joystick
alias char-major-19	cyclades
alias char-major-20	cyclades
alias char-major-21	sg
alias char-major-22	epca		# digiboard
alias char-major-23	epca		# digiboard
alias char-major-24	istallion stallion
alias char-major-25	istallion stallion
#alias char-major-26
alias char-major-27	ftape
alias char-major-28	istallion stallion
#alias char-major-29	graphdev	# not yet modularized
#alias char-major-36	netlink_dev	# not yet modularized
alias char-major-37	ide-tape ide-probe
alias char-major-43	isdn-major
alias char-major-44	isdn-major
alias char-major-45	isdn-major
alias char-major-46	rocket
alias char-major-48	riscom8
alias char-major-49	riscom8
alias char-major-67	coda		# This is the coda filesystem, not a device.
alias char-major-75	specialix
alias char-major-76	specialix
alias char-major-81	videodev

alias char-major-10-0		busmouse
alias char-major-10-1		psaux
alias char-major-10-2		msbusmouse
alias char-major-10-3		atixlmouse
alias char-major-10-4		amigamouse
alias char-major-10-5		atarimouse
#alias char-major-10-6		sunmouse	# not yet modularized
alias char-major-10-7		amigamouse
#alias char-major-10-8			# smouse? simple serial mouse?
alias char-major-10-9		pc110pad
#alias char-major-10-10		macmouse    # ADB mouse.  Not yet implemnted.
#alias char-major-10-128	beep		# not yet modularized.  (MIPS)
#alias char-major-10-129			# "Kernel module load request?"
alias char-major-10-130		acquirewdt wdt softdog
alias char-major-10-131		wdt pcwd
#alias char-major-10-135	rtc		# Not yet modularized (real time clock)
#alias char-major-10-136	c-qcam bw-qcam	# lp0	# Replaced by videodev
#alias char-major-10-137	c-qcam bw-qcam	# lp1	# Replaced by videodev
#alias char-major-10-138	c-qcam bw-qcam	# lp2	# Replaced by videodev
alias char-major-10-139		openprom
#alias char-major-10-140	adb-bus		# Not yet modularized
alias char-major-10-144		nvram
alias char-major-10-145		hfmodem
#alias char-major-10-146	graphics	# Not yet modularized (SGI).
#alias char-major-10-147	graphics	# Not yet modularized (SGI, opengl).
#alias char-major-10-148	streamtable	# Not yet modularized (SGI, gfx).
#alias char-major-10-149	streamtable	# Not yet modularized (SGI, mouse).
#alias char-major-10-150	streamtable	# Not yet modularized (SGI, keyboard).
#alias char-major-10-151	leds		# Front panel LEDs???
#alias char-major-10-152	radio		# Not yet modularized

# On 68000 port, the LP driver is modularized into subdrivers.
# See linux/drivers/char/lp_m68k.c
# char-major-6-1: ???   XXX

alias tty-ldisc-1	slip
alias tty-ldisc-3	ppp
alias tty-ldisc-4	strip
alias tty-ldisc-5	ax25
alias tty-ldisc-6	x25
alias tty-ldisc-7	irda

alias net-pf-1	unix
#alias net-pf-2	af_inet common stuff is not modularized
alias net-pf-3	ax25
alias net-pf-4	ipx
alias net-pf-5	appletaslk
alias net-pf-6	netrom
#alias net-pf-7	bridge	# Bridge code is not modularized
#alias net-pf-8	aal5	# ATM code.  Not yet implemented.
alias net-pf-9	x25	# XXX: how about x25_asy?
alias net-pf-10	ipv6
alias net-pf-11	rose
#alias net-pf-12	decnet	# Not yet implemented??
#alias net-pf-13	netbeui # Commented out and not modularized
#alias net-pf-14	security # ip_forward? ip_output?
#alias net-pf-15	key      # ??
#alias net-pf-16	af_netlink  # Not yet modularized
alias net-pf-17	af_packet
#alias net-pf-18	ash 	# Not yet implemented, whatever it is.

# It looks like net/core/dev.c loads interface names, like "eth0", etc.
alias binfmt-0064	binfmt_aout
alias binfmt-464c	binfmt_elf
#alias binfmt-464c	binfmt_em86	# handled by binfmt_misc
alias binfmt-babe	binfmt_java
#alias binfmt-xxxx	binfmt_misc	# XXX fill in hexadecimal number??

# drivers/sound/soundcard.c generates requests for modules named "mixer%d"

# ppp-compress-1:	ppp_predictor1	# Not yet implemented
# ppp-compress-2:	ppp_predictor1	# Not yet implemented
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate

# File system names
alias iso9660		isofs
alias xenix		sysv
alias coherent		sysv