Compare commits

...

9 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult 8f1de20ba3 xfree86: sbus: unexport struct sbus_devtable
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:37:50 +02:00
Enrico Weigelt, metux IT consult 6716f8893e xfree86: sbus: unexport sbusDeviceTable field
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:37:50 +02:00
Enrico Weigelt, metux IT consult d6686ff08c xfree86: sbus: unexport xf86SbusInfo field
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:37:50 +02:00
Enrico Weigelt, metux IT consult cc4c8aa3aa xfree86: sbus: unexport sparcDriverName()
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:37:45 +02:00
Enrico Weigelt, metux IT consult 889a3bf3e2 xfree86: sbus: unexport sparcPromPathname2Node()
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:20:50 +02:00
Enrico Weigelt, metux IT consult faf7ed0d8c xfree86: sbus: unexport sparcPromNode2Pathname()
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:20:25 +02:00
Enrico Weigelt, metux IT consult bab477c757 xfree86: sbus: unexport sparcPromAssignNodes()
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:19:33 +02:00
Enrico Weigelt, metux IT consult e127bf49e6 xfree86: sbus: unexport sparcPromGetProperty()
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:15:23 +02:00
Enrico Weigelt, metux IT consult f3b3f36507 xfree86: sbus: unexport xf86SbusProbe()
Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-30 14:12:30 +02:00
6 changed files with 22 additions and 21 deletions

View File

@ -44,7 +44,7 @@
#include "xf86platformBus.h"
#include "xf86pciBus.h"
#ifdef __sparc__
#include "xf86sbusBus.h"
#include "xf86sbusBus_priv.h"
#endif
#ifdef __sun

View File

@ -47,6 +47,7 @@
/* Bus-specific headers */
#include "xf86Bus.h"
#include "xf86sbusBus_priv.h"
#include "xf86_OSproc.h"
#ifdef XSERVER_LIBPCIACCESS

View File

@ -37,7 +37,7 @@
#include "xf86Bus.h"
#include "xf86sbusBus.h"
#include "xf86sbusBus_priv.h"
#include "xf86Sbus.h"
Bool sbusSlotClaimed = FALSE;

View File

@ -56,18 +56,6 @@ typedef struct sbus_device {
const char *device;
} sbusDevice, *sbusDevicePtr;
struct sbus_devtable {
int devId;
int fbType;
const char *promName;
const char *driverName;
const char *descr;
};
extern _X_EXPORT void xf86SbusProbe(void);
extern _X_EXPORT sbusDevicePtr *xf86SbusInfo;
extern _X_EXPORT struct sbus_devtable sbusDeviceTable[];
extern _X_EXPORT int xf86MatchSbusInstances(const char *driverName,
int sbusDevId, GDevPtr * devList,
int numDevs, DriverPtr drvp,
@ -96,12 +84,6 @@ extern _X_EXPORT int promGetBool(const char *prop);
extern _X_EXPORT int sparcPromInit(void);
extern _X_EXPORT void sparcPromClose(void);
extern _X_EXPORT char *sparcPromGetProperty(sbusPromNodePtr pnode,
const char *prop, int *lenp);
extern _X_EXPORT int sparcPromGetBool(sbusPromNodePtr pnode, const char *prop);
extern _X_EXPORT void sparcPromAssignNodes(void);
extern _X_EXPORT char *sparcPromNode2Pathname(sbusPromNodePtr pnode);
extern _X_EXPORT int sparcPromPathname2Node(const char *pathName);
extern _X_EXPORT char *sparcDriverName(void);
#endif /* _XF86_SBUSBUS_H */

View File

@ -10,7 +10,25 @@
#include "xf86sbusBus.h"
struct sbus_devtable {
int devId;
int fbType;
const char *promName;
const char *driverName;
const char *descr;
};
extern sbusDevicePtr *xf86SbusInfo;
extern struct sbus_devtable sbusDeviceTable[];
Bool xf86SbusConfigure(void *busData, sbusDevicePtr sBus);
void xf86SbusConfigureNewDev(void *busData, sbusDevicePtr sBus, GDevRec* GDev);
void xf86SbusProbe(void);
char *sparcPromGetProperty(sbusPromNodePtr pnode, const char *prop, int *lenp);
void sparcPromAssignNodes(void);
char *sparcPromNode2Pathname(sbusPromNodePtr pnode);
int sparcPromPathname2Node(const char *pathName);
char *sparcDriverName(void);
#endif /* _XSERVER_XF86_SBUSBUS_H */

View File

@ -38,7 +38,7 @@
#include "xf86Priv.h"
#include "xf86_OSlib.h"
#include "xf86sbusBus.h"
#include "xf86sbusBus_priv.h"
#include "xf86Sbus.h"
int promRootNode;