xf86: Add AutoConfig driver for PCI ID 1022:2081 to 'amd'

(cherry picked from commit ab9b0b36ac)
(cherry picked from commit 4fa89fbe18)
... and backported to 1.4 (back to no new devprivates and "amd" driver name)
This commit is contained in:
Mart Raudsepp 2008-05-16 20:06:31 +03:00 committed by Daniel Stone
parent 22b1a9dd0f
commit 4e5cf76eca

View file

@ -160,12 +160,17 @@ videoPtrToDriverName(pciVideoPtr info)
{
/*
* things not handled yet:
* amd/cyrix/nsc
* xgi
* cyrix/nsc. should be merged into geode anyway.
* xgi.
*/
switch (info->vendor)
{
case 0x1022:
if (info->chipType == 0x2081)
return "amd";
else
return NULL;
case 0x1142: return "apm";
case 0xedd8: return "ark";
case 0x1a03: return "ast";