From cb5aaa89871c051098ae8067d0e386840b7bdc59 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 6 Nov 2004 23:02:07 +0000 Subject: 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. --- bsd-core/r128_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsd-core/r128_drv.c') 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 -- cgit v1.2.3