Linux 2.6.31.8
[linux/fpc-iii.git] / arch / mips / lasat / at93c.h
blobcfe2f99b1d440884ab84f4da1e2bad8f989c3e48
1 /*
2 * Atmel AT93C46 serial eeprom driver
4 * Brian Murphy <brian.murphy@eicon.com>
6 */
8 extern struct at93c_defs {
9 volatile u32 *reg;
10 volatile u32 *rdata_reg;
11 int rdata_shift;
12 int wdata_shift;
13 u32 cs;
14 u32 clk;
15 } *at93c;
17 u8 at93c_read(u8 addr);
18 void at93c_write(u8 addr, u8 data);