diff --git a/ATA/ATA.cs b/ATA/Identify.cs
similarity index 99%
rename from ATA/ATA.cs
rename to ATA/Identify.cs
index 962c8fc52..88db5b993 100644
--- a/ATA/ATA.cs
+++ b/ATA/Identify.cs
@@ -40,7 +40,7 @@ using System.Runtime.InteropServices;
using System.Text;
using DiscImageChef.Console;
-namespace DiscImageChef.Decoders
+namespace DiscImageChef.Decoders.ATA
{
///
/// Information from following standards:
@@ -56,7 +56,7 @@ namespace DiscImageChef.Decoders
/// T13-2161D rev. 5 (ACS-3)
/// CF+ & CF Specification rev. 1.4 (CFA)
///
- public static class ATA
+ public static class Identify
{
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi, Pack=2)]
public struct IdentifyDevice
@@ -1851,7 +1851,7 @@ namespace DiscImageChef.Decoders
Clear = 0x0001,
}
- public static IdentifyDevice? DecodeIdentifyDevice(byte[] IdentifyDeviceResponse)
+ public static IdentifyDevice? Decode(byte[] IdentifyDeviceResponse)
{
if (IdentifyDeviceResponse == null)
return null;
@@ -1880,16 +1880,16 @@ namespace DiscImageChef.Decoders
return ATAID;
}
- public static string PrettifyIdentifyDevice(byte[] IdentifyDeviceResponse)
+ public static string Prettify(byte[] IdentifyDeviceResponse)
{
if (IdentifyDeviceResponse.Length != 512)
return null;
- IdentifyDevice? decoded = DecodeIdentifyDevice(IdentifyDeviceResponse);
- return PrettifyIdentifyDevice(decoded);
+ IdentifyDevice? decoded = Decode(IdentifyDeviceResponse);
+ return Prettify(decoded);
}
- public static string PrettifyIdentifyDevice(IdentifyDevice? IdentifyDeviceResponse)
+ public static string Prettify(IdentifyDevice? IdentifyDeviceResponse)
{
if (IdentifyDeviceResponse == null)
return null;
diff --git a/ChangeLog b/ChangeLog
index d0083c4a6..27f97e09b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-10-19 Natalia Portillo
+
+ * ATA/ATA.cs:
+ * ATA/Identify.cs:
+ * DiscImageChef.Decoders.csproj:
+ Rename fields, methods and structs to more adequate names.
+
2015-10-19 Natalia Portillo
* ATA/ATA.cs:
diff --git a/DiscImageChef.Decoders.csproj b/DiscImageChef.Decoders.csproj
index f1fa6e269..35bc74032 100644
--- a/DiscImageChef.Decoders.csproj
+++ b/DiscImageChef.Decoders.csproj
@@ -35,7 +35,6 @@
-
@@ -78,6 +77,7 @@
+