[BACK]Return to vgafb_pcivar.h CVS log [TXT][DIR] Up to [local] / sys / arch / macppc / pci

Annotation of sys/arch/macppc/pci/vgafb_pcivar.h, Revision 1.1

1.1     ! nbrk        1: /*     $OpenBSD: vgafb_pcivar.h,v 1.4 2002/09/15 09:01:59 deraadt Exp $        */
        !             2: /*     $NetBSD: vga_pcivar.h,v 1.1 1996/11/19 04:38:36 cgd Exp $       */
        !             3:
        !             4: /*
        !             5:  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
        !             6:  * All rights reserved.
        !             7:  *
        !             8:  * Author: Chris G. Demetriou
        !             9:  *
        !            10:  * Permission to use, copy, modify and distribute this software and
        !            11:  * its documentation is hereby granted, provided that both the copyright
        !            12:  * notice and this permission notice appear in all copies of the
        !            13:  * software, derivative works or modified versions, and any portions
        !            14:  * thereof, and that both notices appear in supporting documentation.
        !            15:  *
        !            16:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
        !            17:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
        !            18:  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
        !            19:  *
        !            20:  * Carnegie Mellon requests users of this software to return to
        !            21:  *
        !            22:  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
        !            23:  *  School of Computer Science
        !            24:  *  Carnegie Mellon University
        !            25:  *  Pittsburgh PA 15213-3890
        !            26:  *
        !            27:  * any improvements or extensions that they make and grant Carnegie the
        !            28:  * rights to redistribute these changes.
        !            29:  */
        !            30:
        !            31: #define        DEVICE_IS_VGA_PCI(class, id)                                    \
        !            32:            (((PCI_CLASS(class) == PCI_CLASS_DISPLAY &&                 \
        !            33:              PCI_SUBCLASS(class) == PCI_SUBCLASS_DISPLAY_VGA) ||       \
        !            34:            (((PCI_CLASS(class) == PCI_CLASS_DISPLAY &&                 \
        !            35:              PCI_SUBCLASS(class) == PCI_SUBCLASS_DISPLAY_MISC) ||      \
        !            36:             (PCI_CLASS(class) == PCI_CLASS_PREHISTORIC &&              \
        !            37:              PCI_SUBCLASS(class) == PCI_SUBCLASS_PREHISTORIC_VGA)) ? 1 : 0)
        !            38:
        !            39: void    vgafb_pci_console(bus_space_tag_t,
        !            40:                u_int32_t ioaddr, u_int32_t iosize,
        !            41:                bus_space_tag_t,
        !            42:                u_int32_t memaddr, u_int32_t memsize,
        !            43:                pci_chipset_tag_t, int, int, int);

CVSweb