1 /******************************************************************************
4 * Project: GEnesis, PCI Gigabit Ethernet Adapter
5 * Version: $Revision: 1.5 $
6 * Date: $Date: 1999/11/22 13:54:24 $
7 * Purpose: Defines for the hardware timer functions
9 ******************************************************************************/
11 /******************************************************************************
13 * (C)Copyright 1998,1999 SysKonnect,
14 * a business unit of Schneider & Koch & Co. Datensysteme GmbH.
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or
19 * (at your option) any later version.
21 * The information in this file is provided "AS IS" without warranty.
23 ******************************************************************************/
25 /******************************************************************************
30 * Revision 1.5 1999/11/22 13:54:24 cgoos
31 * Changed license header to GPL.
33 * Revision 1.4 1998/08/19 09:50:58 gklug
34 * fix: remove struct keyword from c-code (see CCC) add typedefs
36 * Revision 1.3 1998/08/14 07:09:29 gklug
39 * Revision 1.2 1998/08/07 12:54:21 gklug
40 * fix: first compiled version
42 * Revision 1.1 1998/08/07 09:32:58 gklug
49 ******************************************************************************/
52 * SKGEHWT.H contains all defines and types for the timer functions
60 * - needed wherever the HWT module is used
61 * - use in Adapters context name pAC->Hwt
63 typedef struct s_Hwt {
64 SK_U32 TStart ; /* HWT start */
65 SK_U32 TStop ; /* HWT stop */
66 int TActive ; /* HWT: flag : active/inactive */
69 extern void SkHwtInit(SK_AC *pAC, SK_IOC Ioc);
70 extern void SkHwtStart(SK_AC *pAC, SK_IOC Ioc, SK_U32 Time);
71 extern void SkHwtStop(SK_AC *pAC, SK_IOC Ioc);
72 extern SK_U32 SkHwtRead(SK_AC *pAC,SK_IOC Ioc);
73 extern void SkHwtIsr(SK_AC *pAC, SK_IOC Ioc);
74 #endif /* _SKGEHWT_H_ */