commit | 751765dba5b15f431a12308e09237d895c65e471 | [log] [tgz] |
---|---|---|
author | Eric Anholt <anholt@freebsd.org> | Mon Jun 06 06:45:41 2005 +0000 |
committer | Eric Anholt <anholt@freebsd.org> | Mon Jun 06 06:45:41 2005 +0000 |
tree | 449413b86789b28e3e9ba33467cdfa96f33bb69d | |
parent | 805a07714f05833a1ed4e4a01f8086fafd46e849 [diff] [blame] |
Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the device attachment).
diff --git a/bsd-core/tdfx_drv.c b/bsd-core/tdfx_drv.c index 036d8ec..98ae9ae 100644 --- a/bsd-core/tdfx_drv.c +++ b/bsd-core/tdfx_drv.c
@@ -97,5 +97,10 @@ MODULE_DEPEND(tdfx, drm, 1, 1, 1); #elif defined(__NetBSD__) || defined(__OpenBSD__) +#ifdef _LKM CFDRIVER_DECL(tdfx, DV_TTY, NULL); +#else +CFATTACH_DECL(tdfx, sizeof(drm_device_t), drm_probe, drm_attach, drm_detach, + drm_activate); +#endif #endif