1 /******************************************************************************
4 * Project: Gigabit Ethernet Adapters, Schedule-Modul
5 * Version: $Revision: 1.6 $
6 * Date: $Date: 2003/05/13 17:57:48 $
7 * Purpose: Defines for the hardware timer functions
9 ******************************************************************************/
11 /******************************************************************************
13 * (C)Copyright 1998-2002 SysKonnect GmbH.
14 * (C)Copyright 2002-2003 Marvell.
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.6 2003/05/13 17:57:48 mkarl
33 * Revision 1.5 1999/11/22 13:54:24 cgoos
34 * Changed license header to GPL.
36 * Revision 1.4 1998/08/19 09:50:58 gklug
37 * fix: remove struct keyword from c-code (see CCC) add typedefs
39 * Revision 1.3 1998/08/14 07:09:29 gklug
42 * Revision 1.2 1998/08/07 12:54:21 gklug
43 * fix: first compiled version
45 * Revision 1.1 1998/08/07 09:32:58 gklug
52 ******************************************************************************/
55 * SKGEHWT.H contains all defines and types for the timer functions
63 * - needed wherever the HWT module is used
64 * - use in Adapters context name pAC->Hwt
66 typedef struct s_Hwt
{
67 SK_U32 TStart
; /* HWT start */
68 SK_U32 TStop
; /* HWT stop */
69 int TActive
; /* HWT: flag : active/inactive */
72 extern void SkHwtInit(SK_AC
*pAC
, SK_IOC Ioc
);
73 extern void SkHwtStart(SK_AC
*pAC
, SK_IOC Ioc
, SK_U32 Time
);
74 extern void SkHwtStop(SK_AC
*pAC
, SK_IOC Ioc
);
75 extern SK_U32
SkHwtRead(SK_AC
*pAC
,SK_IOC Ioc
);
76 extern void SkHwtIsr(SK_AC
*pAC
, SK_IOC Ioc
);
77 #endif /* _SKGEHWT_H_ */