~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/m68k/include/asm/machines.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/m68k/include/asm/machines.h (Architecture sparc) and /arch/m68k/include/asm-m68k/machines.h (Architecture m68k)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 /*                                                
  3  * machines.h:  Defines for taking apart the m    
  4  *              idprom and determining the kin    
  5  *                                                
  6  * Copyright (C) 1995 David S. Miller (davem@c    
  7  * Sun3/3x models added by David Monro (davidm    
  8  */                                               
  9 #ifndef _SPARC_MACHINES_H                         
 10 #define _SPARC_MACHINES_H                         
 11                                                   
 12 struct Sun_Machine_Models {                       
 13         char *name;                               
 14         unsigned char id_machtype;                
 15 };                                                
 16                                                   
 17 /* Current number of machines we know about th    
 18  * machtype entry including one entry for the     
 19  */                                               
 20 // reduced along with table in arch/m68k/sun3/    
 21 // sun3 port doesn't need to know about sparc     
 22 //#define NUM_SUN_MACHINES   23                   
 23 #define NUM_SUN_MACHINES  8                       
 24                                                   
 25 /* The machine type in the idprom area looks l    
 26  *                                                
 27  * ---------------                                
 28  * | ARCH | MACH |                                
 29  * ---------------                                
 30  *  7    4 3    0                                 
 31  *                                                
 32  * The ARCH field determines the architecture     
 33  * The MACH field determines the machine make     
 34  */                                               
 35                                                   
 36 #define SM_ARCH_MASK  0xf0                        
 37 #define SM_SUN3       0x10                        
 38 #define SM_SUN4       0x20                        
 39 #define SM_SUN3X      0x40                        
 40 #define SM_SUN4C      0x50                        
 41 #define SM_SUN4M      0x70                        
 42 #define SM_SUN4M_OBP  0x80                        
 43                                                   
 44 #define SM_TYP_MASK   0x0f                        
 45 /* Sun3 machines */                               
 46 #define SM_3_160      0x01    /* Sun 3/160 ser    
 47 #define SM_3_50       0x02    /* Sun 3/50 seri    
 48 #define SM_3_260      0x03    /* Sun 3/260 ser    
 49 #define SM_3_110      0x04    /* Sun 3/110 ser    
 50 #define SM_3_60       0x07    /* Sun 3/60 seri    
 51 #define SM_3_E        0x08    /* Sun 3/E serie    
 52                                                   
 53 /* Sun3x machines */                              
 54 #define SM_3_460      0x01    /* Sun 3/460 (46    
 55 #define SM_3_80       0x02    /* Sun 3/80 seri    
 56                                                   
 57 /* Sun4 machines */                               
 58 #define SM_4_260      0x01    /* Sun 4/200 ser    
 59 #define SM_4_110      0x02    /* Sun 4/100 ser    
 60 #define SM_4_330      0x03    /* Sun 4/300 ser    
 61 #define SM_4_470      0x04    /* Sun 4/400 ser    
 62                                                   
 63 /* Sun4c machines                Full Name        
 64 #define SM_4C_SS1     0x01    /* Sun4c SparcSt    
 65 #define SM_4C_IPC     0x02    /* Sun4c SparcSt    
 66 #define SM_4C_SS1PLUS 0x03    /* Sun4c SparcSt    
 67 #define SM_4C_SLC     0x04    /* Sun4c SparcSt    
 68 #define SM_4C_SS2     0x05    /* Sun4c SparcSt    
 69 #define SM_4C_ELC     0x06    /* Sun4c SparcSt    
 70 #define SM_4C_IPX     0x07    /* Sun4c SparcSt    
 71                                                   
 72 /* Sun4m machines, these predate the OpenBoot.    
 73  * something if the value in the ARCH field is    
 74  * SM_SUN4M_OBP then you have the following si    
 75  * 1) You either have a sun4d, a sun4e, or a r    
 76  * 2) You have to consult OpenBoot to determin    
 77  */                                               
 78 #define SM_4M_SS60    0x01    /* Sun4m SparcSy    
 79 #define SM_4M_SS50    0x02    /* Sun4m SparcSt    
 80 #define SM_4M_SS40    0x03    /* Sun4m SparcSt    
 81                                                   
 82 /* Sun4d machines -- N/A */                       
 83 /* Sun4e machines -- N/A */                       
 84 /* Sun4u machines -- N/A */                       
 85                                                   
 86 #endif /* !(_SPARC_MACHINES_H) */                 
 87                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php