mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Joel Becker <Joel.Becker@oracle.com>
Cc: David Miller <davem@davemloft.net>,
	auke-jan.h.kok@intel.com, jgarzik@pobox.com, pavel@ucw.cz,
	yi.zhu@intel.com, jketreno@linux.intel.com,
	netdev@vger.kernel.org, linville@tuxdriver.com,
	linux-kernel@vger.kernel.org, mark.fasheh@oracle.com
Subject: Re: [patch] do not allow IPW_2100=Y or IPW_2200=Y
Date: Tue, 11 Jul 2006 16:42:13 +0200	[thread overview]
Message-ID: <1152628933.3128.70.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <20060710205620.GO11640@ca-server1.us.oracle.com>

On Mon, 2006-07-10 at 13:56 -0700, Joel Becker wrote:
> On Mon, Jul 10, 2006 at 08:51:58PM +0200, Arjan van de Ven wrote:
> > > Besides, the initramfs runs long after the driver init routine
> > > runs which is when the firmware needs to be available.
> > 
> > .. unless you use sysfs to do a fake hotunplug + replug the device, at
> > which point the driver init routine runs again.
> 
> 	Can we document how to do that?  I've wanted to synthesize such
> things before, and I couldn't quite reason how.

just load fakephp

then do 
echo -n 0 > /sys/bus/pci/slots/0000:04:02.1/power
this hotunplugs it (fake)

then just do

echo -n 1 > /sys/bus/pci/slots/0000:04:02.0/power
(or any other device on the 04 bus) and the kernel finds the 04:02.1
device again...



  reply	other threads:[~2006-07-11 14:42 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-10 15:20 Pavel Machek
2006-07-10 17:53 ` Jeff Garzik
2006-07-10 18:29   ` Auke Kok
2006-07-10 18:47     ` David Miller
2006-07-10 18:51       ` Arjan van de Ven
2006-07-10 20:56         ` Joel Becker
2006-07-11 14:42           ` Arjan van de Ven [this message]
2006-07-11 21:53             ` Joel Becker
2006-07-11 11:27         ` Pavel Machek
2006-07-11 14:42           ` Arjan van de Ven
2006-07-10 21:05   ` Michael Buesch
2006-07-11 11:53     ` Daniel Drake
2006-07-11 20:39       ` Michael Buesch
2006-07-11 20:59         ` Daniel Drake
2006-07-11 13:32     ` Pavel Machek
2006-07-12  4:39       ` Zhu Yi
2006-07-27 14:43         ` John W. Linville
2006-07-11 13:34     ` [patch] cleanup // comments from ipw2200 Pavel Machek
2006-07-10 22:21 ` [patch] do not allow IPW_2100=Y or IPW_2200=Y Jan Engelhardt
     [not found] <6x7TQ-87H-17@gated-at.bofh.it>
     [not found] ` <6x8df-8wm-13@gated-at.bofh.it>
     [not found]   ` <6xbaZ-4NX-1@gated-at.bofh.it>
     [not found]     ` <6xyhj-5Fq-19@gated-at.bofh.it>
2006-07-12 20:56       ` Bodo Eggert

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=1152628933.3128.70.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=Joel.Becker@oracle.com \
    --cc=auke-jan.h.kok@intel.com \
    --cc=davem@davemloft.net \
    --cc=jgarzik@pobox.com \
    --cc=jketreno@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mark.fasheh@oracle.com \
    --cc=netdev@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=yi.zhu@intel.com \
    /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

all inboxes | Powered by JetHome®