Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c3e390db
Commit
c3e390db
authored
May 08, 2003
by
Mark W. McClelland
Committed by
Greg Kroah-Hartman
May 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: add more classes
Add I2C classes for analog and digital cameras, and fix a typo.
parent
d78602c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
include/linux/i2c.h
include/linux/i2c.h
+6
-4
No files found.
include/linux/i2c.h
View file @
c3e390db
...
@@ -281,10 +281,12 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data)
...
@@ -281,10 +281,12 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data)
/* Must equal I2C_M_TEN below */
/* Must equal I2C_M_TEN below */
/* i2c adapter classes (bitmask) */
/* i2c adapter classes (bitmask) */
#define I2C_ADAP_CLASS_SMBUS (1<<0)
/* lm_sensors, ... */
#define I2C_ADAP_CLASS_SMBUS (1<<0)
/* lm_sensors, ... */
#define I2C_ADAP_CLASS_TV_ANALOG (1<<1)
/* bttv + friends */
#define I2C_ADAP_CLASS_TV_ANALOG (1<<1)
/* bttv + friends */
#define I2C_ADAP_CLASS_TV_DIGINAL (1<<2)
/* dbv cards */
#define I2C_ADAP_CLASS_TV_DIGITAL (1<<2)
/* dbv cards */
#define I2C_ADAP_CLASS_DDC (1<<3)
/* i2c-matroxfb ? */
#define I2C_ADAP_CLASS_DDC (1<<3)
/* i2c-matroxfb ? */
#define I2C_ADAP_CLASS_CAM_ANALOG (1<<4)
/* camera with analog CCD */
#define I2C_ADAP_CLASS_CAM_DIGITAL (1<<5)
/* most webcams */
/* i2c_client_address_data is the struct for holding default client
/* i2c_client_address_data is the struct for holding default client
* addresses for a driver and for the parameters supplied on the
* addresses for a driver and for the parameters supplied on the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment