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

From: Dave Jones
Date: Mon May 19 2008 - 18:40:47 EST


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@xxxxxxxxxx>

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/