mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-25 01:49:58 +00:00
Add overlay support for savage. Make sis setup code work on nIc
This commit is contained in:
parent
325fb002e8
commit
4223801110
11 changed files with 602 additions and 632 deletions
|
|
@ -26,12 +26,19 @@
|
|||
|
||||
#include "sis.h"
|
||||
|
||||
static const int sisCards[] = { 0x6306, 0x0200 };
|
||||
|
||||
#define numSisCards (sizeof (sisCards) / sizeof (sisCards[0]))
|
||||
|
||||
void
|
||||
InitCard (char *name)
|
||||
{
|
||||
KdCardAttr attr;
|
||||
if (LinuxFindPci (0x1039, 0x6306, 0, &attr))
|
||||
KdCardInfoAdd (&sisFuncs, &attr, 0);
|
||||
int i;
|
||||
|
||||
for (i = 0; i < numSisCards; i++)
|
||||
if (LinuxFindPci (0x1039, sisCards[i], 0, &attr))
|
||||
KdCardInfoAdd (&sisFuncs, &attr, (void *) sisCards[i]);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue