diff options
author | Karel Zak | 2013-05-30 11:31:38 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-16 16:46:58 +0200 |
commit | 9fc1f5d809bc10e875661197f6d6aa646dd30c9d (patch) | |
tree | bd3f5e2142c50b0b711a29aa58e4fc4b26d67cfc /include | |
parent | fdisk: (sgi) remove global freelist (diff) | |
download | kernel-qcow2-util-linux-9fc1f5d809bc10e875661197f6d6aa646dd30c9d.tar.gz kernel-qcow2-util-linux-9fc1f5d809bc10e875661197f6d6aa646dd30c9d.tar.xz kernel-qcow2-util-linux-9fc1f5d809bc10e875661197f6d6aa646dd30c9d.zip |
fdisk: (sgi) cleanup devparams flags
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/pt-sgi.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/pt-sgi.h b/include/pt-sgi.h index ff482babd..36b1a67fb 100644 --- a/include/pt-sgi.h +++ b/include/pt-sgi.h @@ -43,7 +43,7 @@ struct sgi_device_parameter { uint16_t nsect; /* sectors/tracks in cyl 0 or vol 0 */ uint16_t bytes; uint16_t ilfact; - uint32_t flags; /* controller flags */ + uint32_t flags; /* SGI_DEVPARAM_* controller flags */ uint32_t datarate; uint32_t retries_on_error; uint32_t ms_per_word; @@ -55,6 +55,17 @@ struct sgi_device_parameter { uint16_t xylogics_writecont; } __attribute__((packed)); +enum { + SGI_DEVPARAM_SECTOR_SLIP = 0x01, + SGI_DEVPARAM_SECTOR_FWD = 0x02, + SGI_DEVPARAM_TRACK_FWD = 0x04, + SGI_DEVPARAM_TRACK_MULTIVOL = 0x08, + SGI_DEVPARAM_IGNORE_ERRORS = 0x10, + SGI_DEVPARAM_RESEEK = 0x20, + SGI_DEVPARAM_CMDTAGQ_ENABLE = 0x40 +}; + + struct sgi_disklabel { uint32_t magic; /* magic number */ uint16_t root_part_num; /* # root partition */ |