Beautify diagnostic messages.
[linux-2.6/linux-mips.git] / fs / partitions / acorn.h
blob748c7c83f78c6d0a8a7107c50824ef7014207a91
1 /*
2 * fs/partitions/acorn.h
4 * Copyright (C) 1996-1998 Russell King
5 */
6 #include <linux/adfs_fs.h>
8 /*
9 * Partition types. (Oh for reusability)
11 #define PARTITION_RISCIX_MFM 1
12 #define PARTITION_RISCIX_SCSI 2
13 #define PARTITION_LINUX 9
15 struct riscix_part {
16 unsigned long start;
17 unsigned long length;
18 unsigned long one;
19 char name[16];
22 struct riscix_record {
23 unsigned long magic;
24 #define RISCIX_MAGIC (0x4a657320)
25 unsigned long date;
26 struct riscix_part part[8];
29 int
30 acorn_partition(struct gendisk *hd, kdev_t dev,
31 unsigned long first_sector, int first_part_minor);