BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / drivers / network / sis900 / interface.h
blob333426243d462212ad9491189a0e9b4b4f2b6ae4
1 /* MII, MDIO and EEPROM interface of SiS 900
3 * Copyright 2001-2005 pinc Software. All Rights Reserved.
4 * Distributed under the terms of the MIT license.
5 */
6 #ifndef INTERFACE_H
7 #define INTERFACE_H
10 #include "sis900.h"
13 extern uint16 eeprom_read(struct sis_info *info, int address);
15 extern uint16 mdio_read(struct sis_info *info, uint16 reg);
16 extern uint16 mdio_readFromPHY(struct sis_info *info, uint16 phy, uint16 reg);
17 extern void mdio_write(struct sis_info *info, uint16 reg, uint16 value);
18 extern void mdio_writeToPHY(struct sis_info *info, uint16 phy, uint16 reg, uint16 value);
20 extern uint16 mdio_statusFromPHY(struct sis_info *info, uint16 phy);
21 extern uint16 mdio_status(struct sis_info *info);
23 #endif /* INTERFACE_H */