X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Fmcfpit.h;h=a685f1b45401df269c8b3a4f7e0fe9531ec26f32;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=f570cf64fd29b0a2e02937d7686ad1c096ed7715;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-m68knommu/mcfpit.h b/include/asm-m68knommu/mcfpit.h index f570cf64f..a685f1b45 100644 --- a/include/asm-m68knommu/mcfpit.h +++ b/include/asm-m68knommu/mcfpit.h @@ -11,6 +11,7 @@ #define mcfpit_h /****************************************************************************/ +#include /* * Get address specific defines for the 5270/5271, 5280/5282, and 5208. @@ -28,9 +29,11 @@ /* * Define the PIT timer register set addresses. */ -#define MCFPIT_PCSR 0x0 /* PIT control register */ -#define MCFPIT_PMR 0x2 /* PIT modulus register */ -#define MCFPIT_PCNTR 0x4 /* PIT count register */ +struct mcfpit { + unsigned short pcsr; /* PIT control and status */ + unsigned short pmr; /* PIT modulus register */ + unsigned short pcntr; /* PIT count register */ +} __attribute__((packed)); /* * Bit definitions for the PIT Control and Status register.