linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Adam J. Richter" <adam@yggdrasil.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: netdevice problem
Date: Thu, 18 Jan 2001 13:23:33 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-97982416931879@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-97982279428213@msgid-missing>

At boot time, you should run something like this (this is hand
written because I do not want to wade through the other cruft
currently in our boot scripts):

	# We include "off" in the list to avoid a shell syntax error
	# in case the other modules turn out to be an empty list.
	modprobe -s -k isa-pnp
	for module in off $(isapnpmodules) $(pcimodules) ; do
		modprobe -s -k $module
	done

	( modprobe i82365 || modprobe tcic ) && cardmgr -o

	# The isapnpmodules and pcimodules loop must be run before
	# parportmodules is evaluated because they may load parallel
	# port controllers.  Perhaps this is also true of PCMCIA.
	for module in off $(parportmodules) ; do
		modprobe -s -k $module
	done

	# USB initialization occurs as a result of USB host controllers
	# being loaded (usually from pcimodules), and the host controller
	# modules generating hot plug events for the devices that are
	# already attached.  Other devices
	# This is all synchronous becuase, in the kernel, while
	# usermode_helper is not synchronous, request_module is.
	# So, we always load the modules in the same order at each
	# boot (given the same hardware).

	# We did the initialization in order of least likely to do hot
	# plugging to most likely in order to reduce the likelihood of
	# gaps in device numbering as devices are added and removed
	# (basically as a user interface issue, not for any other reason).

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com     \ /                  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."

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  reply	other threads:[~2001-01-18 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-18 12:59 netdevice problem Andrew Morton
2001-01-18 13:23 ` Adam J. Richter [this message]
2001-01-18 17:04 ` David Brownell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-97982416931879@msgid-missing \
    --to=adam@yggdrasil.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).