diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-02-21 23:23:09 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-02-21 23:23:09 +0000 |
commit | cfa778af9c70faea8c13e5cb7f80029eee0d074e (patch) | |
tree | 15483e64b6c2b56d3bb0f247df9df2c2602e0404 /bsd/mga_drv.c | |
parent | a64472d18493de575a7636704b45babe7b4b4572 (diff) |
Merge from bsd-4-0-0-branch.
Diffstat (limited to 'bsd/mga_drv.c')
-rw-r--r-- | bsd/mga_drv.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <gareth@valinux.com> */ -#include <sys/types.h> - #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 |