From: Jurriaan <thunder7@xs4all.nl>
To: Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: small patch for Via Pro 266T agp-support
Date: Tue, 21 Jan 2003 12:46:22 +0100 [thread overview]
Message-ID: <20030121114622.GD25484@middle.of.nowhere> (raw)
In-Reply-To: <200301121807.h0CI7Qp04542@devserv.devel.redhat.com>
Here is a small patch to allow my motherboard to use the AGP port. It
didn't work with agp_try_unsupported=1 on the command-line.
It's a dual-tualatin motherboard, so it's kind of exotic.
00:00.0 Host bridge: VIA Technologies, Inc. VT8653 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:08.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
00:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c860 (rev 13)
00:0b.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:0c.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
00:0e.0 Unknown mass storage controller: Promise Technology, Inc. 20265 (rev 02)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. USB (rev 1b)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 03)
Kind regards,
Jurriaan
diff -urN -X dontdiff linux-2.4.21p3ac4/drivers/char/agp/agpgart_be.c linux-2.4.21p3ac4-pro266t/drivers/char/agp/agpgart_be.c
--- linux-2.4.21p3ac4/drivers/char/agp/agpgart_be.c 2003-01-21 12:04:59.000000000 +0100
+++ linux-2.4.21p3ac4-pro266t/drivers/char/agp/agpgart_be.c 2003-01-15 20:07:53.000000000 +0100
@@ -4700,6 +4700,12 @@
"Via",
"Apollo Pro KT400",
via_generic_setup },
+ { PCI_DEVICE_ID_VIA_8653_0,
+ PCI_VENDOR_ID_VIA,
+ VIA_APOLLO_PRO266T,
+ "Via",
+ "Apollo Pro 266T",
+ via_generic_setup },
{ 0,
PCI_VENDOR_ID_VIA,
VIA_GENERIC,
diff -urN -X dontdiff linux-2.4.21p3ac4/drivers/char/drm/drm_agpsupport.h linux-2.4.21p3ac4-pro266t/drivers/char/drm/drm_agpsupport.h
--- linux-2.4.21p3ac4/drivers/char/drm/drm_agpsupport.h 2003-01-21 12:04:59.000000000 +0100
+++ linux-2.4.21p3ac4-pro266t/drivers/char/drm/drm_agpsupport.h 2003-01-21 12:11:39.000000000 +0100
@@ -281,6 +281,8 @@
break;
case VIA_APOLLO_KT400: head->chipset = "VIA Apollo KT400";
break;
+ case VIA_APOLLO_PRO266T: head->chipset = "VIA Apollo Pro 266T";
+ break;
case VIA_APOLLO_PRO: head->chipset = "VIA Apollo Pro";
break;
diff -urN -X dontdiff linux-2.4.21p3ac4/drivers/char/drm-4.0/agpsupport.c linux-2.4.21p3ac4-pro266t/drivers/char/drm-4.0/agpsupport.c
--- linux-2.4.21p3ac4/drivers/char/drm-4.0/agpsupport.c 2003-01-21 12:05:00.000000000 +0100
+++ linux-2.4.21p3ac4-pro266t/drivers/char/drm-4.0/agpsupport.c 2003-01-15 20:07:53.000000000 +0100
@@ -277,6 +277,8 @@
break;
case VIA_APOLLO_KT400: head->chipset = "VIA Apollo KT400";
break;
+ case VIA_APOLLO_PRO266T: head->chipset = "VIA Apollo PRO266T";
+ break;
#endif
case VIA_APOLLO_PRO: head->chipset = "VIA Apollo Pro";
diff -urN -X dontdiff linux-2.4.21p3ac4/include/linux/agp_backend.h linux-2.4.21p3ac4-pro266t/include/linux/agp_backend.h
--- linux-2.4.21p3ac4/include/linux/agp_backend.h 2003-01-21 12:05:02.000000000 +0100
+++ linux-2.4.21p3ac4-pro266t/include/linux/agp_backend.h 2003-01-15 20:07:53.000000000 +0100
@@ -61,6 +61,7 @@
VIA_APOLLO_KX133,
VIA_APOLLO_KT133,
VIA_APOLLO_KT400,
+ VIA_APOLLO_PRO266T,
SIS_GENERIC,
AMD_GENERIC,
AMD_IRONGATE,
diff -urN -X dontdiff linux-2.4.21p3ac4/include/linux/pci_ids.h linux-2.4.21p3ac4-pro266t/include/linux/pci_ids.h
--- linux-2.4.21p3ac4/include/linux/pci_ids.h 2003-01-21 12:05:02.000000000 +0100
+++ linux-2.4.21p3ac4-pro266t/include/linux/pci_ids.h 2003-01-15 20:07:53.000000000 +0100
@@ -1011,6 +1011,7 @@
#define PCI_DEVICE_ID_VIA_82C686_6 0x3068
#define PCI_DEVICE_ID_VIA_8233_0 0x3074
#define PCI_DEVICE_ID_VIA_8633_0 0x3091
+#define PCI_DEVICE_ID_VIA_8653_0 0x3101
#define PCI_DEVICE_ID_VIA_8367_0 0x3099
#define PCI_DEVICE_ID_VIA_8622 0x3102
#define PCI_DEVICE_ID_VIA_8233C_0 0x3109
--
"And remember: Evil will always prevail, because Good is dumb."
Spaceballs
GNU/Linux 2.4.21-pre3-ac4 SMP/ReiserFS 2x2785 bogomips load av: 0.41 0.50 0.37
next prev parent reply other threads:[~2003-01-21 11:37 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-12 18:07 Linux 2.4.21-pre3-ac4 Alan Cox
2003-01-12 19:29 ` Benjamin Herrenschmidt
[not found] ` <1042403235.16288.14.camel@irongate.swansea.linux.org.uk>
2003-01-12 19:51 ` Benjamin Herrenschmidt
2003-01-12 19:57 ` Benjamin Herrenschmidt
2003-01-12 20:51 ` Alan Cox
2003-01-13 16:56 ` Benjamin Herrenschmidt
2003-01-12 20:40 ` Alan Cox
2003-01-12 20:02 ` Benjamin Herrenschmidt
2003-01-13 18:49 ` Ross Biro
2003-01-13 19:03 ` Benjamin Herrenschmidt
2003-01-13 19:19 ` Ross Biro
2003-01-13 19:32 ` Ross Biro
2003-01-13 21:05 ` Alan Cox
2003-01-13 20:36 ` Ross Biro
2003-01-13 19:46 ` Alan Cox
2003-01-14 17:38 ` Benjamin Herrenschmidt
2003-01-14 17:49 ` Ross Biro
2003-01-14 17:52 ` Benjamin Herrenschmidt
2003-01-14 21:17 ` Andre Hedrick
2003-01-15 0:23 ` Benjamin Herrenschmidt
2003-01-15 5:07 ` Andre Hedrick
[not found] ` <1043105473.12609.5.camel@dhcp22.swansea.linux.org.uk>
2003-01-21 17:07 ` Benjamin Herrenschmidt
2003-01-13 20:56 ` Benjamin Herrenschmidt
2003-01-13 21:36 ` Ross Biro
2003-01-14 1:35 ` Ross Biro
2003-01-14 1:44 ` Andre Hedrick
2003-01-14 9:18 ` Benjamin Herrenschmidt
2003-01-20 6:13 ` Alan Cox
2003-01-13 19:34 ` John Alvord
2003-01-13 19:48 ` Ross Biro
2003-01-13 21:24 ` Jeff Garzik
2003-01-13 21:40 ` Richard B. Johnson
2003-01-13 22:02 ` Benjamin Herrenschmidt
2003-01-13 22:07 ` Benjamin Herrenschmidt
2003-01-14 1:20 ` Richard B. Johnson
2003-01-14 9:06 ` Benjamin Herrenschmidt
2003-01-14 14:04 ` Richard B. Johnson
2003-01-14 14:35 ` Benjamin Herrenschmidt
2003-01-21 11:15 ` Linux 2.4.21-pre3-ac4 [PATCH] Paul Gortmaker
2003-01-21 13:21 ` Hugh Dickins
2003-01-21 11:46 ` Jurriaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-21 13:47 small patch for Via Pro 266T agp-support Nicolas Mailhot
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=20030121114622.GD25484@middle.of.nowhere \
--to=thunder7@xs4all.nl \
--cc=alan@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/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