9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Nicholas Waples <nickw@pobox.com>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] TNT
Date: Wed,  4 Apr 2001 23:47:05 +0100	[thread overview]
Message-ID: <Pine.LNX.4.31.0104042334260.521-100000@localhost> (raw)
In-Reply-To: <15050.63205.711647.512604@nido.hilbert.space>



On Wed, 4 Apr 2001 paurea@dei.inf.uc3m.es wrote:

> I have been trying to make the TNT driver work form my card, but I can't
> even get it being used. The message it says is something like
>
> dbctl: "nvidia" driver not found.
>
> I have:
> Copied the vganvidia.c supplied to /sys/src/9/pc
>
> Added vganvidia.$O\ to pcdisk
>
> Compiled 9pcdisk.gz
>
> Copied it to an installation disk.
>
>
> Copied the nvidia.c supplied to /sys/src/cmd/vga
>
> Added nvidia.$O\ to the mkfile of vga
>
> Added extern Ctlr nvidia; and
>
> extern Ctlr nvidiahwgc; to vgadb.h
>
> and extern Ctlr nvidia; to vga.h
>
> Compiled it. Installed it.
> An added an entry in vgadb for my
> card:
>
> ctlr 0xC0072 "Diamond Viper 550"
>      ctlr nvidia
>      ctlr nvidiahwgc
>      link=vga
>
> Any idea?. Please be detailed, any change means changing the card...
>


 Ok, these are the changes I made (relative to the latest update).
Hopefully I havent missed anything. Note that if you want to build the
floppy image, then you should add the same line to /sys/src/9/pc/pcflop as
I did to /sys/src/9/pc/pcdisk.

diff /lib/vgadb /lib/vgadb.orig
299,303d298
< ctlr
< 	0xC0072="Diamond Viper V550"			# TNT
< 	link=vga
< 	ctlr=nvidia linear=1
< 	hwgc=nvidiahwgc

diff /sys/src/9/pc/pcdisk /sys/src/9/pc/pcdisk.orig
72d71
< 	vganvidia		+cur

diff /sys/src/cmd/aux/vga/mkfile /sys/src/cmd/aux/vga/mkfile.orig
40d39
< 	nvidia.$O\

diff /sys/src/cmd/aux/vga/data.c /sys/src/cmd/aux/vga/data.c.orig
47,48d46
< 	&nvidia,					/* ctlr */
< 	&nvidiahwgc,					/* hwgc */

diff /sys/src/cmd/aux/vga/vga.h /sys/src/cmd/aux/vga/vga.h.orig
299,302d298
< /* nvidia.c */
< extern Ctlr nvidia;
< extern Ctlr nvidiahwgc;
<




Nick.



  parent reply	other threads:[~2001-04-04 22:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-04 10:26 paurea
2001-04-04 11:24 ` Axel Belinfante
2001-04-04 16:27   ` paurea
2001-04-04 22:47 ` Nicholas Waples [this message]
2001-04-04 16:30   ` paurea
2001-04-04 14:10 jmk
2001-04-04 23:41 ` Nicholas Waples
2001-04-04 15:58 jmk
2001-04-05 10:36 paurea
2001-04-05 11:47 ` Axel Belinfante
2001-04-05 15:05 paurea
2001-05-11 14:21 Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.31.0104042334260.521-100000@localhost \
    --to=nickw@pobox.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).