mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:12:45 +00:00 
			
		
		
		
	Kernel: Remove unused UHCI_ENABLED flag
This commit is contained in:
		
							parent
							
								
									af39d5d146
								
							
						
					
					
						commit
						a6ec6b831b
					
				
					 2 changed files with 0 additions and 5 deletions
				
			
		|  | @ -35,7 +35,6 @@ | |||
| #include <Kernel/VM/AnonymousVMObject.h> | ||||
| #include <Kernel/VM/MemoryManager.h> | ||||
| 
 | ||||
| #define UHCI_ENABLED 1 | ||||
| static constexpr u8 MAXIMUM_NUMBER_OF_TDS = 128; // Upper pool limit. This consumes the second page we have allocated
 | ||||
| static constexpr u8 MAXIMUM_NUMBER_OF_QHS = 64; | ||||
| 
 | ||||
|  | @ -90,9 +89,6 @@ UHCIController& UHCIController::the() | |||
| 
 | ||||
| UNMAP_AFTER_INIT void UHCIController::detect() | ||||
| { | ||||
| #if !UHCI_ENABLED | ||||
|     return; | ||||
| #endif | ||||
|     PCI::enumerate([&](const PCI::Address& address, PCI::ID id) { | ||||
|         if (address.is_null()) | ||||
|             return; | ||||
|  |  | |||
|  | @ -277,7 +277,6 @@ void init_stage2(void*) | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     // FIXME: This should not be i386-specific.
 | ||||
|     USB::UHCIController::detect(); | ||||
| 
 | ||||
|     DMIExpose::initialize(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling