From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [ANN] dummyphp
Date: Tue, 16 Sep 2003 16:43:12 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-106373166327463@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-106311224015968@msgid-missing>
On Thu, Sep 04, 2003 at 02:38:39PM +0200, Rolf Eike Beer wrote:
>
> If you are using kernel 2.[56] and drivers using the new driver model it's not
> necessary to unload the driver of the card before, the kernel will tell the
> driver that the adapter has been removed and the driver will release his
> internal stuff. With kernel 2.4 it's not that easy, dummyphp will refuse to
> deactivate an adapter with loaded driver.
Why? Why can't it just disconnect the device like the other pci hotplug
drivers do in 2.4?
> It does the same as fakephp.c which is in 2.6 now, with 2 differences:
>
> -it does not remove the slot directory from sysfs on disable
> -you can reenable slots
>
> Any feedback welcome. Greg, it would be nice if you push this to Marcelo and
> Linus.
I really don't like the way the slots are named here, that's why I made
fakephp to only show the existing devices in the system. I'd really
like a change to fakephp that just rescans the pci bus to see if any new
devices have been added by the bios, to handle the "add a new device"
issue. I'll go add a patch to the pci hotplug core to export the sysfs
directory to make this easier to support.
Oh, and this is probably the wrong mailing list for this, there is a pci
hotplug linux mailing list that you might want to post this to (that's
where the other pci hotplug driver authors are.)
thanks,
greg k-h
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2003-09-16 16:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 12:38 [ANN] dummyphp Rolf Eike Beer
2003-09-16 16:43 ` Greg KH [this message]
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-106373166327463@msgid-missing \
--to=greg@kroah.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.