make pppoe init script re-read nvram settings before restarting pppd
[openwrt.git] / package / linux / kernel-source / include / osl.h
1 /*
2 * OS Independent Layer
3 *
4 * Copyright 2004, Broadcom Corporation
5 * All Rights Reserved.
6 *
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11 * $Id$
12 */
13
14 #ifndef _osl_h_
15 #define _osl_h_
16
17 #ifdef V2_HAL
18 #include <v2hal_osl.h>
19 #elif defined(linux)
20 #include <linux_osl.h>
21 #elif PMON
22 #include <pmon_osl.h>
23 #elif defined(NDIS)
24 #include <ndis_osl.h>
25 #elif defined(_CFE_)
26 #include <cfe_osl.h>
27 #elif defined(MACOS9)
28 #include <macos9_osl.h>
29 #elif defined(MACOSX)
30 #include <macosx_osl.h>
31 #else
32 #error "Unsupported OSL requested"
33 #endif
34
35 /* handy */
36 #define SET_REG(r, mask, val) W_REG((r), ((R_REG(r) & ~(mask)) | (val)))
37
38 #endif /* _osl_h_ */
This page took 0.055828 seconds and 5 git commands to generate.