summaryrefslogtreecommitdiff
path: root/include/linux/eeprom_93cx6.h
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2014-11-25 01:24:40 +0300
committerChristoph Hellwig <hch@lst.de>2014-11-25 17:42:53 +0300
commit7ff28aee40c42676abc3baab122d45826726ea49 (patch)
tree2593a6522853a06b4fc8da507d6aed5926dfc751 /include/linux/eeprom_93cx6.h
parent68b14b8f9482b6c42cec71e06613f5684e89d275 (diff)
downloadlinux-7ff28aee40c42676abc3baab122d45826726ea49.tar.xz
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/linux/eeprom_93cx6.h')
-rw-r--r--include/linux/eeprom_93cx6.h4
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);