Jung-uk Kim wrote:

On Wednesday 22 June 2005 06:55 pm, Adam K Kirchhoff wrote:
At one point in the not-too-distant past, the r300 drm would
compile on FreeBSD 5.4.

After bringing a Radeon 9550 home from work to test out and being
really impressed with how well the driver works (without those
pesky 9800 specific lockups), I decided to give it a whirl in
FreeBSD. Unfortunately, the drm module wouldn't compile:

c -O -pipe   -I. -I.. -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I.
-I.. -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000
-fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c
/home/adamk/saved/source/drm/bsd-core/radeon/../radeon_cp.c
/home/adamk/saved/source/drm/bsd-core/radeon/../radeon_cp.c: In
function `radeon_set_pciegart':
/home/adamk/saved/source/drm/bsd-core/radeon/../radeon_cp.c:1246:
warning: unsigned int format, dma_addr_t arg (arg 5)
/home/adamk/saved/source/drm/bsd-core/radeon/../radeon_cp.c: In
function `radeon_do_init_cp':
/home/adamk/saved/source/drm/bsd-core/radeon/../radeon_cp.c:1533:
error: too many arguments to function `drm_ati_pcigart_init'
/home/adamk/saved/source/drm/bsd-core/radeon/../radeon_cp.c: In
function `radeon_preinit':
/home/adamk/saved/source/drm/bsd-core/radeon/../radeon_cp.c:2087:
warning: implicit declaration of function `drm_device_is_pcie'
/home/adamk/saved/source/drm/bsd-core/radeon/../radeon_cp.c:2087:
warning: nested extern declaration of `drm_device_is_pcie'
*** Error code 1

Any ideas?

Recent preliminary PCI-Express support code commit broke *BSD. I have a quick-and-dirty fix for this. If you are interested, let me know.

Jung-uk Kim


Definitely pass it along when you a chance :-)  Thanks!

Adam



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to