All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] K8T800Pro AGP Support
@ 2004-06-30  3:38 augustus
  2004-06-30 15:31 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: augustus @ 2004-06-30  3:38 UTC (permalink / raw)
  To: davej; +Cc: linux-kernel

Patch to add support for the K8T800Pro chip in the AGPGART driver for 
amd64-agp.

Signed-off-by: Kris Kersey <augustus@linuxhardware.org>

Let me know if there are any problems.  Please reply to sender on this 
one.

Kris Kersey (Augustus)
LinuxHardware.org Site Manager
augustus@linuxhardware.org
Gentoo Linux AMD64 Developer
augustus@gentoo.org

diff -uprN linux-2.6.7/drivers/char/agp/amd64-agp.c linux-2.6.7-K8T800Pro/drivers/char/agp/amd64-agp.c
--- linux-2.6.7/drivers/char/agp/amd64-agp.c    2004-06-21 00:01:41.000000000 -0400
+++ linux-2.6.7-K8T800Pro/drivers/char/agp/amd64-agp.c  2004-06-29 23:27:02.474431400 -0400
@@ -536,6 +536,15 @@ static struct pci_device_id agp_amd64_pc
        .subvendor      = PCI_ANY_ID,
        .subdevice      = PCI_ANY_ID,
        },
+       /* VIA K8T800Pro */
+       {
+       .class          = (PCI_CLASS_BRIDGE_HOST << 8),
+       .class_mask     = ~0,
+       .vendor         = PCI_VENDOR_ID_VIA,
+       .device         = PCI_DEVICE_ID_VIA_K8T800PRO_0,
+       .subvendor      = PCI_ANY_ID,
+       .subdevice      = PCI_ANY_ID,
+       },
        /* VIA K8T800 */
        {
        .class          = (PCI_CLASS_BRIDGE_HOST << 8),
diff -uprN linux-2.6.7/include/linux/pci_ids.h linux-2.6.7-K8T800Pro/include/linux/pci_ids.h
--- linux-2.6.7/include/linux/pci_ids.h 2004-06-21 00:01:41.000000000 -0400
+++ linux-2.6.7-K8T800Pro/include/linux/pci_ids.h       2004-06-29 23:27:02.475431248 -0400
@@ -1174,6 +1174,7 @@
 #define PCI_DEVICE_ID_VIA_8763_0       0x0198
 #define PCI_DEVICE_ID_VIA_8380_0       0x0204
 #define PCI_DEVICE_ID_VIA_PX8X0_0      0x0259
+#define PCI_DEVICE_ID_VIA_K8T800PRO_0  0x0282
 #define PCI_DEVICE_ID_VIA_8363_0       0x0305 
 #define PCI_DEVICE_ID_VIA_8371_0       0x0391
 #define PCI_DEVICE_ID_VIA_8501_0       0x0501


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] K8T800Pro AGP Support
  2004-06-30  3:38 [PATCH] K8T800Pro AGP Support augustus
@ 2004-06-30 15:31 ` Dave Jones
  2004-06-30 15:38   ` augustus
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2004-06-30 15:31 UTC (permalink / raw)
  To: augustus; +Cc: linux-kernel

On Tue, Jun 29, 2004 at 11:38:54PM -0400, augustus@penguin.linuxhardware.org wrote:
 > Patch to add support for the K8T800Pro chip in the AGPGART driver for 
 > amd64-agp.
 > 
 > Signed-off-by: Kris Kersey <augustus@linuxhardware.org>

Applied, thanks.

 > +#define PCI_DEVICE_ID_VIA_K8T800PRO_0  0x0282
 >  #define PCI_DEVICE_ID_VIA_8363_0       0x0305 
 >  #define PCI_DEVICE_ID_VIA_8371_0       0x0391
 >  #define PCI_DEVICE_ID_VIA_8501_0       0x0501

Although normally, it's preferred to use the chip number instead
of its marketing name. A quick google didn't actually turn up
its number though, so for the time being, I'll leave it like this.

		Dave


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] K8T800Pro AGP Support
  2004-06-30 15:31 ` Dave Jones
@ 2004-06-30 15:38   ` augustus
  0 siblings, 0 replies; 3+ messages in thread
From: augustus @ 2004-06-30 15:38 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

Thanks.  I noticed that the model numbers are prefered but I ran into the 
same road block you did.  If I find out what it is, I'll let you know.

Kris Kersey (Augustus)
LinuxHardware.org Site Manager
augustus@linuxhardware.org
Gentoo Linux AMD64 Developer
augustus@gentoo.org

On Wed, 30 Jun 2004, Dave Jones wrote:

> On Tue, Jun 29, 2004 at 11:38:54PM -0400, augustus@penguin.linuxhardware.org wrote:
>  > Patch to add support for the K8T800Pro chip in the AGPGART driver for 
>  > amd64-agp.
>  > 
>  > Signed-off-by: Kris Kersey <augustus@linuxhardware.org>
> 
> Applied, thanks.
> 
>  > +#define PCI_DEVICE_ID_VIA_K8T800PRO_0  0x0282
>  >  #define PCI_DEVICE_ID_VIA_8363_0       0x0305 
>  >  #define PCI_DEVICE_ID_VIA_8371_0       0x0391
>  >  #define PCI_DEVICE_ID_VIA_8501_0       0x0501
> 
> Although normally, it's preferred to use the chip number instead
> of its marketing name. A quick google didn't actually turn up
> its number though, so for the time being, I'll leave it like this.
> 
> 		Dave
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-30 15:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30  3:38 [PATCH] K8T800Pro AGP Support augustus
2004-06-30 15:31 ` Dave Jones
2004-06-30 15:38   ` augustus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.