[PATCH] aic7xxx_osm build fix
[cris-mirror.git] / drivers / net / sk98lin / h / skgehwt.h
blobe6b0016a695ca7b611b1d3f15a87edde0f966b73
1 /******************************************************************************
3 * Name: skhwt.h
4 * Project: Gigabit Ethernet Adapters, Event Scheduler Module
5 * Version: $Revision: 1.7 $
6 * Date: $Date: 2003/09/16 12:55:08 $
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 ******************************************************************************/
26 * SKGEHWT.H contains all defines and types for the timer functions
29 #ifndef _SKGEHWT_H_
30 #define _SKGEHWT_H_
33 * SK Hardware Timer
34 * - needed wherever the HWT module is used
35 * - use in Adapters context name pAC->Hwt
37 typedef struct s_Hwt {
38 SK_U32 TStart; /* HWT start */
39 SK_U32 TStop; /* HWT stop */
40 int TActive; /* HWT: flag : active/inactive */
41 } SK_HWT;
43 extern void SkHwtInit(SK_AC *pAC, SK_IOC Ioc);
44 extern void SkHwtStart(SK_AC *pAC, SK_IOC Ioc, SK_U32 Time);
45 extern void SkHwtStop(SK_AC *pAC, SK_IOC Ioc);
46 extern SK_U32 SkHwtRead(SK_AC *pAC, SK_IOC Ioc);
47 extern void SkHwtIsr(SK_AC *pAC, SK_IOC Ioc);
48 #endif /* _SKGEHWT_H_ */