/* Set the color of a palette entry in 8bpp mode  */
static void do_setpalentry(struct tdfx_par *par, unsigned regno, u32 c)
/* Set the color of a palette entry in 8bpp mode  */
static void do_setpalentry(struct tdfx_par *par, unsigned regno, u32 c)
{
	banshee_make_room(par, 2);
	tdfx_outl(par, DACADDR, regno);
	tdfx_inl(par, DACADDR);
	tdfx_outl(par, DACDATA, c);
}