Jean Delvare
|
93caf007f4
|
i2c-dev: Move SMBus helper functions to include/i2c/smbus.h
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6048 7894878c-1315-0410-8ee3-d5d059ff63e0
|
13 years ago |
Jean Delvare
|
3a5d21649e
|
Use a 20-bit limit for the i2c bus number.
Use snprintf for the i2c dev node name.
Update copyright years.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5885 7894878c-1315-0410-8ee3-d5d059ff63e0
|
15 years ago |
Jean Delvare
|
54cee12770
|
Use consistent transaction names (based on the SMBus specification)
when complaining about a missing adapter functionality.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5242 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
fc38f35ce4
|
Share the error string between all functionality checks.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5241 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
f67174055a
|
No need to print the i2c bus number in functionality error message.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5240 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
cc723a46f7
|
Close device file before we exit.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5238 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
8cc44b8c9c
|
Whitespace cleanups.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5210 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
68fb2e6229
|
Minor optimizations and cleanups.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5207 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
2751626db8
|
Unknown options are fatal, so label them error rather than warning.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5206 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
bdfc87d724
|
Move the chip address parsing to a common function for consistency.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5204 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
2e942d16a5
|
Consistently restrict the allowed I2C device address to 0x03 - 0x77.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5203 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
2c57ef91a2
|
Unify and shorten the usage messages. The details can be found in
the man pages so no need to be verbose.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5201 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
b68190b426
|
Don't print the list of i2c buses as part of the help.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5200 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
adc03e3cf3
|
Make the includes order correct and consistent accross all tools.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5199 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
f6a402514f
|
Minor consistency fix.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5198 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
eda5918d0f
|
Refactor the handling of the I2CBUS parameter. This ensures more
consistency accross the i2c tools.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5193 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
aed7163f2b
|
Update the FSF address.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5164 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
fcb6bce3c8
|
Rename I2C_FUNC_SMBUS_HWPEC_CALC to I2C_FUNC_SMBUS_PEC, as was done
in the Linux 2.6 kernel.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@4948 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
7457b172b0
|
Show more warnings, and fix them.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@4499 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
0edf1c69c9
|
Add a Makefile to build, install and uninstall the tools, and make
them build again.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@4487 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |
Jean Delvare
|
c922a78bb4
|
Oops, forgot to create the trunk level.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@4481 7894878c-1315-0410-8ee3-d5d059ff63e0
|
18 years ago |