Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / rom / usb / classes / asixeth / asixeth.class.h
blobd0c8238908459da23016a5767c99a2f87c6752f7
1 #ifndef ASIXETH_CLASS_H
2 #define ASIXETH_CLASS_H
4 /*
5 *----------------------------------------------------------------------------
6 * Includes for asixeth class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
9 */
11 #include "common.h"
13 #include <libraries/gadtools.h>
14 #include <libraries/mui.h>
16 #include <devices/newstyle.h>
18 #include <string.h>
19 #include <stddef.h>
20 #include <stdio.h>
22 #include "asixeth.h"
23 #include "dev.h"
25 /* Protos */
27 struct NepClassEth * usbAttemptDeviceBinding(struct NepEthBase *nh, struct PsdDevice *pd);
28 struct NepClassEth * usbForceDeviceBinding(struct NepEthBase *nh, struct PsdDevice *pd);
29 void usbReleaseDeviceBinding(struct NepEthBase *nh, struct NepClassEth *ncp);
31 struct NepClassEth * nAllocEth(void);
32 void nFreeEth(struct NepClassEth *ncp);
34 BOOL nReadEEPROMMAC(struct NepClassEth *ncp, UBYTE *macptr);
35 LONG nReadPhyWord(struct NepClassEth *ncp, ULONG phyid, ULONG phyreg);
36 BOOL nWritePhyWord(struct NepClassEth *ncp, ULONG phyid, ULONG phyreg, ULONG value);
38 BOOL nInitASIX(struct NepClassEth *ncp);
39 void nSetOnline(struct NepClassEth *ncp);
40 void nUpdateRXMode(struct NepClassEth *ncp);
42 void nDoEvent(struct NepClassEth *ncp, ULONG events);
43 BOOL nWritePacket(struct NepClassEth *ncp, struct IOSana2Req *ioreq);
44 BOOL nReadPacket(struct NepClassEth *ncp, UBYTE *pktptr, ULONG len);
46 BOOL nLoadClassConfig(struct NepEthBase *nh);
47 BOOL nLoadBindingConfig(struct NepClassEth *ncp);
48 LONG nOpenBindingCfgWindow(struct NepEthBase *nh, struct NepClassEth *ncp);
50 void nGUITaskCleanup(struct NepClassEth *nh);
52 AROS_UFP0(void, nEthTask);
53 AROS_UFP0(void, nGUITask);
55 #endif /* ASIXETH_CLASS_H */