with BSD fix from jkim and the r300_reg.h license from Nicolai Haehnle. Big thanks to everyone involved!