1 /* Copyright (c) 2003-2004 2 * Stefano Ceccherini <burton666@libero.it>. All rights reserved. 3 * This file is released under the MIT license 4 */ 5 #ifndef __WB_INTERFACE_H 6 #define __WB_INTERFACE_H 7 8 #include "wb840.h" 9 10 extern void wb_read_eeprom(wb_device *, void* dest, int offset, int count, bool swap); 11 extern int wb_miibus_readreg(wb_device *, int phy_id, int location); 12 extern void wb_miibus_writereg(wb_device *, int phy, int location, int data); 13 14 #endif 15