All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Chuck Kamas <ckamas-mizZ2TCXIxVBDgjK7y7TUQ@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: How to manually call i2c_client's probe from i2c-dev.c ioctl
Date: Wed, 16 Sep 2009 22:52:47 +0200	[thread overview]
Message-ID: <20090916225247.2094619b@hyperion.delvare> (raw)
In-Reply-To: <C62896630644CE43BF64B0FF0AC27F0E18153F-RKsfjrak5bi0VCHWTNMfawC/G2K4zDHf@public.gmane.org>

On Wed, 16 Sep 2009 09:56:37 -0700, Chuck Kamas wrote:
> I am trying to backport Michael's patch to add PROBE and REMOVE ioctls
> to 2.6.21
> http://article.gmane.org/gmane.linux.drivers.i2c/3339/match=ioctls+probe
> 
> I have been able to add the IOCTLS and re-compile the kernel module, but
> am confused as to what function to call in the old device model.  I
> believe that I should use i2c_attach_client() from i2c-core.c.  Is this
> correct?

You are backporting a patch which was rejected upstream, to a model
which is deprecated. It's probably time to reconsider your technical
choices.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

  parent reply	other threads:[~2009-09-16 20:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16 16:56 How to manually call i2c_client's probe from i2c-dev.c ioctl Chuck Kamas
     [not found] ` <C62896630644CE43BF64B0FF0AC27F0E18153F-RKsfjrak5bi0VCHWTNMfawC/G2K4zDHf@public.gmane.org>
2009-09-16 20:52   ` Jean Delvare [this message]
     [not found]     ` <20090916225247.2094619b-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-09-16 23:25       ` Chuck Kamas
     [not found]         ` <C62896630644CE43BF64B0FF0AC27F0E1815B9-RKsfjrak5bi0VCHWTNMfawC/G2K4zDHf@public.gmane.org>
2009-09-17  7:26           ` Jean Delvare
     [not found]             ` <20090917092612.53327f80-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-09-17 15:45               ` Chuck Kamas
     [not found]                 ` <C62896630644CE43BF64B0FF0AC27F0E1815EC-RKsfjrak5bi0VCHWTNMfawC/G2K4zDHf@public.gmane.org>
2009-09-17 16:04                   ` Jean Delvare
     [not found]                     ` <20090917180407.5460bf33-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-09-17 16:38                       ` Chuck Kamas

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=20090916225247.2094619b@hyperion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=ckamas-mizZ2TCXIxVBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.