Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / sound / pci / ice1712 / envy24ht.h
index 1e99183..b58afcd 100644 (file)
@@ -106,7 +106,7 @@ enum {
 #define VT1724_REG_I2C_BYTE_ADDR       0x11    /* byte */
 #define VT1724_REG_I2C_DATA            0x12    /* byte */
 #define VT1724_REG_I2C_CTRL            0x13    /* byte */
-#define   VT1724_I2C_EEPROM            0x80    /* EEPROM exists */
+#define   VT1724_I2C_EEPROM            0x80    /* 1 = EEPROM exists */
 #define   VT1724_I2C_BUSY              0x01    /* busy bit */
 
 #define VT1724_REG_GPIO_DATA   0x14    /* word */
@@ -209,4 +209,7 @@ enum {
 #define VT1724_MT_PDMA1_COUNT          0x76    /* word */
 
 
+unsigned char snd_vt1724_read_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr);
+void snd_vt1724_write_i2c(struct snd_ice1712 *ice, unsigned char dev, unsigned char addr, unsigned char data);
+
 #endif /* __SOUND_VT1724_H */