Exemple #1
0
void
InitCard (void)
{
    KdCardAttr	attr;
    
    KdCardInfoAdd (&itsyFuncs, &attr, 0);
}
Exemple #2
0
/*
** void InitCard( char* name )
**
** Description:
**	Initialize the graphics chip. We find the chip on the PCI bus, 
**	register the functions to access the chip.
**
** Arguments:
**	name	XXX: unknown.
**
** Return:
**	None.
*/
void
InitCard( char* name ) {
	KdCardAttr attr;

	if( LinuxFindPci( 0x1106, 0x3122, 0, &attr ) )
		KdCardInfoAdd( &viaFuncs, &attr, 0 );
}
Exemple #3
0
void
InitCard (char *name)
{
    KdCardAttr	attr;

    KdCardInfoAdd (&fakeFuncs, &attr, 0);
}
Exemple #4
0
void
InitCard (char *name)
{
    KdCardAttr	attr;

    if (LinuxFindPci (0x126f, 0x0720, 0, &attr))
        KdCardInfoAdd (&smiFuncs, &attr, 0);
}
Exemple #5
0
void
InitCard (char *name)
{
    KdCardAttr	attr;

    if (LinuxFindPci (0x10de, 0x0112, 0, &attr))
	KdCardInfoAdd (&nvidiaFuncs, &attr, 0);
}
void
InitCard (char *name)
{
    KdCardAttr	attr;

    if (LinuxFindPci (0x1023, 0x9525, 0, &attr))
	KdCardInfoAdd (&tridentFuncs, &attr, 0);
}
void
InitCard (char *name)
{
    KdCardAttr	attr;

    EPHYR_DBG("mark");


    KdCardInfoAdd (&ephyrFuncs, &attr, 0);
}
Exemple #8
0
void
InitCard (char *name)
{
    KdCardAttr	attr;
    int		i;

    for (i = 0; i < numPM2Cards; i++)
	if (LinuxFindPci (0x3d3d, PM2Cards[i], 0, &attr))
	    KdCardInfoAdd (&PM2Funcs, &attr, (void *) PM2Cards[i]);
}
Exemple #9
0
void
InitCard (char *name)
{
    KdCardAttr	attr;
    int		i;

    for (i = 0; i < numSisCards; i++)
	if (LinuxFindPci (0x1039, sisCards[i], 0, &attr))
	    KdCardInfoAdd (&sisFuncs, &attr, (void *) sisCards[i]);
}
Exemple #10
0
void
InitCard(char *name)
{
	struct pci_id_entry *id;
	KdCardAttr attr;

	for (id = ati_pci_ids; id->name != NULL; id++) {
		int j = 0;
		while (LinuxFindPci(id->vendor, id->device, j++, &attr))
			KdCardInfoAdd(&ATIFuncs, &attr, 0);
	}
}
Exemple #11
0
void
InitCard (char *name)
{
    KdCardAttr	attr;
    int		i;

    Bool LinuxFindPci(CARD16, CARD16, CARD32, KdCardAttr *); 

    for (i = 0; i < numI810Cards; i++)
	if (LinuxFindPci (0x8086, i810Cards[i], 0, &attr))
	    KdCardInfoAdd (&i810Funcs, &attr, (void *) i810Cards[i]);
}
Exemple #12
0
void
InitCard (char *name)
{
    KdCardAttr attr;
    struct NeoChipInfo *chip;

    for (chip = neoChips; chip->name != NULL; ++chip) {
        int j = 0;
        while (LinuxFindPci(chip->vendor, chip->device, j++, &attr)) {
            KdCardInfoAdd(&neoFuncs, &attr, 0);
        }
    }
}
Exemple #13
0
void
InitCard (char *name)
{
    KdCardAttr	attr;
    CARD32	count;

    count = 0;
    while (LinuxFindPci (0x5333, 0x8904, count, &attr))
    {
	KdCardInfoAdd (&s3Funcs, &attr, 0);
	count++;
    }
}
void
InitCard (char *name)
{
    KdCardAttr	attr;
    CARD32	count;

    count = 0;
#ifdef EMBED
    attr.address[0] = 0x10000000;  /* Adomo Wing video base address  */
    attr.io = 0;
    attr.naddr = 1;
#else
    while (LinuxFindPci (0x10ea, 0x5000, count, &attr))
#endif
    {
	KdCardInfoAdd (&igsFuncs, &attr, 0);
	count++;
    }
}
Exemple #15
0
void
InitCard (char *name)
{
    KdCardInfo	*card;
    CARD32	fb;
    int		i;
    KdCardAttr	attr;
    
    for (i = 0; i < NUM_PCI_CARDS; i++)
    {
	if (!name || !strcmp (name, PCICards[i].user))
	{
	    if (HasPCI (PCICards[i].name, &attr))
	    {
		KdCardInfoAdd (PCICards[i].funcs, &attr, 0);
		return;
	    }
	}
    }
}
Exemple #16
0
void InitCard(char *name)
{
	KdCardInfoAdd (&sdlFuncs,  0);
	printf("InitCard: %s\n", name);
}
Exemple #17
0
void
InitCard (char *name)
{
    KdCardInfoAdd (&fakeFuncs, 0);
}
Exemple #18
0
void
InitCard(char *name)
{
    EPHYR_DBG("mark");
    KdCardInfoAdd(&ephyrFuncs, 0);
}
Exemple #19
0
void
InitCard(char *name)
{
    KdCardAttr attr;
    KdCardInfoAdd((KdCardFuncs *) &vesaFuncs, &attr, 0);
}
Exemple #20
0
void
InitCard (char *name)
{
    KdCardInfoAdd (&fbdevFuncs, 0);
}