summaryrefslogtreecommitdiff
path: root/bsd/r128_drv.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-01-28 20:53:22 +0000
committerEric Anholt <anholt@freebsd.org>2003-01-28 20:53:22 +0000
commita49668a280a6843bc86eafbf9e1fe1c5372457de (patch)
tree3c1a7316a50f0eb95ca46588d51f0b47c9b5c952 /bsd/r128_drv.c
parent9e4f21f170d8c484f28f25291ec07e4b13920a1c (diff)
Updates for current NetBSD. With this, mga and tdfx compile (radeon, r128
are close). This particular version hasn't been tested yet. Submitted by: Erik Reid
Diffstat (limited to 'bsd/r128_drv.c')
-rw-r--r--bsd/r128_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd/r128_drv.c b/bsd/r128_drv.c
index 2978f4c0..8a9c2837 100644
--- a/bsd/r128_drv.c
+++ b/bsd/r128_drv.c
@@ -82,4 +82,6 @@ drm_chipinfo_t DRM(devicelist)[] = {
#ifdef __FreeBSD__
DRIVER_MODULE(r128, pci, r128_driver, r128_devclass, 0, 0);
+#elif defined(__NetBSD__)
+CFDRIVER_DECL(r128, DV_TTY, NULL);
#endif /* __FreeBSD__ */