2 * Defines for the IBM TAH
4 * Copyright 2004 MontaVista Software, Inc.
5 * Matt Porter <mporter@kernel.crashing.org>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
13 #ifndef _IBM_EMAC_TAH_H
14 #define _IBM_EMAC_TAH_H
17 typedef struct tah_regs
{
31 #define TAH_MR_CVR 0x80000000
32 #define TAH_MR_SR 0x40000000
33 #define TAH_MR_ST_256 0x01000000
34 #define TAH_MR_ST_512 0x02000000
35 #define TAH_MR_ST_768 0x03000000
36 #define TAH_MR_ST_1024 0x04000000
37 #define TAH_MR_ST_1280 0x05000000
38 #define TAH_MR_ST_1536 0x06000000
39 #define TAH_MR_TFS_16KB 0x00000000
40 #define TAH_MR_TFS_2KB 0x00200000
41 #define TAH_MR_TFS_4KB 0x00400000
42 #define TAH_MR_TFS_6KB 0x00600000
43 #define TAH_MR_TFS_8KB 0x00800000
44 #define TAH_MR_TFS_10KB 0x00a00000
45 #define TAH_MR_DTFP 0x00100000
46 #define TAH_MR_DIG 0x00080000
48 #endif /* _IBM_EMAC_TAH_H */