From d7510ea4136a031b16fb25a32bd77970d315707a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 6 Nov 2004 11:16:26 +0000 Subject: Commit first pieces of port to OpenBSD, done by Martin Lexa (martin at martinlexa dot cz). Now that we've got porting for all three major BSDs (and the fourth being very similar to FreeBSD), move the mostly-duplication drm_os_* files into drmP.h. Remove some cruft from linux heritage and from pieces of the DRM that have since been removed. Note that things are still not quite working for even FreeBSD, but these are first steps at cleanup, and just a WIP checkpoint. --- bsd-core/drm_sysctl.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'bsd-core/drm_sysctl.c') diff --git a/bsd-core/drm_sysctl.c b/bsd-core/drm_sysctl.c index 085fb1f5..64066bc2 100644 --- a/bsd-core/drm_sysctl.c +++ b/bsd-core/drm_sysctl.c @@ -25,8 +25,6 @@ #include "drmP.h" #include "drm.h" -#ifdef __FreeBSD__ - #include static int drm_name_info DRM_SYSCTL_HANDLER_ARGS; @@ -303,16 +301,3 @@ done: drm_free(tempprivs, sizeof(drm_file_t) * privcount, DRM_MEM_FILES); return retcode; } - -#elif defined(__NetBSD__) -/* stub it out for now, sysctl is only for debugging */ -int drm_sysctl_init(drm_device_t *dev) -{ - return 0; -} - -int drm_sysctl_cleanup(drm_device_t *dev) -{ - return 0; -} -#endif -- cgit v1.2.3