Greg Kroah-Hartman | 6f52b16 | 2017-11-01 15:08:43 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Geert Uytterhoeven | 4c3c522 | 2013-10-02 11:37:33 +0200 | [diff] [blame] | 2 | /* |
| 3 | ** asm/bootinfo-amiga.h -- Amiga-specific boot information definitions |
| 4 | */ |
| 5 | |
| 6 | #ifndef _UAPI_ASM_M68K_BOOTINFO_AMIGA_H |
| 7 | #define _UAPI_ASM_M68K_BOOTINFO_AMIGA_H |
| 8 | |
| 9 | |
| 10 | /* |
| 11 | * Amiga-specific tags |
| 12 | */ |
| 13 | |
Geert Uytterhoeven | abe4810 | 2013-10-04 11:41:24 +0200 | [diff] [blame] | 14 | #define BI_AMIGA_MODEL 0x8000 /* model (__be32) */ |
Geert Uytterhoeven | 4c3c522 | 2013-10-02 11:37:33 +0200 | [diff] [blame] | 15 | #define BI_AMIGA_AUTOCON 0x8001 /* AutoConfig device */ |
| 16 | /* (AmigaOS struct ConfigDev) */ |
Geert Uytterhoeven | abe4810 | 2013-10-04 11:41:24 +0200 | [diff] [blame] | 17 | #define BI_AMIGA_CHIP_SIZE 0x8002 /* size of Chip RAM (__be32) */ |
| 18 | #define BI_AMIGA_VBLANK 0x8003 /* VBLANK frequency (__u8) */ |
| 19 | #define BI_AMIGA_PSFREQ 0x8004 /* power supply frequency (__u8) */ |
| 20 | #define BI_AMIGA_ECLOCK 0x8005 /* EClock frequency (__be32) */ |
| 21 | #define BI_AMIGA_CHIPSET 0x8006 /* native chipset present (__be32) */ |
| 22 | #define BI_AMIGA_SERPER 0x8007 /* serial port period (__be16) */ |
Geert Uytterhoeven | 4c3c522 | 2013-10-02 11:37:33 +0200 | [diff] [blame] | 23 | |
| 24 | |
| 25 | /* |
Geert Uytterhoeven | 7bc4496 | 2013-10-03 11:26:22 +0200 | [diff] [blame] | 26 | * Amiga models (BI_AMIGA_MODEL) |
| 27 | */ |
| 28 | |
| 29 | #define AMI_UNKNOWN 0 |
| 30 | #define AMI_500 1 |
| 31 | #define AMI_500PLUS 2 |
| 32 | #define AMI_600 3 |
| 33 | #define AMI_1000 4 |
| 34 | #define AMI_1200 5 |
| 35 | #define AMI_2000 6 |
| 36 | #define AMI_2500 7 |
| 37 | #define AMI_3000 8 |
| 38 | #define AMI_3000T 9 |
| 39 | #define AMI_3000PLUS 10 |
| 40 | #define AMI_4000 11 |
| 41 | #define AMI_4000T 12 |
| 42 | #define AMI_CDTV 13 |
| 43 | #define AMI_CD32 14 |
| 44 | #define AMI_DRACO 15 |
| 45 | |
| 46 | |
| 47 | /* |
| 48 | * Amiga chipsets (BI_AMIGA_CHIPSET) |
| 49 | */ |
| 50 | |
| 51 | #define CS_STONEAGE 0 |
| 52 | #define CS_OCS 1 |
| 53 | #define CS_ECS 2 |
| 54 | #define CS_AGA 3 |
| 55 | |
| 56 | |
| 57 | /* |
Geert Uytterhoeven | 4c3c522 | 2013-10-02 11:37:33 +0200 | [diff] [blame] | 58 | * Latest Amiga bootinfo version |
| 59 | */ |
| 60 | |
| 61 | #define AMIGA_BOOTI_VERSION MK_BI_VERSION(2, 0) |
| 62 | |
| 63 | |
| 64 | #endif /* _UAPI_ASM_M68K_BOOTINFO_AMIGA_H */ |