isa_common.h (73dbd3da73d83f2bace8bfd2e4e33740ef82acf2) isa_common.h (ef544f631226436ef590825881e7a28369df82f6)
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

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

65 */
66extern void isa_init(device_t dev);
67extern struct resource *isa_alloc_resource(device_t bus, device_t child,
68 int type, int *rid, u_long start, u_long end, u_long count, u_int flags);
69extern int isa_release_resource(device_t bus, device_t child,
70 int type, int rid, struct resource *r);
71
72extern int isa_setup_intr(device_t bus, device_t child, struct resource *r,
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

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

65 */
66extern void isa_init(device_t dev);
67extern struct resource *isa_alloc_resource(device_t bus, device_t child,
68 int type, int *rid, u_long start, u_long end, u_long count, u_int flags);
69extern int isa_release_resource(device_t bus, device_t child,
70 int type, int rid, struct resource *r);
71
72extern int isa_setup_intr(device_t bus, device_t child, struct resource *r,
73 int flags, void (*ihand)(void *), void *arg, void **cookiep);
73 int flags, driver_filter_t *filter, void (*ihand)(void *), void *arg,
74 void **cookiep);
74extern int isa_teardown_intr(device_t bus, device_t child, struct resource *r,
75 void *cookie);
76
77extern driver_t isa_driver;
78extern devclass_t isa_devclass;
75extern int isa_teardown_intr(device_t bus, device_t child, struct resource *r,
76 void *cookie);
77
78extern driver_t isa_driver;
79extern devclass_t isa_devclass;