Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2005 00:13:23 -0500
From:      Jung-uk Kim <jkim@niksun.com>
To:        "Ganael Laplanche" <ganael.laplanche@martymac.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: [PATCH test] K8N-E deluxe / Nforce3 250 : no agp support yet ?
Message-ID:  <200504020013.23514.jkim@niksun.com>
In-Reply-To: <20050402013119.M28803@martymac.com>
References:  <20050401090927.M62447@martymac.com> <200504011235.05993.jkim@niksun.com> <20050402013119.M28803@martymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 01 April 2005 08:53 pm, Ganael Laplanche wrote:
> Hi Kim,
>
> Thank you very much for you answer.
>
> I tried your patch, but unfortunately, no agp device was
> detected... so I modified it a bit and managed to get this :
--- >8 --- SNIP!!! --- >8 ---
> It seems that your patch can manage nforce3, not nforce3-250. My
> patch makes nforce3-250 detected, but unfortunately, the system
> hangs at X startup... so it is not yet usable.

I am sorry.  I didn't read your e-mail carefully.  Yes, my patch only 
works with the original nForce3 chipset.

> Here it is (also attached) :
>
> --- src/sys/pci/agp_amd64.c.orig        Sat Apr  2 03:37:51 2005
> +++ src/sys/pci/agp_amd64.c     Sat Apr  2 03:38:16 2005
> @@ -82,6 +82,10 @@
>                 return ("AMD 8151 AGP graphics tunnel");
>         case 0x07551039:
>                 return ("SiS 755 host to AGP bridge");
> +       case 0x00d110de:
> +               return ("nForce3 AGP Host");
> +       case 0x00e110de:
> +               return ("nForce3 250 AGP Host");
>         case 0x02041106:
>                 return ("VIA 8380 host to PCI bridge");
>         case 0x02821106:

This is okay.

> --- src/sys/pci/agp_nvidia.c.orig       Sat Apr  2 03:38:03 2005
> +++ src/sys/pci/agp_nvidia.c    Sat Apr  2 03:40:53 2005
> @@ -67,6 +67,8 @@
>  #define        NVIDIA_VENDORID         0x10de
>  #define        NVIDIA_DEVICEID_NFORCE  0x01a4
>  #define        NVIDIA_DEVICEID_NFORCE2 0x01e0
> +#define        NVIDIA_DEVICEID_NFORCE3 0x00d1
> +#define        NVIDIA_DEVICEID_NFORCE3_250     0x00e1
>
>  struct agp_nvidia_softc {
>         struct agp_softc        agp;
> @@ -108,6 +110,10 @@
>                 return ("NVIDIA nForce AGP Controller");
>         case NVIDIA_DEVICEID_NFORCE2:
>                 return ("NVIDIA nForce2 AGP Controller");
> +       case NVIDIA_DEVICEID_NFORCE3:
> +               return ("NVIDIA nForce3 AGP Controller");
> +       case NVIDIA_DEVICEID_NFORCE3_250
> +               return ("NVIDIA nForce3 250 AGP Controller");
>         }
>         return ("NVIDIA Generic AGP Controller");
>  }

This is not because you cannot attach the same device from two 
different drivers.  You have to use my previous patch here.

> I must be missing something, maybe someone can help in correcting
> these patches... and finally getting nforce-3 (250) agp support ?!?

Maybe but I have no hardware to test. :-(

JK

> Thank you,
>
> Ganaƫl LAPLANCHE
> ganael.laplanche@martymac.com
> http://www.martymac.com
> Tel : (+33)6.84.03.57.24.
--- >8 --- SNIP!!! --- >8 ---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504020013.23514.jkim>