cvs commit: src/sys/dev/fb creator.c src/sys/sparc64/creator creator.h creator_upa.c

Marius Strobl marius at FreeBSD.org
Sat Jun 4 14:15:28 PDT 2005


marius      2005-06-04 21:15:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fb           creator.c 
    sys/sparc64/creator  creator.h creator_upa.c 
  Log:
  - In creator_configure() when probed for the high-level console return
    the number of registered adapters instead of determining again whether
    stdout is a supported card (and which might have failed to attach and
    register).
  - Drop creator_set_mode() and move the relevant parts to creator_fill_rect()
    and creator_putc() respectively. This is a bit cleaner than having to
    make sure that creator_set_mode() was called before creator_fill_rect()
    or creator_putc() are used and matches better what Xorg does.
  - Fix a bug in the handling of the FBIOSCURSOR IOCTL; the code was meant
    to return ENODEV for all invocations expect when used to disable the
    cursor and not just when used for enabling the cursor.
  - In case the adapter is the OFW stdout move its OFW cursor to the start
    of the last line on halt so OFW output doesn't get intermixed with what
    FreeBSD left on the screen. With hindsight this is what the faking of a
    hardware cursor which was removed in the last revision really was about,
    i.e. to keep the OFW updated about the current cursor position. The new
    approach however is simpler while producing the same result and doesn't
    cause the first letter of the OFW output to be turned into a blank and
    a newline.
  - Add variable names to the prototypes of creator_cursor_*() which were
    added in the last revision and list them alphabetically in order to match
    the style of this file.
  
  Revision  Changes    Path
  1.7       +29 -38    src/sys/dev/fb/creator.c
  1.4       +4 -3      src/sys/sparc64/creator/creator.h
  1.8       +9 -0      src/sys/sparc64/creator/creator_upa.c


More information about the cvs-src mailing list