diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2014-11-24 23:24:40 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-25 15:42:53 +0100 |
commit | 7ff28aee40c42676abc3baab122d45826726ea49 (patch) | |
tree | 2593a6522853a06b4fc8da507d6aed5926dfc751 /include | |
parent | 68b14b8f9482b6c42cec71e06613f5684e89d275 (diff) | |
download | linux-7ff28aee40c42676abc3baab122d45826726ea49.tar.bz2 |
eeprom-93cx6: Add (read-only) support for 8-bit mode
Add read-only support for EEPROMs configured in 8-bit mode (ORG pin connected
to GND).
This will be used by wd719x driver.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/eeprom_93cx6.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/eeprom_93cx6.h b/include/linux/eeprom_93cx6.h index e50f98b0297a..eb0b1988050a 100644 --- a/include/linux/eeprom_93cx6.h +++ b/include/linux/eeprom_93cx6.h @@ -75,6 +75,10 @@ extern void eeprom_93cx6_read(struct eeprom_93cx6 *eeprom, const u8 word, u16 *data); extern void eeprom_93cx6_multiread(struct eeprom_93cx6 *eeprom, const u8 word, __le16 *data, const u16 words); +extern void eeprom_93cx6_readb(struct eeprom_93cx6 *eeprom, + const u8 byte, u8 *data); +extern void eeprom_93cx6_multireadb(struct eeprom_93cx6 *eeprom, + const u8 byte, u8 *data, const u16 bytes); extern void eeprom_93cx6_wren(struct eeprom_93cx6 *eeprom, bool enable); |