5 #include <minix/i2cdriver.h>
8 enum device_types
{ I2C_DEVICE
, EEPROM_DEVICE
};
9 #define DEFAULT_DEVICE I2C_DEVICE
11 int eeprom_read(int fd
, i2c_addr_t addr
, uint16_t memaddr
, void *buf
,
12 size_t buflen
, int flags
, enum device_types device_type
);
14 int board_info(int fd
, i2c_addr_t address
, int flags
,
15 enum device_types device_type
);
17 #endif /* __EEPROMREAD_H */