Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc



In Message <200004200525.WAA11112%nb00.nas.nasa.gov@localhost> ,
   Nathan J Williams <nathanw%netbsd.org@localhost> wrote:

=>
=>Module Name:  syssrc
=>Committed By: nathanw
=>Date:         Thu Apr 20 05:25:22 UTC 2000
=>
=>Modified Files:
=>      syssrc/sys/dev/pci: files.pci tga.c tgavar.h
=>
=>Log Message:
=>Replace rcons console code with rasops console code.
=>Console text should now be supported on all TGA cards;
=>8- and 32-bit TGA and 8-bit TGA2 have been tested.
=>
=>Implement accelerated character drawing, scrolling, and clearing.
=>
=>Stop clearing "odd" in VHCR; it's unnecessary and hurts performance.
=>
=>Use bus_space_vaddr() instead of a local hack.

   This breaks config on i386, and possibly other platforms,
like so:

===================================================================
wheel { ~/src/sys/arch/i386/conf } # config GENERIC
../../../../dev/pci/files.pci:149: undefined attribute `rasops8'
../../../../dev/pci/files.pci:149: undefined attribute `rasops32'
*** Stop.
wheel { ~/src/sys/arch/i386/conf } # 
===================================================================

   The following hack gets a kernel to config and build on i386:

===================================================================
RCS file: /cvsroot/syssrc/sys/arch/i386/conf/files.i386,v
retrieving revision 1.156
diff -c -r1.156 files.i386
*** files.i386  2000/04/07 16:35:20     1.156
--- files.i386  2000/04/20 16:42:27
***************
*** 113,118 ****
--- 113,121 ----
  attach        mainbus at root
  file  arch/i386/i386/mainbus.c        mainbus
  
+ # Hackery
+ include "dev/rasops/files.rasops"
+ 
  #
  # PCI-only drivers
  # XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
===================================================================

                                        Gary D. Duzan





Home | Main Index | Thread Index | Old Index