[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1339607189.2612.8.camel@bwh-desktop.uk.solarflarecom.com>
Date: Wed, 13 Jun 2012 18:06:29 +0100
From: Ben Hutchings <bhutchings@...arflare.com>
To: "Wyborny, Carolyn" <carolyn.wyborny@...el.com>
CC: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"gospo@...hat.com" <gospo@...hat.com>,
"sassmann@...hat.com" <sassmann@...hat.com>
Subject: RE: [net-next 1/9] igb: Add support functions to access thermal
data.
On Wed, 2012-06-13 at 14:53 +0000, Wyborny, Carolyn wrote:
> >-----Original Message-----
> >From: Ben Hutchings [mailto:bhutchings@...arflare.com]
> >Sent: Saturday, June 09, 2012 5:49 PM
> >To: Kirsher, Jeffrey T
> >Cc: davem@...emloft.net; Wyborny, Carolyn; netdev@...r.kernel.org;
> >gospo@...hat.com; sassmann@...hat.com
> >Subject: Re: [net-next 1/9] igb: Add support functions to access thermal
> >data.
> >
> >On Sat, 2012-06-09 at 01:20 -0700, Jeff Kirsher wrote:
> >> From: Carolyn Wyborny <carolyn.wyborny@...el.com>
> >>
> >> Some i350 devices contain thermal data that we can get to via an i2c
> >> interface. These functions provide support to get at that data. A
> >> following patch will export this data.
> >[...]
> >
> >We already have an I2C subsystem - so don't replicate i2c-algo-bit etc.
> >
> >It's possible we also have an hwmon driver for whatever temperature
> >sensor is on these boards, which you can then probe by calling
> >i2c_new_device().
>
> I am not sure that our sensors will be compatible, but I will research
> it to be sure. I will also take a look at what we can do with the i2c
> interface that already exists and make sure we are not duplicating any
> of it.
The patch you posted duplicates i2c-algo-bit. The sfc driver initially
did this too, but I was rightly required to fix that. So if you want an
example, you could do worse than looking for references to 'i2c' in
drivers/net/ethernet/sfc/falcon.c and
drivers/net/ethernet/sfc/falcon_boards.c.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists