mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:52:44 +00:00 
			
		
		
		
	Kernel/Storage: Unify all ATA devices
There's basically no real difference in software between a SATA harddisk and IDE harddisk. The difference in the implementation is for the host bus adapter protocol and registers layout. Therefore, there's no point in putting a distinction in software to these devices. This change also greatly simplifies and removes stale APIs and removes unnecessary parameters in constructor calls, which tighten things further everywhere.
This commit is contained in:
		
							parent
							
								
									9f501d7e71
								
							
						
					
					
						commit
						741c871bc1
					
				
					 29 changed files with 352 additions and 276 deletions
				
			
		|  | @ -126,7 +126,7 @@ UNMAP_AFTER_INIT void StorageManagement::determine_boot_device() | |||
|     if (m_boot_argument.starts_with("/dev/"sv)) { | ||||
|         StringView storage_name = m_boot_argument.substring_view(5); | ||||
|         for (auto& storage_device : m_storage_devices) { | ||||
|             if (storage_device.storage_name() == storage_name) { | ||||
|             if (storage_device.early_storage_name() == storage_name) { | ||||
|                 m_boot_block_device = storage_device; | ||||
|             } | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liav A
						Liav A