OpenCores
URL https://opencores.org/ocsvn/axi_vga_fb/axi_vga_fb/trunk

Subversion Repositories axi_vga_fb

[/] [axi_vga_fb/] [trunk/] [v586fb.c] - Diff between revs 2 and 4

Show entire file | Details | Blame | View Log

Rev 2 Rev 4
Line 1... Line 1...
/*
/*
 * linux/drivers/video/v586fb.c -- v586 frame buffer device
 * linux/drivers/video/v586fb.c -- v586 frame buffer device
 *
 *
 * Copyright (C) 2017
 * Copyright (C) 2001
 *
 *
 *      This driver is derived from the q40 one done by :
 
 *      Richard Zidlicky <rz@linux-m68k.org>
 *      Richard Zidlicky <rz@linux-m68k.org>
 *
 *
 *  This file is subject to the terms and conditions of the GNU General Public
 *  This file is subject to the terms and conditions of the GNU General Public
 *  License. See the file COPYING in the main directory of this archive for
 *  License. See the file COPYING in the main directory of this archive for
 *  more details.
 *  more details.
Line 23... Line 22...
#include <asm/setup.h>
#include <asm/setup.h>
#include <linux/fb.h>
#include <linux/fb.h>
#include <linux/module.h>
#include <linux/module.h>
#include <asm/pgtable.h>
#include <asm/pgtable.h>
 
 
#define v586_PHYS_SCREEN_ADDR 0x000A0000
#define v586_PHYS_SCREEN_ADDR 0x40F00000
#define v586_PHYS_SCREEN_SIZE 0x00020000
#define v586_PHYS_SCREEN_SIZE 0x00020000
/* static void *videomemory; */
/* static void *videomemory; */
static u_long videomemorysize = v586_PHYS_SCREEN_SIZE;
static u_long videomemorysize = v586_PHYS_SCREEN_SIZE;
module_param(videomemorysize, ulong, 0);
module_param(videomemorysize, ulong, 0);
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.