public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* i2c-yosemite
@ 2004-02-22  9:41 Jean Delvare
  2004-02-22 10:30 ` i2c-yosemite Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Delvare @ 2004-02-22  9:41 UTC (permalink / raw)
  To: Manish Lachwani; +Cc: LM Sensors, LKML, Greg KH

Hi Manish,

I saw that there is a new driver named i2c-yosemite in Linux 2.6.3-mm2.
Quoting your words in the header:

"Currently, this Linux driver wont be integrated into the generic Linux
I2C framework."

Why that?

If everyone reimplements what already exists, the kernel is likely to go
bigger with no benefit. Also, you won't be able to use all user-space
tools that already exist, and will also have to write specific chip
drivers for the chips present on the yosemite bus, although these
drivers (Atmel 24C32 EEPROM and MAX 1619) already exist.

Please explain to us why you cannot/don't want to use the existing i2c
subsystem.

Thanks.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: i2c-yosemite
@ 2004-02-23  4:12 Manish Lachwani
  2004-02-23 19:24 ` i2c-yosemite Jean Delvare
  0 siblings, 1 reply; 5+ messages in thread
From: Manish Lachwani @ 2004-02-23  4:12 UTC (permalink / raw)
  To: 'LM Sensors', 'LKML'; +Cc: Greg KH

Hi Jean

Couple of things. First of all, I did not have an idea that a driver existed for Atmel 24C32 EEPROM. In case of the Yosemite chip, the MAC address of the Gigabit subsystem is stored in the EEPROM. It needs to be fetched by the Gige driver using the I2C protocol. I could not find the driver in the 2.4 tree and hence wrote one for the yosemite. I could use the existing driver, which would make sense. 

Secondly, the reason why I mentioned:

"Currently, this Linux driver wont be integrated into the generic Linux
I2C framework."

is because at the time the driver was written, the chip did not exist. The idea was that once the chip is released and the driver tested, it could be checked in the generic i2c framework along with the driver for the MAX 1619 sensors chip. Now that the drivers already exist, I will use them instead. 

Thanks
Manish

-----Original Message-----
From: Jean Delvare [mailto:khali@linux-fr.org]
Sent: Sunday, February 22, 2004 1:41 AM
To: Manish Lachwani
Cc: LM Sensors; LKML; Greg KH
Subject: i2c-yosemite


Hi Manish,

I saw that there is a new driver named i2c-yosemite in Linux 2.6.3-mm2.
Quoting your words in the header:

"Currently, this Linux driver wont be integrated into the generic Linux
I2C framework."

Why that?

If everyone reimplements what already exists, the kernel is likely to go
bigger with no benefit. Also, you won't be able to use all user-space
tools that already exist, and will also have to write specific chip
drivers for the chips present on the yosemite bus, although these
drivers (Atmel 24C32 EEPROM and MAX 1619) already exist.

Please explain to us why you cannot/don't want to use the existing i2c
subsystem.

Thanks.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-23 19:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-22  9:41 i2c-yosemite Jean Delvare
2004-02-22 10:30 ` i2c-yosemite Christoph Hellwig
2004-02-22 13:43   ` i2c-yosemite Michael Hunold
  -- strict thread matches above, loose matches on Subject: below --
2004-02-23  4:12 i2c-yosemite Manish Lachwani
2004-02-23 19:24 ` i2c-yosemite Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox