summaryrefslogtreecommitdiff
path: root/src/intel_module.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-20 15:01:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-06-25 13:18:01 +0100
commit5c663ce8442bd3b69c96e29061c57cc565fca91d (patch)
tree56f02802179a75e8d94a83c47ebeff9e48bb1168 /src/intel_module.c
parent797d173a9af12055ba2609293182b616dd673ef4 (diff)
Rename common infrastructure to the intel namespace.
After splitting out the i810 driver into its own legacy directory, we can identify the common routines not as i830 but as intel. This clarifies the code which *is* i830 specific. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r--src/intel_module.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/intel_module.c b/src/intel_module.c
index 1624d06d..42350d43 100644
--- a/src/intel_module.c
+++ b/src/intel_module.c
@@ -33,7 +33,7 @@
#include "xf86cmap.h"
#include "common.h"
-#include "i830.h"
+#include "intel.h"
#include "intel_driver.h"
#include "legacy/legacy.h"
@@ -390,18 +390,18 @@ static const OptionInfoRec *
intel_available_options(int chipid, int busid)
{
#if KMS_ONLY
- return i830_available_options(chipid, busid);
+ return intel_uxa_available_options(chipid, busid);
#else
- switch (chipid) {
- case PCI_CHIP_I810:
- case PCI_CHIP_I810_DC100:
- case PCI_CHIP_I810_E:
- case PCI_CHIP_I815:
- return lg_i810_available_options(chipid, busid);
+ switch (chipid) {
+ case PCI_CHIP_I810:
+ case PCI_CHIP_I810_DC100:
+ case PCI_CHIP_I810_E:
+ case PCI_CHIP_I815:
+ return lg_i810_available_options(chipid, busid);
- default:
- return i830_available_options(chipid, busid);
- }
+ default:
+ return intel_uxa_available_options(chipid, busid);
+ }
#endif
}