9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Re: 3dfx banshee
       [not found] <20001222041202.5C64C199E3@mail.cse.psu.edu>
@ 2000-12-22 23:32 ` Naofumi Yasufuku
  0 siblings, 0 replies; only message in thread
From: Naofumi Yasufuku @ 2000-12-22 23:32 UTC (permalink / raw)
  To: 9fans

I forgot to write my change of /sys/src/cmd/aux/vga/3dfx.c.
The change is only max clock value.

/sys/src/cmd/aux/vga/3dfx.c
---------------------------
    57                  switch(tdfx->pci->did){
    58                  default:
    59                          error("%s: unknown chip - DID %4.4uX\n",
    60                                  ctlr->name, tdfx->pci->did);
    61                          break;
    62                  case 0x0005:            /* Avenger (a.k.a. Voodoo3) */
    63                          /*
    64                           * Frequency output of PLL's is given by
    65                           *      fout = RefFreq*(n+2)/((m+2)*2^p)
    66                           * where there are 6 bits for m, 8 bits for n
    67                           * and 2 bits for p (k).
    68                           */
    69                          vga->m[1] = 64;
    70                          vga->n[1] = 256;
    71                          vga->p[1] = 4;
    72                          vga->f[1] = 300000000;
    73                          break;
    74                  case 0x0003:            /* Banshee */
    75                          vga->m[1] = 64;
    76                          vga->n[1] = 256;
    77                          vga->p[1] = 4;
    78                          vga->f[1] = 270000000;
    79                          break;
    80                  }
-------------------------

======================
Naofumi Yasufuku
<naofumi@yasufuku.net>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-22 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20001222041202.5C64C199E3@mail.cse.psu.edu>
2000-12-22 23:32 ` [9fans] Re: 3dfx banshee Naofumi Yasufuku

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).