[AGP] Add a missing via-agp module alias.

Previous thread: ASUS SplashTop and Phoenix Hyperspace infringing kernel copyright and GPL by Stan Cunningham on Monday, May 19, 2008 - 6:39 pm. (5 messages)

Next thread: 2.6.25.4-rt2 by Steven Rostedt on Monday, May 19, 2008 - 6:43 pm. (13 messages)
To: <airlied@...>
Cc: Linux Kernel <linux-kernel@...>
Date: Monday, May 19, 2008 - 6:39 pm

Whilst trying to discern what could possibly be in the no-source-provided
version of via-agp that VIA are distributing on linux.via.com.tw, I noticed
in the modinfo output that they supported an extra alias.

Further digging revealed it was for PCI ID 0x0364, which we added in
commit 32ddef98f232585f20bc8bdb891029a6a5f633d0 last year, but we didn't
add the corresponding entry in the pci_device_id table, so it doesn't
get auto-loaded on that hardware.

[hopefully this is the only difference between kernel.org, and their
binary-only variant. Without the source, it's hard to tell. Sigh. ]

Signed-off-by: Dave Jones <davej@redhat.com>

diff --git a/drivers/char/agp/via-agp.c b/drivers/char/agp/via-agp.c
index 0ecc54d..f0d4c0a 100644
--- a/drivers/char/agp/via-agp.c
+++ b/drivers/char/agp/via-agp.c
@@ -548,6 +548,7 @@ static const struct pci_device_id agp_via_pci_table[] = {
ID(PCI_DEVICE_ID_VIA_VT3324),
ID(PCI_DEVICE_ID_VIA_VT3336),
ID(PCI_DEVICE_ID_VIA_P4M890),
+ ID(PCI_DEVICE_ID_VIA_VT3364),
{ }
};

--
http://www.codemonkey.org.uk
--

Previous thread: ASUS SplashTop and Phoenix Hyperspace infringing kernel copyright and GPL by Stan Cunningham on Monday, May 19, 2008 - 6:39 pm. (5 messages)

Next thread: 2.6.25.4-rt2 by Steven Rostedt on Monday, May 19, 2008 - 6:43 pm. (13 messages)