Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       mac_var_to_vmode - convert var structure to MacOS vmode/cmode pair

SYNOPSIS

       int mac_var_to_vmode  (const struct fb_var_screeninfo * var,
                               int * vmode, int * cmode);

ARGUMENTS

       var    frame buffer video mode structure

       vmode  MacOS video mode

       cmode  MacOS color mode

DESCRIPTION

       Converts a frame buffer video mode structure  to  a  MacOS  vmode/cmode
       pair.

       Returns negative errno on error, or zero for success.