public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Xavier Bachelot <xavier@bachelot.org>
To: airlied@linux.ie, akpm@linux-foundation.org,
	linux-kernel@vger.kernel.org
Subject: Add device id for P4M900 to via-agp module
Date: Fri, 24 Aug 2007 00:29:45 +0200	[thread overview]
Message-ID: <46CE0A59.8050805@bachelot.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

This is a new VIA chipset that works with the existing code. It only 
needs the device id to be added for detection.


[-- Attachment #2: P4M900-agpgart.patch --]
[-- Type: text/x-patch, Size: 830 bytes --]

--- a/drivers/char/agp/via-agp.c	2007-08-23 23:41:56.000000000 +0200
+++ b/drivers/char/agp/via-agp.c	2007-08-23 23:45:13.000000000 +0200
@@ -399,6 +399,11 @@
 		.device_id  = PCI_DEVICE_ID_VIA_P4M890,
 		.chipset_name   = "P4M890",
 	},
+	/* P4M900 */
+	{
+		.device_id  = PCI_DEVICE_ID_VIA_VT3364,
+		.chipset_name   = "P4M900",
+	},
 	{ }, /* dummy final entry, always present */
 };
 
--- a/include/linux/pci_ids.h	2007-08-23 23:42:04.000000000 +0200
+++ b/include/linux/pci_ids.h	2007-08-23 23:48:19.000000000 +0200
@@ -1296,6 +1296,7 @@
 #define PCI_DEVICE_ID_VIA_VT3324	0x0324
 #define PCI_DEVICE_ID_VIA_VT3336	0x0336
 #define PCI_DEVICE_ID_VIA_VT3351	0x0351
+#define PCI_DEVICE_ID_VIA_VT3364	0x0364
 #define PCI_DEVICE_ID_VIA_8371_0	0x0391
 #define PCI_DEVICE_ID_VIA_8501_0	0x0501
 #define PCI_DEVICE_ID_VIA_82C561	0x0561

                 reply	other threads:[~2007-08-23 22:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46CE0A59.8050805@bachelot.org \
    --to=xavier@bachelot.org \
    --cc=airlied@linux.ie \
    --cc=akpm@linux-foundation.org \
    --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