linux-old/fs/partitions/acorn.h
<<
>>
Prefs
   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
  15struct riscix_part {
  16        __u32  start;
  17        __u32  length;
  18        __u32  one;
  19        char name[16];
  20};
  21
  22struct 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
  32struct linux_part {
  33        __u32 magic;
  34        __u32 start_sect;
  35        __u32 nr_sects;
  36};
  37
  38struct ics_part {
  39        __u32 start;
  40        __s32 size;
  41};
  42
  43struct ptec_partition {
  44        __u32 unused1;
  45        __u32 unused2;
  46        __u32 start;
  47        __u32 size;
  48        __u32 unused5;
  49        char type[8];
  50};
  51        
  52
  53int acorn_partition(struct gendisk *hd, struct block_device *bdev,
  54                   unsigned long first_sect, int first_minor);
  55
  56
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.