--- trunk/src/devices/dev_fb.c 2007/10/08 16:19:11 18 +++ trunk/src/devices/dev_fb.c 2007/10/08 16:19:23 20 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: dev_fb.c,v 1.108 2005/10/20 22:49:07 debug Exp $ + * $Id: dev_fb.c,v 1.110 2005/11/13 00:14:08 debug Exp $ * * Generic framebuffer device. * @@ -65,7 +65,7 @@ #endif -#define FB_TICK_SHIFT 19 +#define FB_TICK_SHIFT 18 /* #define FB_DEBUG */ @@ -1056,11 +1056,11 @@ } snprintf(name2, nlen, "fb [%s]", name); - flags = MEM_DEFAULT; + flags = DM_DEFAULT; if ((baseaddr & 0xfff) == 0) - flags = MEM_DYNTRANS_OK | MEM_DYNTRANS_WRITE_OK; + flags = DM_DYNTRANS_OK | DM_DYNTRANS_WRITE_OK; - flags |= MEM_READING_HAS_NO_SIDE_EFFECTS; + flags |= DM_READS_HAVE_NO_SIDE_EFFECTS; memory_device_register(mem, name2, baseaddr, size, dev_fb_access, d, flags, d->framebuffer);