diff options
author | ae <ae@FreeBSD.org> | 2012-09-09 11:30:45 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2012-09-09 11:30:45 +0000 |
commit | 6edc2e6fd1d2a1b3481b70e44d2fe6dd11b7fa9c (patch) | |
tree | 57ebc0fa868f6c100eda93ee49067dbc9eaa7e17 | |
parent | 8705cd0c254164c2eed65073d7b2214a0cf4214a (diff) | |
download | FreeBSD-src-6edc2e6fd1d2a1b3481b70e44d2fe6dd11b7fa9c.zip FreeBSD-src-6edc2e6fd1d2a1b3481b70e44d2fe6dd11b7fa9c.tar.gz |
Make struct uboot_devdesc compatible with struct disk_devdesc.
-rw-r--r-- | sys/boot/uboot/lib/libuboot.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/boot/uboot/lib/libuboot.h b/sys/boot/uboot/lib/libuboot.h index 16f4331..1f63bee 100644 --- a/sys/boot/uboot/lib/libuboot.h +++ b/sys/boot/uboot/lib/libuboot.h @@ -35,18 +35,15 @@ struct uboot_devdesc union { struct { void *data; - int pnum; - int ptype; + int slice; + int partition; + off_t offset; } disk; } d_kind; }; #define d_disk d_kind.disk -#define PTYPE_BSDLABEL 1 -#define PTYPE_GPT 2 -#define PTYPE_MBR 3 - /* * Default network packet alignment in memory */ |