LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 02-19-2004, 04:33 PM   #1
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Rep: Reputation: 15
P4X400 hack for support


Found this somewhere and wondering where to add .....



--BEGIN--


diff -ur linux/drivers/char/agp/agp.h linux-2.4.21-pre2/drivers/char/agp/agp.h
--- linux/drivers/char/agp/agp.h 2003-01-02 14:36:15.000000000 -0500
+++ linux-2.4.21-pre2/drivers/char/agp/agp.h 2003-01-02 14:35:02.000000000 -0500
@@ -157,6 +157,9 @@


#define PGE_EMPTY(p) (!(p) || (p) == (unsigned long) agp_bridge.scratch_page)


+#ifndef PCI_DEVICE_ID_VIA_8235_0
+#define PCI_DEVICE_ID_VIA_8235_0 0x3168
+#endif
#ifndef PCI_DEVICE_ID_VIA_82C691_0
#define PCI_DEVICE_ID_VIA_82C691_0 0x0691
#endif
diff -ur linux/drivers/char/agp/agpgart_be.c linux-2.4.21-pre2/drivers/char/agp/agpgart_be.c
--- linux/drivers/char/agp/agpgart_be.c 2003-01-02 14:36:15.000000000 -0500
+++ linux-2.4.21-pre2/drivers/char/agp/agpgart_be.c 2003-01-02 14:35:02.000000000 -0500
@@ -4640,6 +4640,12 @@
#endif /* CONFIG_AGP_SIS */


#ifdef CONFIG_AGP_VIA
+ { PCI_DEVICE_ID_VIA_8235_0,
+ PCI_VENDOR_ID_VIA,
+ VIA_P4X400,
+ "Via",
+ "P4X400",
+ via_generic_setup },
{ PCI_DEVICE_ID_VIA_8501_0,
PCI_VENDOR_ID_VIA,
VIA_MVP4,
diff -ur linux/drivers/pci/pci.ids linux-2.4.21-pre2/drivers/pci/pci.ids
--- linux/drivers/pci/pci.ids 2003-01-02 14:36:16.000000000 -0500
+++ linux-2.4.21-pre2/drivers/pci/pci.ids 2003-01-02 14:35:02.000000000 -0500
@@ -2751,6 +2751,7 @@
3147 VT8233A ISA Bridge
3148 P4M266 Host Bridge
3156 P/KN266 Host Bridge
+ 3168 VT8235 [P4X400 AGP]
3177 VT8233A ISA Bridge
1458 5001 GA-7VAX Mainboard
3189 VT8377 [KT400 AGP] Host Bridge
diff -ur linux/include/linux/agp_backend.h linux-2.4.21-pre2/include/linux/agp_backend.h
--- linux/include/linux/agp_backend.h 2003-01-02 14:36:17.000000000 -0500
+++ linux-2.4.21-pre2/include/linux/agp_backend.h 2003-01-02 14:35:02.000000000 -0500
@@ -54,6 +54,7 @@
INTEL_I850,
INTEL_I860,
VIA_GENERIC,
+ VIA_P4X400,
VIA_VP3,
VIA_MVP3,
VIA_MVP4,


--END--
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hack,, apenguinlinux General 5 02-22-2005 09:40 AM
hack ?help me !! liumang Linux - Security 10 11-28-2004 04:21 AM
Will Mandrake work with a Via P4X400 Chipset? jckings Mandriva 3 06-03-2004 07:51 PM
are they trying to hack me? epox111 Linux - Security 9 09-10-2003 08:23 PM
what the hack is this? doublefailure Linux - Security 13 04-24-2003 12:23 PM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration