** WARNING **
** This is highly experimental, using this patch you could be able to destroy your graphics cards, so use it at your own risk **

Original disclaimer from r300.sourceforge.net:

The source code on this website may damage your hardware.
 It is *UNTESTED* and *BROKEN* !
 Or, at least, some of it is.


This is a patch that adds drm support for R300 based cards to the radeon-drm driver. It should be applied against linux-2.6.9-rc2.
It currently only adds support for the following pci-ids (based on r300_demo.c and known to work somewhat) :

0x4144 R300 AD [Radeon 9500 Pro]
0x4145 R300 AE [Radeon 9700 Pro]
0x4146 R300 AF [Radeon 9700 Pro]
0x4147 R300 AG [FireGL Z1/X1]
0x4150 RV350 AP [Radeon 9600]
0x4152 RV350 AR [Radeon 9600] 
0x4e44 R300 ND [Radeon 9700 Pro]
0x4e45 R300 NE [Radeon 9500 Pro]
0x4e46 RV350 NF [Radeon 9600]
0x4e47 R300 NG [FireGL X1]
0x4e50 RV350 [Mobility Radeon 9600 M10]
0x4e54 M10 NT [FireGL Mobility T2]

If you have an R300 based card not listed here, then you have to edit drm_pciids.h in /linux-2.6.9-rc2/drivers/char/drm and add your
pci-id to it after you applied the patch.
Example : lspci -n
	  0000:01:00.0 0300: 1002:4150
	  0000:01:00.1 0380: 1002:4170
Add the first one (eg 0x4150) and not the second one.
If it works (watch dmesg output and your xlog) then please contact me at 
jkreuzer@users.sourceforge.net so that i can add your pci-id to the patch.
You need also the ati-driver patch against xorg.

09/23/2004 Jan Kreuzer