Re: [PATCH] add PCI ROMs to sysfs

From: Jon Smirl (jonsmirl_at_yahoo.com)
Date: 07/31/04

  • Next message: Matthias Urlichs: "Re: [Fastboot] Re: Announce: dumpfs v0.01 - common RAS output API"
    Date:	Sat, 31 Jul 2004 06:28:28 -0700 (PDT)
    To: Vojtech Pavlik <vojtech@suse.cz>
    
    

    --- Vojtech Pavlik <vojtech@suse.cz> wrote:
    > On Fri, Jul 30, 2004 at 02:53:25PM -0700, Jon Smirl wrote:
    > > Here's another grungy thing I needed to do to PCI. Multi-headed
    > video
    >
    > You can do that, but where is the problem with your probe function
    > being
    > called twice - once for each of the devices? You should be able to
    > sort
    > out which one is which rather easily.

    I wrote this a while ago, but I believe the problem was that by
    accepting two probes I get two hotplug ADD events that I can't tell
    apart. This scheme avoids triggering hotplug. The other problem was
    that the ADD events get started in parallel and I couldn't figure out
    how to serialize them. The parallel hotplug programs got into a race to
    see who could initialize the card first.

    Now that I know more about hotplug I could modify the hotplug
    parameters to indicate primary vs secondary and ignore the secondary
    one. But this will still cause two apps to be started in parallel.

    Another solution would be to modify the kernel API somehow to let me
    suppress hotplug ADD/REMOVE on the secondary device.

    =====
    Jon Smirl
    jonsmirl@yahoo.com

                    
    __________________________________
    Do you Yahoo!?
    Yahoo! Mail Address AutoComplete - You start. We finish.
    http://promotions.yahoo.com/new_mail
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Matthias Urlichs: "Re: [Fastboot] Re: Announce: dumpfs v0.01 - common RAS output API"

    Relevant Pages