Better i2c bit definitions.

Approved by: cognet
This commit is contained in:
Kevin Lo 2006-11-30 06:30:01 +00:00
parent 7a3ac16ec2
commit 561d953686
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164763

View file

@ -43,9 +43,9 @@
#define GPIO_PCI_INTC 9
#define GPIO_PCI_INTD 8
#define GPIO_I2C_SDA 7
#define GPIO_I2C_SDA_BIT (1U << 7)
#define GPIO_I2C_SDA_BIT (1U << GPIO_I2C_SDA)
#define GPIO_I2C_SCL 6
#define GPIO_I2C_SCL_BIT (1U << 6)
#define GPIO_I2C_SCL_BIT (1U << GPIO_I2C_SCL)
/* Interrupt */
#define PCI_INT_A IXP425_INT_GPIO_11
#define PCI_INT_B IXP425_INT_GPIO_10