Jean Delvare
4d60bc4af7
Misc coding-style fixes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5689 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f90bb0e92d
Clarify Linux kernel vs. GNU/Linux OS.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5619 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
b386135a6a
py-smbus depends on <linux/i2c-dev.h>.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5611 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f0892fadae
List include first, so that other modules can use it.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5610 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
1fa6e1c3b1
Add missing entry.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5609 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4f13b76ddd
Integrate py-smbus into the build system. Patch from Mike Frysinger.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5608 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
8bea638675
Drop stray reference to lm-sensors.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5607 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
d03f39f424
Update maintainer address.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5600 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
03aa66377f
Let the environment set CC and CFLAGS. Original patch from Mike Frysinger.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5597 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
52cb1789b4
Complete GPL header.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5596 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4b89e48a10
Delete the decode-xeon script. It was essentially unmaintained, was
never updated to support Linux 2.6, and lacked a license statement.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5595 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
24f819ed0c
Licensing clarification.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5594 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
929a2e1846
Update.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5566 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
b42464782f
Missed whitespace cleanups.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5562 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4042df3ded
Strip trailing whitespace and redundant spaces.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5561 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
a1813bf8c8
Fix obvious decoding logic bug in decode_sdr_sdram().
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5560 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
a617dccf4c
New helper function value_or_undefined().
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5559 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
b5e2039962
Get rid of $l everywhere else.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5558 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
b5ec652aa8
Get rid of $l in decode_sdr_sdram().
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5557 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
4c7b186acb
Add parentheses to all printl-like function calls, for clarity.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5556 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
aeb736f514
Drop extra newline characters.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5555 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
fceba7f4bc
Clean-up manufacturing data decoding functions.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5554 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
49b3d934ee
Refactor manufacturing data decoding.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5553 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0eb91feeb7
Do not decode DDR3 manufacturing data fields which have been left
blank.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5552 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
41277a7c4b
Add support for DDR3 SDRAM. Patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5551 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
e5f11aef90
Read the remainder of the EEPROM data if more than 128 bytes are used.
Patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5548 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
9e9acf70d0
Move manufacture date decoding to a separate function.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5547 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f54bbc420d
New manufacturer decoding for DDR3 modules. Patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5546 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
75fad2ec24
One more Rambus fix.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5545 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
78ae4ef0be
Fix handling of Rambus memory modules.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5544 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
25dae9734d
Move checksum to a separate function. Handle CRC of FB-DIMM and DDR3
SDRAM memory modules. Based on an original patch from Paul Goyette.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5543 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
a203aa81df
Update comments.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5542 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
c27f8f6a11
Pass all EEPROM bytes to decoding functions, saving the need to
splice the bytes array.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5541 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
2c191a89d2
Read all EEPROM bytes at once, this is easier and even more efficient in
the general case.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5540 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
fee2a0cd02
Move manufacturing information decoding to a separate function in
anticipation of support for new memory module type.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5539 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
9590d810f3
Spelling fixes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5538 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
e096011986
Use udev settle to speed up initialization.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5533 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
ed1356ea0b
Set version to 3.0.2.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5453 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0d84adf510
Add missing includes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5452 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0e972ad9fd
Add support for reading back to short writes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5394 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
35a929de32
Make reading back the written value optional.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5393 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f9bad5666d
Clarify the requirements of data value masking.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5392 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
0c270e09de
Allow masking on short writes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5391 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
c797cbaaeb
Set the data value mask with -m. The old method is still supported for
compatibility, but is considered deprecated and is no longer documented.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5390 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
8cc99d7f45
Only export the ceil function from POSIX. By default, POSIX exports
everything, and this happens to generate warnings when using perl 5.10.0.
That's a perl bug, but we can still work around it and avoid potential
future issues of the same kind.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5388 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
aad070abd0
Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines, as was just done in the
Linux 2.6 kernel.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5361 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
6a2f709549
Stop on i2cset error.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5293 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
cc17bf04ca
Behave properly when i2c-stub is already loaded.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5292 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
d34a2c94fc
Add support for little-endian word hexdumps.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5287 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago
Jean Delvare
f575d048f4
Add support for partial dumps.
Report if only garbage is found in dump file.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5280 7894878c-1315-0410-8ee3-d5d059ff63e0
17 years ago