]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/isdn/hardware/eicon/main_if.h
Linux-2.6.12-rc2
[mirror_ubuntu-bionic-kernel.git] / drivers / isdn / hardware / eicon / main_if.h
1 /*
2 *
3 Copyright (c) Eicon Technology Corporation, 2000.
4 *
5 This source file is supplied for the use with Eicon
6 Technology Corporation's range of DIVA Server Adapters.
7 *
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12 *
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY OF ANY KIND WHATSOEVER INCLUDING ANY
15 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 See the GNU General Public License for more details.
17 *
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 *
22 */
23 /*------------------------------------------------------------------*/
24 /* file: main_if.h */
25 /*------------------------------------------------------------------*/
26 # ifndef MAIN_IF___H
27 # define MAIN_IF___H
28
29 # include "debug_if.h"
30
31 void DI_lock (void) ;
32 void DI_unlock (void) ;
33
34 #ifdef NOT_YET_NEEDED
35 void DI_nttime (LARGE_INTEGER *NTtime) ;
36 void DI_ntlcltime(LARGE_INTEGER *NTtime, LARGE_INTEGER *lclNTtime) ;
37 void DI_nttimefields(LARGE_INTEGER *NTtime, TIME_FIELDS *TimeFields);
38 unsigned long DI_wintime(LARGE_INTEGER *NTtime) ;
39
40 unsigned short DiInsertProcessorNumber (int type) ;
41 void DiProcessEventLog (unsigned short id, unsigned long msgID, va_list ap);
42
43 void StartIoctlTimer (void (*Handler)(void), unsigned long msec) ;
44 void StopIoctlTimer (void) ;
45 void UnpendIoctl (DbgRequest *pDbgReq) ;
46 #endif
47
48 void add_to_q(int, char* , unsigned int);
49 # endif /* MAIN_IF___H */
50