All of lore.kernel.org
 help / color / mirror / Atom feed
From: johnpol@2ka.mipt.ru (Evgeniy Polyakov)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [patch] ds2482: i2c to 1-wire bridge
Date: Mon, 05 Dec 2005 16:25:40 +0000	[thread overview]
Message-ID: <20051205162540.GA14643@2ka.mipt.ru> (raw)
In-Reply-To: <808c8e9d0512020734rb7d351bla98161d14c8cb70@mail.gmail.com>

On Mon, Dec 05, 2005 at 10:10:37AM -0600, Ben Gardner (gardner.ben at gmail.com) wrote:
> It seems that most w1 documentation refers to them as masters and
> slaves, so how about:
> drivers/w1/masters
> drivers/w1/slaves
> 
> I'll create three patch series:
>  - change 'unsigned long' to 'void *'
>  - move master and slave code into subfolders
>  - add ds2482
> 
> Does that sound OK?

Yes, it definitely does.
Thank you.

> Thanks,
> Ben
> 
> On 12/5/05, Evgeniy Polyakov <johnpol at 2ka.mipt.ru> wrote:
> > On Mon, Dec 05, 2005 at 09:40:20AM -0600, Ben Gardner (gardner.ben at gmail.com) wrote:
> > > If there aren't any objections, I'll follow the i2c layout and create
> > > a drivers/w1/busses folder and put the driver there.
> > > Should I also create a few patches to move the matrox_w1 and
> > > ds_w1_bridge stuff to that folder?
> > > Should I also create a drivers/w1/chips folder and move the family drivers?
> >
> > Hmm, any other names? There are no at least busses in the w1 world.
> > Maybe masters/bus_masters/controllers/something...?
> >
> > > > > +static u8 ds2482_w1_touch_bit(unsigned long data, u8 bit)
> > > > > +{
> > > > > +     struct ds2482_w1_chan *pchan = (struct ds2482_w1_chan *)data;
> > > >
> > > > That's an ugly cast. Can't it be avoided?
> > >
> > > Sure, if we change the w1 subsystem to use 'void *' as the user-data
> > > type instead of 'unsigned long'.
> > > Eugeniy - are you OK with that change?
> >
> > No problem, but make it in a separate patch.
> >
> > > Thanks,
> > > Ben
> >
> > --
> >         Evgeniy Polyakov
> >

-- 
	Evgeniy Polyakov


      parent reply	other threads:[~2005-12-05 16:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-02 16:41 [lm-sensors] [patch] ds2482: i2c to 1-wire bridge Ben Gardner
2005-12-02 19:28 ` [lm-sensors] " Evgeniy Polyakov
2005-12-02 20:28 ` Ben Gardner
2005-12-02 22:13 ` Jean Delvare
2005-12-05 15:40 ` [lm-sensors] " Ben Gardner
2005-12-05 15:55 ` Evgeniy Polyakov
2005-12-05 16:10 ` Ben Gardner
2005-12-05 16:25 ` Evgeniy Polyakov [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=20051205162540.GA14643@2ka.mipt.ru \
    --to=johnpol@2ka.mipt.ru \
    --cc=lm-sensors@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.