public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: John Rose <johnrose@austin•ibm.com>
To: Joachim Fenkes <FENKES@de•ibm.com>
Cc: Paul Mackerras <pmac@au1•ibm.com>,
	lkml <linux-kernel@vger•kernel.org>,
	External List <linuxppc-dev@ozlabs•org>,
	Paul Mackerras <paulus@samba•org>,
	Hoang-Nam Nguyen <hnguyen@linux•vnet.ibm.com>,
	Me Notes <johnrose@us•ibm.com>
Subject: Re: [PATCH 2.6.21-rc1] ibmebus: Support dynamic addition and	removal of adapters
Date: Tue, 20 Feb 2007 11:25:06 -0600	[thread overview]
Message-ID: <1171992306.22669.5.camel@sinatra.austin.ibm.com> (raw)
In-Reply-To: <OFF5C27801.F7BCD37B-ON85257285.0001F062-85257285.00028E7E@de.ibm.com>

> If the probe operation succeeds, the respective device will show up 
> beneath
> /sys/bus/ibmebus/devices.

This approach is not particularly synchronous.  Take the case of an add
failure: how long would an application wait before deciding that the new
device is not going to appear?

It might be preferable to have the write to the probe function fail. 
For example, if we can't find the device node, return -EINVAL or
something.

> This is already taken care of by of_device_register().

If we are scrapping the use of of_device for ibmebus devices, can we
still create a devspec file for OF correlation purposes?

Thanks-
John

  reply	other threads:[~2007-02-20 17:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15 16:55 [PATCH 2.6.21-rc1] ibmebus: Support dynamic addition and removal of adapters Hoang-Nam Nguyen
2007-02-15 19:57 ` John Rose
2007-02-17  0:27   ` Joachim Fenkes
2007-02-20 17:25     ` John Rose [this message]
2007-02-20 22:36       ` Joachim Fenkes
2007-02-15 20:11 ` Sylvain Munaut
2007-02-17  2:24   ` Joachim Fenkes

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=1171992306.22669.5.camel@sinatra.austin.ibm.com \
    --to=johnrose@austin$(echo .)ibm.com \
    --cc=FENKES@de$(echo .)ibm.com \
    --cc=hnguyen@linux$(echo .)vnet.ibm.com \
    --cc=johnrose@us$(echo .)ibm.com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    --cc=pmac@au1$(echo .)ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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