Bug#16501: autodetection of sbus graphic cards

Add automatic detection of the graphic driver to load for sbus devices.
This allows xorg to work on those devices without a "Device" section.

Debian bug#483942.

Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
Bernhard R. Link 2008-10-26 00:19:34 +02:00 • committed by Julien Cristau
commit 24e863b0eb
3 changed files with 80 additions and 14 deletions

View file

@ -60,6 +60,7 @@ extern struct sbus_devtable {
int devId;
int fbType;
char *promName;
char *driverName;
char *descr;
} sbusDeviceTable[];
@ -93,5 +94,6 @@ int sparcPromGetBool(sbusPromNodePtr pnode, const char *prop);
void sparcPromAssignNodes(void);
char * sparcPromNode2Pathname(sbusPromNodePtr pnode);
int sparcPromPathname2Node(const char *pathName);
char *sparcDriverName(void);
#endif /* _XF86_SBUSBUS_H */