Remove building with NOCRYPTO option
[minix3.git] / minix / usr.bin / eepromread / eepromread.h
blob896162959d0826ba4048f5da9debca5e2a55c49c
1 #ifndef __EEPROMREAD_H
2 #define __EEPROMREAD_H
4 #include <sys/ioctl.h>
5 #include <minix/i2cdriver.h>
6 #include <minix/i2c.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 */