X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Fmcfpit.h;h=f570cf64fd29b0a2e02937d7686ad1c096ed7715;hb=5351fb106a84d6ac584c2501e3b335093d38a58c;hp=0d2672dd518a3336e0d71f5be760fef98bd1ce5f;hpb=34641a58a227e498adf471ab016bd054cc399d7e;p=powerpc.git diff --git a/include/asm-m68knommu/mcfpit.h b/include/asm-m68knommu/mcfpit.h index 0d2672dd51..f570cf64fd 100644 --- a/include/asm-m68knommu/mcfpit.h +++ b/include/asm-m68knommu/mcfpit.h @@ -28,11 +28,9 @@ /* * Define the PIT timer register set addresses. */ -struct mcfpit { - unsigned short pcsr; /* PIT control and status */ - unsigned short pmr; /* PIT modulus register */ - unsigned short pcntr; /* PIT count register */ -} __attribute__((packed)); +#define MCFPIT_PCSR 0x0 /* PIT control register */ +#define MCFPIT_PMR 0x2 /* PIT modulus register */ +#define MCFPIT_PCNTR 0x4 /* PIT count register */ /* * Bit definitions for the PIT Control and Status register.