Deleted Added
full compact
subr_hal.c (144888) subr_hal.c (145485)
1/*-
2 * Copyright (c) 2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/compat/ndis/subr_hal.c 144888 2005-04-11 02:02:35Z wpaul $");
34__FBSDID("$FreeBSD: head/sys/compat/ndis/subr_hal.c 145485 2005-04-24 20:21:22Z wpaul $");
35
36#include <sys/param.h>
37#include <sys/types.h>
38#include <sys/errno.h>
39
40#include <sys/callout.h>
41#include <sys/kernel.h>
42#include <sys/lock.h>

--- 7 unchanged lines hidden (view full) ---

50#include <machine/bus_memio.h>
51#include <machine/bus_pio.h>
52#include <machine/bus.h>
53
54#include <sys/bus.h>
55#include <sys/rman.h>
56
57#include <compat/ndis/pe_var.h>
35
36#include <sys/param.h>
37#include <sys/types.h>
38#include <sys/errno.h>
39
40#include <sys/callout.h>
41#include <sys/kernel.h>
42#include <sys/lock.h>

--- 7 unchanged lines hidden (view full) ---

50#include <machine/bus_memio.h>
51#include <machine/bus_pio.h>
52#include <machine/bus.h>
53
54#include <sys/bus.h>
55#include <sys/rman.h>
56
57#include <compat/ndis/pe_var.h>
58#include <compat/ndis/resource_var.h>
59#include <compat/ndis/cfg_var.h>
58#include <compat/ndis/ntoskrnl_var.h>
59#include <compat/ndis/hal_var.h>
60
61static void KeStallExecutionProcessor(uint32_t);
62static void WRITE_PORT_BUFFER_ULONG(uint32_t *,
63 uint32_t *, uint32_t);
64static void WRITE_PORT_BUFFER_USHORT(uint16_t *,
65 uint16_t *, uint32_t);

--- 352 unchanged lines hidden ---
60#include <compat/ndis/ntoskrnl_var.h>
61#include <compat/ndis/hal_var.h>
62
63static void KeStallExecutionProcessor(uint32_t);
64static void WRITE_PORT_BUFFER_ULONG(uint32_t *,
65 uint32_t *, uint32_t);
66static void WRITE_PORT_BUFFER_USHORT(uint16_t *,
67 uint16_t *, uint32_t);

--- 352 unchanged lines hidden ---