On Sat, Apr 13, 2019 at 07:51:05PM +0200, Andrew Lunn wrote: > On Sat, Apr 13, 2019 at 12:31:43PM +0000, Igor Russkikh wrote: > > From: Yana Esina <yana.es...@aquantia.com> > > > > Ability to read the chip temperature from memory > > via hwmon interface > > > + /* Convert PHY temperature from 1/256 degree Celsius > > + * to 1/1000 degree Celsius. > > + */ > > + *temp = temp_res * 1000 / 256; > > + > > + return 0; > > +}
Hi Igor, Yana To bring this up to par with the aquantia PHY driver, you might want to also export the high/low warn and fail temperatures. Andrew