summaryrefslogtreecommitdiff
path: root/bsd/tdfx_drv.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-04-24 00:46:03 +0000
committerEric Anholt <anholt@freebsd.org>2003-04-24 00:46:03 +0000
commit9b2b2337b3caa006fa95eecb966b8a68eed83b90 (patch)
treee16163e13ad2cec66b387b9d27803d98a48d055d /bsd/tdfx_drv.c
parente21473c88853bb6f539ecca1c76e692d748bb722 (diff)
Move one definition to drm_drv.h and remove the rest of drm_init.h which
was all unused.
Diffstat (limited to 'bsd/tdfx_drv.c')
-rw-r--r--bsd/tdfx_drv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsd/tdfx_drv.c b/bsd/tdfx_drv.c
index 8bc8c57d..967941ac 100644
--- a/bsd/tdfx_drv.c
+++ b/bsd/tdfx_drv.c
@@ -28,11 +28,10 @@
* Rickard E. (Rik) Faith <faith@valinux.com>
* Daryll Strauss <daryll@valinux.com>
* Gareth Hughes <gareth@valinux.com>
+ *
+ * $FreeBSD: src/sys/dev/drm/tdfx_drv.c,v 1.3 2003/03/09 02:08:28 anholt Exp $
*/
-
-#include <sys/types.h>
-
#include "tdfx.h"
#include "drmP.h"
@@ -87,7 +86,6 @@ drm_chipinfo_t DRM(devicelist)[] = {
#include "drm_fops.h"
-#include "drm_init.h"
#include "drm_ioctl.h"
#include "drm_lock.h"
#include "drm_memory.h"
@@ -96,4 +94,6 @@ drm_chipinfo_t DRM(devicelist)[] = {
#ifdef __FreeBSD__
DRIVER_MODULE(tdfx, pci, tdfx_driver, tdfx_devclass, 0, 0);
+#elif defined(__NetBSD__)
+CFDRIVER_DECL(tdfx, DV_TTY, NULL);
#endif /* __FreeBSD__ */