/* The CSC is the framebuffer on the PowerBook 190 series (and the 5300 too, but that's a PowerMac). This function brought to you in part by the ECSC driver for MkLinux.  */
static int csc_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue, struct fb_info *fb_info)
/* The CSC is the framebuffer on the PowerBook 190 series (and the 5300 too, but that's a PowerMac). This function brought to you in part by the ECSC driver for MkLinux.  */
static int csc_setpalette(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue, struct fb_info *fb_info)
{
	mdelay(1);
	nubus_writeb(regno, &csc_cmap_regs->clut_waddr);
	nubus_writeb(red,   &csc_cmap_regs->clut_data);
	nubus_writeb(green, &csc_cmap_regs->clut_data);
	nubus_writeb(blue,  &csc_cmap_regs->clut_data);
	return 0;
}