From cfa778af9c70faea8c13e5cb7f80029eee0d074e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 21 Feb 2003 23:23:09 +0000 Subject: Merge from bsd-4-0-0-branch. --- bsd/mga_drv.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bsd/mga_drv.c') diff --git a/bsd/mga_drv.c b/bsd/mga_drv.c index 8b69b41b..ffc83db9 100644 --- a/bsd/mga_drv.c +++ b/bsd/mga_drv.c @@ -29,8 +29,6 @@ * Gareth Hughes */ -#include - #include "mga.h" #include "drmP.h" #include "drm.h" @@ -63,4 +61,8 @@ drm_chipinfo_t DRM(devicelist)[] = { #include "drm_vm.h" #include "drm_sysctl.h" +#ifdef __FreeBSD__ DRIVER_MODULE(mga, pci, mga_driver, mga_devclass, 0, 0); +#elif defined(__NetBSD__) +CFDRIVER_DECL(mga, DV_TTY, NULL); +#endif -- cgit v1.2.3