Hi, I made a small patch to port Linux DRM module to FreeBSD. I'm wondering nobody has made it before...
After patching the drm directory, go into drm/bsd directory and compile by "make depend savage". The savage.ko module is built into the savage subdirectory. Copy the file savage.ko into /boot/modules (must be root). the command 'kldload savage' must show something like: drm0: <ProSavage KN133> mem 0xc8000000-0xcfffffff,0xc0100000-0xc017ffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xc4000000 64MB info: [drm] Initialized savage 1.0.0 20011023 on minor 0 The module works fine when it is loaded after boot (or automatically by X). When autoloading the module by /boot/loader.conf, my system (FreeBSD 5.2.1, AMD Duron 800, ProSavage KN133 "Twister") crashes after 10-15 minutes. ...
freebsd_savagedrm.diff.bz2
Description: BZip2 compressed data