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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-m68k/] [amigatypes.h] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
/*
/*
** linux/amigatypes.h -- Types used in Amiga Linux kernel source
** linux/amigatypes.h -- Types used in Amiga Linux kernel source
**
**
** Copyright 1992 by Greg Harp
** Copyright 1992 by Greg Harp
**
**
** 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
** License.  See the file COPYING in the main directory of this archive
** for more details.
** for more details.
**
**
** Created 09/29/92 by Greg Harp
** Created 09/29/92 by Greg Harp
**
**
** Moved all Zorro definitions to asm/zorro.h which is where they
** Moved all Zorro definitions to asm/zorro.h which is where they
** really belong - 24/11/95 Jes Sorensen
** really belong - 24/11/95 Jes Sorensen
*/
*/
 
 
#ifndef _LINUX_AMIGATYPES_H_
#ifndef _LINUX_AMIGATYPES_H_
#define _LINUX_AMIGATYPES_H_
#define _LINUX_AMIGATYPES_H_
 
 
#ifdef __KERNEL__ /* only if compiling the kernel */
#ifdef __KERNEL__ /* only if compiling the kernel */
#include <linux/types.h>
#include <linux/types.h>
#endif
#endif
 
 
/*
/*
 * Different models of Amiga
 * Different models of Amiga
 */
 */
#define AMI_UNKNOWN     (0)
#define AMI_UNKNOWN     (0)
#define AMI_500         (1)
#define AMI_500         (1)
#define AMI_500PLUS     (2)
#define AMI_500PLUS     (2)
#define AMI_600         (3)
#define AMI_600         (3)
#define AMI_1000        (4)
#define AMI_1000        (4)
#define AMI_1200        (5)
#define AMI_1200        (5)
#define AMI_2000        (6)
#define AMI_2000        (6)
#define AMI_2500        (7)
#define AMI_2500        (7)
#define AMI_3000        (8)
#define AMI_3000        (8)
#define AMI_3000T       (9)
#define AMI_3000T       (9)
#define AMI_3000PLUS    (10)
#define AMI_3000PLUS    (10)
#define AMI_4000        (11)
#define AMI_4000        (11)
#define AMI_4000T       (12)
#define AMI_4000T       (12)
#define AMI_CDTV        (13)
#define AMI_CDTV        (13)
#define AMI_CD32        (14)
#define AMI_CD32        (14)
#define AMI_DRACO       (15)
#define AMI_DRACO       (15)
 
 
/*
/*
 * chipsets
 * chipsets
 */
 */
#define CS_STONEAGE (0)
#define CS_STONEAGE (0)
#define CS_OCS      (1)
#define CS_OCS      (1)
#define CS_ECS      (2)
#define CS_ECS      (2)
#define CS_AGA      (3)
#define CS_AGA      (3)
 
 
/*
/*
 * Amiga clocks
 * Amiga clocks
 */
 */
 
 
extern u_long amiga_masterclock;                        /* 28 MHz */
extern u_long amiga_masterclock;                        /* 28 MHz */
extern u_long amiga_colorclock;                         /* 3.5 MHz */
extern u_long amiga_colorclock;                         /* 3.5 MHz */
#define amiga_eclock    boot_info.bi_amiga.eclock       /* 700 kHz */
#define amiga_eclock    boot_info.bi_amiga.eclock       /* 700 kHz */
 
 
#endif /* asm-m68k/amigatypes.h */
#endif /* asm-m68k/amigatypes.h */
 
 

powered by: WebSVN 2.1.0

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