summaryrefslogtreecommitdiff
path: root/bsd/tdfx_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/tdfx_drv.c')
-rw-r--r--bsd/tdfx_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bsd/tdfx_drv.c b/bsd/tdfx_drv.c
index 8bc8c57d..c62ca2c5 100644
--- a/bsd/tdfx_drv.c
+++ b/bsd/tdfx_drv.c
@@ -30,9 +30,6 @@
* Gareth Hughes <gareth@valinux.com>
*/
-
-#include <sys/types.h>
-
#include "tdfx.h"
#include "drmP.h"
@@ -96,4 +93,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__ */