LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* 2.6 (eldk) - I2C constants
@ 2006-05-26 14:33 Naru Sundar
  0 siblings, 0 replies; only message in thread
From: Naru Sundar @ 2006-05-26 14:33 UTC (permalink / raw)
  To: linuxppc-embedded

Hello folks, I'm porting a 2.4 driver over to 2.6 and noted some 
weirdness in the I2C headers.  I thought it was worth checking out here.

include/linux/i2c.h in 2.4 defined the following constants:
#define I2C_M_TEN   0x10    /* we have a ten bit chip address   */
#define I2C_M_RD    0x01
#define I2C_M_WR        0x00    /* For readable code!                   */
#define I2C_M_NOSTART   0x4000
#define I2C_M_REV_DIR_ADDR  0x2000

in ELDK 2.6 source drop I have (2.6.15), the I2C_M_WR constant was removed.

Any thoughts? I can declare that constant locally in the driver, but 
since these were standard I2C message constants I thought something
odd was up (or am I missing something obvious).

Thanks

--
Naru Sundar <nsundar@fulcrummicro.com>
Fulcrum Microsystems
http://www.fulcrummicro.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-26 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26 14:33 2.6 (eldk) - I2C constants Naru Sundar

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