1 /*
2 * fs/partitions/acorn.h
3 *
4 * Copyright (C) 1996-1998 Russell King
5 */
6 #include <linux/adfs_fs.h>
7
8 /*
9 * Partition types. (Oh for reusability)
10 */
11 #define PARTITION_RISCIX_MFM 1
12 #define PARTITION_RISCIX_SCSI 2
13 #define PARTITION_LINUX 9
14
15 struct riscix_part {
16 __u32 start;
17 __u32 length;
18 __u32 one;
19 char name[16];
20 };
21
22 struct riscix_record {
23 __u32 magic;
24 #define RISCIX_MAGIC (0x4a657320)
25 __u32 date;
26 struct riscix_part part[8];
27 };
28
29 #define LINUX_NATIVE_MAGIC 0xdeafa1de
30 #define LINUX_SWAP_MAGIC 0xdeafab1e
31
32 struct linux_part {
33 __u32 magic;
34 __u32 start_sect;
35 __u32 nr_sects;
36 };
37
38 struct ics_part {
39 __u32 start;
40 __s32 size;
41 };
42
43 struct ptec_partition {
44 __u32 unused1;
45 __u32 unused2;
46 __u32 start;
47 __u32 size;
48 __u32 unused5;
49 char type[8];
50 };
51
52
53 int acorn_partition(struct gendisk *hd, struct block_device *bdev,
54 unsigned long first_sect, int first_minor);
55
Cache object: f2009cf4fd13fbda0328bb98edc49d74
|