1/*-
2 * Copyright (c) 1999 Doug Rabson
3 * 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
--- 44 unchanged lines hidden (view full) ---
53 * SUCH DAMAGE.
54 */
55
56/*
57 * Parts of the ISA bus implementation common to all architectures.
58 */
59
60#include <sys/cdefs.h>
61__FBSDID("$FreeBSD: head/sys/isa/isa_common.c 221526 2011-05-06 13:48:53Z jhb $");
62
63#include "opt_isa.h"
64
65#include <sys/param.h>
66#include <sys/systm.h>
67#include <sys/kernel.h>
68#include <sys/bus.h>
69#include <sys/malloc.h>
--- 996 unchanged lines hidden (view full) ---
1066 /* Bus interface */
1067 DEVMETHOD(bus_add_child, isa_add_child),
1068 DEVMETHOD(bus_print_child, isa_print_child),
1069 DEVMETHOD(bus_probe_nomatch, isa_probe_nomatch),
1070 DEVMETHOD(bus_read_ivar, isa_read_ivar),
1071 DEVMETHOD(bus_write_ivar, isa_write_ivar),
1072 DEVMETHOD(bus_child_detached, isa_child_detached),
1073 DEVMETHOD(bus_driver_added, isa_driver_added),
1074 DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
1075 DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
1076
1077 DEVMETHOD(bus_get_resource_list,isa_get_resource_list),
1078 DEVMETHOD(bus_alloc_resource, isa_alloc_resource),
1079 DEVMETHOD(bus_release_resource, isa_release_resource),
1080 DEVMETHOD(bus_set_resource, isa_set_resource),
1081 DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
1082 DEVMETHOD(bus_delete_resource, bus_generic_rl_delete_resource),
1083 DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
--- 42 unchanged lines hidden ---
2 * Copyright (c) 1999 Doug Rabson
3 * 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
--- 44 unchanged lines hidden (view full) ---
53 * SUCH DAMAGE.
54 */
55
56/*
57 * Parts of the ISA bus implementation common to all architectures.
58 */
59
60#include <sys/cdefs.h>
61__FBSDID("$FreeBSD: head/sys/isa/isa_common.c 221526 2011-05-06 13:48:53Z jhb $");
62
63#include "opt_isa.h"
64
65#include <sys/param.h>
66#include <sys/systm.h>
67#include <sys/kernel.h>
68#include <sys/bus.h>
69#include <sys/malloc.h>
--- 996 unchanged lines hidden (view full) ---
1066 /* Bus interface */
1067 DEVMETHOD(bus_add_child, isa_add_child),
1068 DEVMETHOD(bus_print_child, isa_print_child),
1069 DEVMETHOD(bus_probe_nomatch, isa_probe_nomatch),
1070 DEVMETHOD(bus_read_ivar, isa_read_ivar),
1071 DEVMETHOD(bus_write_ivar, isa_write_ivar),
1072 DEVMETHOD(bus_child_detached, isa_child_detached),
1073 DEVMETHOD(bus_driver_added, isa_driver_added),
1074 DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
1075 DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
1076
1077 DEVMETHOD(bus_get_resource_list,isa_get_resource_list),
1078 DEVMETHOD(bus_alloc_resource, isa_alloc_resource),
1079 DEVMETHOD(bus_release_resource, isa_release_resource),
1080 DEVMETHOD(bus_set_resource, isa_set_resource),
1081 DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
1082 DEVMETHOD(bus_delete_resource, bus_generic_rl_delete_resource),
1083 DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
--- 42 unchanged lines hidden ---