]> err.no Git - util-linux/commitdiff
blkid: fix highpoint37x offset
authorKarel Zak <kzak@redhat.com>
Wed, 3 Dec 2008 14:11:10 +0000 (15:11 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Feb 2009 22:21:48 +0000 (23:21 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libs/blkid/src/probers/highpoint_raid.c

index 3ced45ae2ac09f28103e9a2a302ed16217b947a2..c7c92db441cafe2e83f03c72934a3c218ba41837 100644 (file)
@@ -19,10 +19,6 @@ struct hpt45x_metadata {
        uint32_t        magic;
 };
 
-#define HPT37X_CONFIG_OFF              0x1200
-#define HPT37X_MAGIC_OK                        0x5a7816f0
-#define HPT37X_MAGIC_BAD               0x5a7816fd
-
 #define HPT45X_MAGIC_OK                        0x5a7816f3
 #define HPT45X_MAGIC_BAD               0x5a7816fd
 
@@ -59,8 +55,8 @@ const struct blkid_idinfo highpoint37x_idinfo = {
        .name           = "highpoint_raid_member",
        .usage          = BLKID_USAGE_RAID,
        .magics         = {
-               { .magic = "\xf0\x16\x78\x5a", .len = 4, .sboff = 32 },
-               { .magic = "\xfd\x16\x78\x5a", .len = 4, .sboff = 32 },
+               { .magic = "\xf0\x16\x78\x5a", .len = 4, .kboff = 4 },
+               { .magic = "\xfd\x16\x78\x5a", .len = 4, .kboff = 4 },
                { NULL }
        }
 };