From 12509a6d9e2a2a9f6c20ef3c9ffe3394b07bceca Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 27 Apr 2021 11:17:45 +0200 Subject: [PATCH] tape: improve inline docs --- src/tools/sgutils2.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tools/sgutils2.rs b/src/tools/sgutils2.rs index a5393655..7a24404e 100644 --- a/src/tools/sgutils2.rs +++ b/src/tools/sgutils2.rs @@ -223,7 +223,10 @@ pub struct InquiryInfo { #[derive(Endian, Debug, Copy, Clone)] pub struct ModeParameterHeader { pub mode_data_len: u16, - pub medium_type: u8, // Note: medium_type amd density_code are not the same + // Note: medium_type and density_code are not the same. On HP + // drives, medium_type provides very limited information and is + // not compatible with IBM. + pub medium_type: u8, pub flags3: u8, reserved4: [u8;2], pub block_descriptior_len: u16,