diff options
author | Michael Brown | 2006-06-12 21:29:50 +0200 |
---|---|---|
committer | Michael Brown | 2006-06-12 21:29:50 +0200 |
commit | 51a36f1cfbb45609c5e50b2257f4030b956316ae (patch) | |
tree | 03a9103239678c94b1e91adf297b545d484c92f0 /src/include/gpxe/i2c.h | |
parent | Updated debug message to reflect change in data structure. (diff) | |
download | ipxe-51a36f1cfbb45609c5e50b2257f4030b956316ae.tar.gz ipxe-51a36f1cfbb45609c5e50b2257f4030b956316ae.tar.xz ipxe-51a36f1cfbb45609c5e50b2257f4030b956316ae.zip |
Change read_bit() to return 0 or -1UL, rather than 0 or 1.
Diffstat (limited to 'src/include/gpxe/i2c.h')
-rw-r--r-- | src/include/gpxe/i2c.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/i2c.h b/src/include/gpxe/i2c.h index e282810b..bfaee8fb 100644 --- a/src/include/gpxe/i2c.h +++ b/src/include/gpxe/i2c.h @@ -82,7 +82,9 @@ struct i2c_bit_basher { /** Bit indices used for I2C bit-bashing interface */ enum { + /** Serial clock */ I2C_BIT_SCL = 0, + /** Serial data */ I2C_BIT_SDA, }; |