diff options
author | Eric Anholt <anholt@freebsd.org> | 2004-11-06 23:02:07 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2004-11-06 23:02:07 +0000 |
commit | cb5aaa89871c051098ae8067d0e386840b7bdc59 (patch) | |
tree | 240423a7c804efe8c9d4c6fdde2b40b9e7eb15fa /bsd-core/r128_drv.c | |
parent | 7ddbd38dde5dc5566ba14f2b1c449611a6d0224f (diff) |
Convert more drivers for bsd-core, moving the ioctl definitions to shared
code. Remove the "drv" from sisdrv, as it's unnecessary. Use the
drm_pci functions in i915 instead of per-os implementations of the
same. Avoid whitespace within fields in drm_pciids.txt (one of the r300
definitions), since it breaks the bsd pciids script. Tested on sis,
mga, r128. i915 needs more work.
Diffstat (limited to 'bsd-core/r128_drv.c')
-rw-r--r-- | bsd-core/r128_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/r128_drv.c b/bsd-core/r128_drv.c index 03bf1b5d..f1012797 100644 --- a/bsd-core/r128_drv.c +++ b/bsd-core/r128_drv.c @@ -111,6 +111,6 @@ extern devclass_t drm_devclass; DRIVER_MODULE(r128, pci, r128_driver, drm_devclass, 0, 0); MODULE_DEPEND(r128, drm, 1, 1, 1); -#elif defined(__NetBSD__) +#elif defined(__NetBSD__) || defined(__OpenBSD__) CFDRIVER_DECL(r128, DV_TTY, NULL); #endif |