aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram/src/bcmtimer.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-04-07 00:24:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-04-07 00:24:19 +0000
commit978958a8885182851a07ccc587f91937e7240e96 (patch)
tree454b9554435d27db2a478d41ec95689c3d455619 /package/nvram/src/bcmtimer.h
parentcc823e6c53a866f1ef9c627e603bff4c65014290 (diff)
downloadupstream-978958a8885182851a07ccc587f91937e7240e96.tar.gz
upstream-978958a8885182851a07ccc587f91937e7240e96.tar.bz2
upstream-978958a8885182851a07ccc587f91937e7240e96.zip
upgrade to broadcom-wl 4.150.10.5.2
SVN-Revision: 10749
Diffstat (limited to 'package/nvram/src/bcmtimer.h')
-rw-r--r--package/nvram/src/bcmtimer.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/package/nvram/src/bcmtimer.h b/package/nvram/src/bcmtimer.h
deleted file mode 100644
index 3db9e624f9..0000000000
--- a/package/nvram/src/bcmtimer.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright 2004, Broadcom Corporation
- * All Rights Reserved.
- *
- * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
- * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
- * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
- * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
- *
- * Low resolution timer interface. Timer handlers may be called
- * in a deferred manner in a different task context after the
- * timer expires or in the task context from which the timer
- * was created, depending on the implementation.
- *
- * $Id$
- */
-#ifndef __bcmtimer_h__
-#define __bcmtimer_h__
-
-/* ANSI headers */
-#include <time.h>
-
-/* timer ID */
-typedef unsigned int bcm_timer_module_id;
-typedef unsigned int bcm_timer_id;
-
-/* timer callback */
-typedef void (*bcm_timer_cb)(bcm_timer_id id, int data);
-
-/* OS-independant interfaces, applications should call these functions only */
-int bcm_timer_module_init(int timer_entries, bcm_timer_module_id *module_id);
-int bcm_timer_module_cleanup(bcm_timer_module_id module_id);
-int bcm_timer_module_enable(bcm_timer_module_id module_id, int enable);
-int bcm_timer_create(bcm_timer_module_id module_id, bcm_timer_id *timer_id);
-int bcm_timer_delete(bcm_timer_id timer_id);
-int bcm_timer_gettime(bcm_timer_id timer_id, struct itimerspec *value);
-int bcm_timer_settime(bcm_timer_id timer_id, const struct itimerspec *value);
-int bcm_timer_connect(bcm_timer_id timer_id, bcm_timer_cb func, int data);
-int bcm_timer_cancel(bcm_timer_id timer_id);
-int bcm_timer_change_expirytime(bcm_timer_id timer_id, const struct itimerspec *timer_spec);
-
-#endif /* #ifndef __bcmtimer_h__ */