mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 11:03:14 +00:00 
			
		
		
		
	 1da177e4c3
			
		
	
	
		1da177e4c3
		
	
	
	
	
		
			
			Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
		
			
				
	
	
		
			28 lines
		
	
	
		
			829 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			829 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef SUN3X_H
 | |
| #define SUN3X_H
 | |
| 
 | |
| /* hardware addresses */
 | |
| #define SUN3X_IOMMU       0x60000000
 | |
| #define SUN3X_ENAREG      0x61000000
 | |
| #define SUN3X_INTREG      0x61001400
 | |
| #define SUN3X_DIAGREG     0x61001800
 | |
| #define SUN3X_ZS1         0x62000000
 | |
| #define SUN3X_ZS2         0x62002000
 | |
| #define SUN3X_LANCE       0x65002000
 | |
| #define SUN3X_EEPROM      0x64000000
 | |
| #define SUN3X_IDPROM      0x640007d8
 | |
| #define SUN3X_VIDEO_BASE  0x50000000
 | |
| #define SUN3X_VIDEO_P4ID  0x50300000
 | |
| #define SUN3X_ESP_BASE	  0x66000000
 | |
| #define SUN3X_ESP_DMA	  0x66001000
 | |
| #define SUN3X_FDC         0x6e000000
 | |
| #define SUN3X_FDC_FCR     0x6e000400
 | |
| #define SUN3X_FDC_FVR     0x6e000800
 | |
| 
 | |
| /* some NVRAM addresses */
 | |
| #define SUN3X_EEPROM_CONS	(SUN3X_EEPROM + 0x1f)
 | |
| #define SUN3X_EEPROM_PORTA	(SUN3X_EEPROM + 0x58)
 | |
| #define SUN3X_EEPROM_PORTB	(SUN3X_EEPROM + 0x60)
 | |
| 
 | |
| #endif
 |