PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

New Field and Bit Definitions

The csConnectTagged field, an unsigned short, in the previous definition has been split into two fields, csConnectTaggedType and csConnectTaggedData :

struct VDDisplayConnectInfoRec {
    unsigned short  csDisplayType;          /* type of display */
    unsigned char   csConnectTaggedType;    /* type of tagging */
    unsigned char   csConnectTaggedData;    /* tagging data */


    unsigned long   csConnectFlags;         /* tells about the */
                                            /* connection */
    unsigned long   csDisplayComponent;     /* if the card has a */
                        /* direct connection to the display, it */
                        /* returns the display component here (future) */
    unsigned long   csConnectReserved;  /* reserved*/
};

These two new fields are used to report monitor sensing information, as long as the bit kTaggingInfoNonStandard of the csConnectFlags field is not set (see next section). If that bit is set, then the csConnectTaggedType and csConnectTaggedData fields are private and Mac OS will not interpret them. Following are the bit definitions for the csConnectFlags field:

    enum (
        kAllModesValid              = 0,    
        kAllModesSafe               = 1,    
        kReportsTagging             = 2,    // driver reports tagging
        kHasDirectConnection        = 3,
        kIsMonoDev                  = 4,
        kUncertainConnection        = 5,
        kTaggingInfoNonStandard     = 6,
        kReportsDDCConnection       = 7,
        kHasDDCConnection           = 8
    };

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)