|
|
Sponsor |
xserver/hw/xizzle/common xf86Config.c,3.281,3.282: msg#00074freedesktop.xserver.cvs
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 --
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | xserver configure.ac,3.62,3.63, Daniel Stone |
|---|---|
| Next by Date: | xserver/hw/xizzle/os-support/bus Pci.h,1.46,1.47, Daniel Stone |
| Previous by Thread: | xserver configure.ac,3.62,3.63, Daniel Stone |
| Next by Thread: | xserver/hw/xizzle/os-support/bus Pci.h,1.46,1.47, Daniel Stone |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|