From ae481521f5eb0f47037515756814b019a261b117 Mon Sep 17 00:00:00 2001 From: khali Date: Tue, 7 Jul 2015 16:49:21 +0000 Subject: Mark eepromer and eeprom as deprecated. git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@6307 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 3 +++ Makefile | 2 +- eeprog/README.eeprog | 18 ++++++++++++++---- eepromer/README | 3 +++ eepromer/README.eeprom | 2 ++ eepromer/README.eepromer | 2 ++ 6 files changed, 25 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 16d1674..e6afb07 100644 --- a/CHANGES +++ b/CHANGES @@ -45,8 +45,11 @@ SVN HEAD Update manufacturer IDs (JEP106AQ) decode-vaio: Add a manual page eeprog: Add a manual page + Moved to a separate subdirectory eeprom: Add a manual page + Marked as deprecated eepromer: Add a manual page + Marked as deprecated i2cdetect: Do a best effort detection if functionality is missing Clarify the SMBus commands used for probing by default i2c-dev.h: Minimize differences with kernel flavor diff --git a/Makefile b/Makefile index 3b49bd4..c85317c 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,6 @@ KERNELVERSION := $(shell uname -r) all: EXTRA := -#EXTRA += py-smbus +#EXTRA += eeprog py-smbus SRCDIRS := include lib eeprom stub tools $(EXTRA) include $(SRCDIRS:%=%/Module.mk) diff --git a/eeprog/README.eeprog b/eeprog/README.eeprog index 6cccd00..7514c73 100644 --- a/eeprog/README.eeprog +++ b/eeprog/README.eeprog @@ -1,4 +1,16 @@ -Important! See the README file for important warnings. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!! ! +!!! This program should only be used on external busses unless you REALLY ! +!!! know what you are doing. ! +!!! ! +!!! Your computer probably contains eeproms for saving data vital to its ! +!!! operation. If you are not careful you might overwrite this data with ! +!!! this program and your computer may no longer boot! ! +!!! ! +!!! An example are the EEPROMS on your SDRAM DIMMs, your computer may no ! +!!! longer detect the RAM module rendering it essentially USELESS! ! +!!! ! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! eeprog reads and writes 24Cxx EEPROMs connected to I2C serial bus. @@ -7,6 +19,4 @@ your i2c chipset and the i2c-dev drivers. Use -16 switch for EEPROM larger then 24C16 (16 bit addressing mode). -Again, it's really important that you read the README file. - -Type "make" to compile. +Use "make EXTRA=eeprog" to build this program. diff --git a/eepromer/README b/eepromer/README index ff89c73..392c266 100644 --- a/eepromer/README +++ b/eepromer/README @@ -4,13 +4,16 @@ Use eeprom for small eeproms with one-byte addresses: 24C01, 24C01A, 24C02, 24C04, 24C08, and 24C16 It works only on true i2c bus adapters. See README.eeprom for details. + This program is deprecated, please use eeprog instead. Use eepromer for large eeproms with two-byte addresses: 24C32, 24C64, 24C128, 24C256, and 24C512 It works only on true i2c bus adapters. See README.eepromer for details. + This program is deprecated, please use eeprog instead. Use eeprog for either small or large eeproms. + This program was moved to a separate subdirectory. Use the -16 switch for large eeproms. It works on both i2c and smbus bus adapters. See README.eeprog for details. diff --git a/eepromer/README.eeprom b/eepromer/README.eeprom index 6f1e5ed..b465d07 100644 --- a/eepromer/README.eeprom +++ b/eepromer/README.eeprom @@ -2,6 +2,8 @@ You can use this program to read/write to i2c-eeproms like the popular 24C16, 24C08, 24C04,.. In contrast to eeprommer which supports 24C256-type eeproms 24C16ss use 1-byte addresses! +This program is deprecated, please use eeprog instead. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! ! !!! This program should only be used on external busses such as i2c-pport. ! diff --git a/eepromer/README.eepromer b/eepromer/README.eepromer index 444103f..4f0648c 100644 --- a/eepromer/README.eepromer +++ b/eepromer/README.eepromer @@ -1,5 +1,7 @@ Simple program for storing data to I2C EEPROM. +This program is deprecated, please use eeprog instead. + !!!!!!!!!!!!!!!!!!!!!!!!Warning!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The EEPROM must be a large EEPROM which uses a 2-byte address -- cgit v1.2.1