[BACK]Return to isa_machdep.h CVS log [TXT][DIR] Up to [local] / sys / arch / hp300 / dev

Annotation of sys/arch/hp300/dev/isa_machdep.h, Revision 1.1

1.1     ! nbrk        1: /*     $OpenBSD: isa_machdep.h,v 1.1 2007/01/06 20:17:43 miod Exp $    */
        !             2:
        !             3: /*
        !             4:  * Copyright (c) 2007 Miodrag Vallat.
        !             5:  *
        !             6:  * Permission to use, copy, modify, and distribute this software for any
        !             7:  * purpose with or without fee is hereby granted, provided that the above
        !             8:  * copyright notice, this permission notice, and the disclaimer below
        !             9:  * appear in all copies.
        !            10:  *
        !            11:  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
        !            12:  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
        !            13:  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
        !            14:  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
        !            15:  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
        !            16:  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
        !            17:  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
        !            18:  */
        !            19:
        !            20: #ifndef        _HP300_ISA_MACHDEP_H_
        !            21: #define        _HP300_ISA_MACHDEP_H_
        !            22:
        !            23: #include <machine/bus.h>
        !            24:
        !            25: #define        __NO_ISA_INTR_CHECK
        !            26:
        !            27: typedef        void * isa_chipset_tag_t;
        !            28:
        !            29: void   isa_attach_hook(struct device *, struct device *,
        !            30:            struct isabus_attach_args *);
        !            31: void   *isa_intr_establish(isa_chipset_tag_t, int, int, int,
        !            32:            int (*)(void *), void *, char *);
        !            33: void   isa_intr_disestablish(isa_chipset_tag_t, void *);
        !            34:
        !            35: #define        IST_NONE        0
        !            36: #define        IST_PULSE       1
        !            37: #define        IST_EDGE        2
        !            38: #define        IST_LEVEL       3
        !            39:
        !            40: #endif /* _HP300_ISA_MACHDEP_H_ */

CVSweb