[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    GetCurrentBinding - sets static board configuration area

SYNOPSIS
    actual = GetCurrentBinding( currentBinding, size )
                                A0              D0:16

FUNCTION
    This function writes the contents of the "currentBinding"
    structure out of a private place.  It may be set via
    setcurrentbinding().  this is really a kludge, but it is
    the only way to pass extra arguments to a newly configured
    device.

    A currentbinding structure has the name of the currently
    loaded file, the product string that was associated with
    this driver, and a pointer to the head of a singly linked
    list of configdev structures (linked through the cd_nextcd
    field).

    Many devices may not need this information; they have hard
    coded into themselves their manufacture number.  It is
    recommended that you at least check that you can deal with
    the product code in the linked configdev structures.

INPUTS
    currentBinding - a pointer to a currentbinding structure

    size - The size of the user's binddriver structure.
        Do not pass in less than sizeof(struct CurrentBinding).

RESULTS
    actual - the true size of a currentbinding structure is returned.

SEE ALSO
    GetCurrentBinding