logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

xserver/hw/xizzle/common xf86Config.c,3.281,3.282: msg#00074

freedesktop.xserver.cvs

Subject: xserver/hw/xizzle/common xf86Config.c,3.281,3.282

Committed by: daniel

Update of /cvs/xserver/xserver/hw/xizzle/common
In directory pdx:/tmp/cvs-serv13000/common

Modified Files:
xf86Config.c
Log Message:
'No, really, it should build now.'

os-support/linux/drm/Makefile.am: Add missing file.
common/xf86Config.c: Add GetDriverlistFromCompile(), modify semantics. THIS
NEEDS FIXING.
os-support/bus/Pci.h: Disable x86-specific PCI functions for now.


Index: xf86Config.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/xizzle/common/xf86Config.c,v
retrieving revision 3.281
retrieving revision 3.282
diff -u -d -r3.281 -r3.282
--- a/xf86Config.c 7 Mar 2004 13:43:01 -0000 3.281
+++ b/xf86Config.c 9 Mar 2004 11:54:34 -0000 3.282
@@ -448,7 +448,7 @@
* provided modules, pre-pending them to our own list.
*/
static char **
-GenerateDriverList(char * dirname, char * drivernames)
+GenerateDriverlist(char * dirname, char * drivernames)
{
char *cp, **driverlist;
int count;
@@ -537,6 +537,41 @@
return driverlist;
}

+char **
+xf86DriverlistFromCompile(void)
+{
+ static char **driverlist = NULL;
+ static Bool generated = FALSE;
+
+ /* This string is modified in-place */
+ static char drivernames[] = { "ati" };
+
+ if (!generated) {
+ generated = TRUE;
+ driverlist = GenerateDriverlist("drivers", drivernames);
+ }
+
+ return driverlist;
+}
+
+
+char **
+xf86InputDriverlistFromCompile(void)
+{
+ static char **driverlist = NULL;
+ static Bool generated = FALSE;
+
+ /* This string is modified in-place */
+ static char drivernames[] = {};
+
+ if (!generated) {
+ generated = TRUE;
+ driverlist = GenerateDriverlist("input", drivernames);
+ }
+
+ return driverlist;
+}
+

/*
* xf86ConfigError --





Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo