diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-04-24 10:54:45 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-04-24 10:54:45 -0700 |
commit | bcb441225d1365435bc3373901180de944298e86 (patch) | |
tree | da6fe9a57e159dc70d30f8b5c5bd2e7a8d7cf82c /src/i810_reg.h | |
parent | 47bd9059431eadfd8824e496eb91bb50efa0e282 (diff) |
Simplify the i2c code by using the GetBits/PutBits interface rather than
reimplementing it.
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r-- | src/i810_reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h index c790e8b6..dee39cef 100644 --- a/src/i810_reg.h +++ b/src/i810_reg.h @@ -267,12 +267,12 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define GPIOG 0x5028 #define GPIOH 0x502c # define GPIO_CLOCK_DIR_MASK (1 << 0) -# define GPIO_CLOCK_DIR (1 << 1) +# define GPIO_CLOCK_DIR_OUT (1 << 1) # define GPIO_CLOCK_VAL_MASK (1 << 2) # define GPIO_CLOCK_VAL_OUT (1 << 3) # define GPIO_CLOCK_VAL_IN (1 << 4) # define GPIO_DATA_DIR_MASK (1 << 8) -# define GPIO_DATA_DIR (1 << 9) +# define GPIO_DATA_DIR_OUT (1 << 9) # define GPIO_DATA_VAL_MASK (1 << 10) # define GPIO_DATA_VAL_OUT (1 << 11) # define GPIO_DATA_VAL_IN (1 << 12) |