~ubuntu-branches/ubuntu/karmic/linux-ports/karmic

« back to all changes in this revision

Viewing changes to include/linux/mtd/partitions.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich, Luke Yelavich, Michael Casadevall, Tim Gardner, Upstream Kernel Changes
  • Date: 2009-05-06 18:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20090506181855-t00baeevpnvd9o7a
Tags: 2.6.30-1.1
[ Luke Yelavich ]
* initial release for karmic
* SAUCE: rebase-ports - adjust for the karmic ports kernel
* SAUCE: rebase-ports - also remove abi dirs/files on rebase
* Update configs after rebase against mainline Jaunty tree
* [Config] Disable CONFIG_BLK_DEV_UB and CONFIG_USB_LIBUSUAL as per
  mainline jaunty
* forward-port patch to drbd for powerpc compilation
* [Config] disable CONFIG_LENOVO_SL_LAPTOP for i386 due to FTBFS
* add .o files found in arch/powerpc/lib to all powerpc kernel header
  packages
* [Config] enable CONFIG_DRM_I915_KMS for i386 as per karmic mainline

[ Michael Casadevall ]

* Disable kgdb on sparc64
* [sparc] [Config] Disable GPIO LEDS
* [ia64] Rename -ia64-generic to -ia64 in line with other architectures
* Correct kernel image path for sparc builds
* [hppa] Fix HPPA config files to build modules for all udebian

Rebase on top of karmic mainline 2.6.30-1.1

[ Tim Gardner ]

* [Config] armel: disable staging drivers, fixes FTBS
* [Config] armel imx51: Disable CONFIG_MTD_NAND_MXC, fixes FTBS

[ Upstream Kernel Changes ]

* mpt2sas: Change reset_type enum to avoid namespace collision.
  Submitted upstream.

* Initial release after rebasing against v2.6.30-rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
struct mtd_partition {
38
38
        char *name;                     /* identifier string */
39
 
        u_int32_t size;                 /* partition size */
40
 
        u_int32_t offset;               /* offset within the master MTD space */
41
 
        u_int32_t mask_flags;           /* master MTD flags to mask out for this partition */
 
39
        uint64_t size;                  /* partition size */
 
40
        uint64_t offset;                /* offset within the master MTD space */
 
41
        uint32_t mask_flags;            /* master MTD flags to mask out for this partition */
42
42
        struct nand_ecclayout *ecclayout;       /* out of band layout for this partition (NAND only)*/
43
43
        struct mtd_info **mtdp;         /* pointer to store the MTD object */
44
44
};
76
76
                                      struct device_node *node,
77
77
                                      struct mtd_partition **pparts);
78
78
 
 
79
#ifdef CONFIG_MTD_PARTITIONS
 
80
static inline int mtd_has_partitions(void) { return 1; }
 
81
#else
 
82
static inline int mtd_has_partitions(void) { return 0; }
 
83
#endif
 
84
 
 
85
#ifdef CONFIG_MTD_CMDLINE_PARTS
 
86
static inline int mtd_has_cmdlinepart(void) { return 1; }
 
87
#else
 
88
static inline int mtd_has_cmdlinepart(void) { return 0; }
 
89
#endif
 
90
 
79
91
#endif