diff options
-rw-r--r-- | drivers/misc/eeprom/max6875.c | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/drivers/misc/eeprom/max6875.c b/drivers/misc/eeprom/max6875.c index 5a6b2bce8ad5..fe2909278507 100644 --- a/drivers/misc/eeprom/max6875.c +++ b/drivers/misc/eeprom/max6875.c | |||
@@ -1,30 +1,30 @@ | |||
1 | /* | 1 | /* |
2 | max6875.c - driver for MAX6874/MAX6875 | 2 | * max6875.c - driver for MAX6874/MAX6875 |
3 | 3 | * | |
4 | Copyright (C) 2005 Ben Gardner <bgardner@wabtec.com> | 4 | * Copyright (C) 2005 Ben Gardner <bgardner@wabtec.com> |
5 | 5 | * | |
6 | Based on eeprom.c | 6 | * Based on eeprom.c |
7 | 7 | * | |
8 | The MAX6875 has a bank of registers and two banks of EEPROM. | 8 | * The MAX6875 has a bank of registers and two banks of EEPROM. |
9 | Address ranges are defined as follows: | 9 | * Address ranges are defined as follows: |
10 | * 0x0000 - 0x0046 = configuration registers | 10 | * * 0x0000 - 0x0046 = configuration registers |
11 | * 0x8000 - 0x8046 = configuration EEPROM | 11 | * * 0x8000 - 0x8046 = configuration EEPROM |
12 | * 0x8100 - 0x82FF = user EEPROM | 12 | * * 0x8100 - 0x82FF = user EEPROM |
13 | 13 | * | |
14 | This driver makes the user EEPROM available for read. | 14 | * This driver makes the user EEPROM available for read. |
15 | 15 | * | |
16 | The registers & config EEPROM should be accessed via i2c-dev. | 16 | * The registers & config EEPROM should be accessed via i2c-dev. |
17 | 17 | * | |
18 | The MAX6875 ignores the lowest address bit, so each chip responds to | 18 | * The MAX6875 ignores the lowest address bit, so each chip responds to |
19 | two addresses - 0x50/0x51 and 0x52/0x53. | 19 | * two addresses - 0x50/0x51 and 0x52/0x53. |
20 | 20 | * | |
21 | Note that the MAX6875 uses i2c_smbus_write_byte_data() to set the read | 21 | * Note that the MAX6875 uses i2c_smbus_write_byte_data() to set the read |
22 | address, so this driver is destructive if loaded for the wrong EEPROM chip. | 22 | * address, so this driver is destructive if loaded for the wrong EEPROM chip. |
23 | 23 | * | |
24 | This program is free software; you can redistribute it and/or modify | 24 | * This program is free software; you can redistribute it and/or modify |
25 | it under the terms of the GNU General Public License as published by | 25 | * it under the terms of the GNU General Public License as published by |
26 | the Free Software Foundation; version 2 of the License. | 26 | * the Free Software Foundation; version 2 of the License. |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include <linux/kernel.h> | 29 | #include <linux/kernel.h> |
30 | #include <linux/init.h> | 30 | #include <linux/init.h> |