powerpc/mm: Unify PTE_RPN_SHIFT and _PAGE_CHG_MASK definitions
[linux-2.6] / drivers / staging / benet / descriptors.h
1 /*
2  * Copyright (C) 2005 - 2008 ServerEngines
3  * All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License version 2
7  * as published by the Free Software Foundation.  The full GNU General
8  * Public License is included in this distribution in the file called COPYING.
9  *
10  * Contact Information:
11  * linux-drivers@serverengines.com
12  *
13  * ServerEngines
14  * 209 N. Fair Oaks Ave
15  * Sunnyvale, CA 94085
16  */
17 /*
18  * Autogenerated by srcgen version: 0127
19  */
20 #ifndef __descriptors_amap_h__
21 #define __descriptors_amap_h__
22
23 /*
24  * --- IPC_NODE_ID_ENUM ---
25  * IPC processor id values
26  */
27 #define TPOST_NODE_ID                   (0)     /* TPOST ID */
28 #define TPRE_NODE_ID                    (1)     /* TPRE ID */
29 #define TXULP0_NODE_ID                  (2)     /* TXULP0 ID */
30 #define TXULP1_NODE_ID                  (3)     /* TXULP1 ID */
31 #define TXULP2_NODE_ID                  (4)     /* TXULP2 ID */
32 #define RXULP0_NODE_ID                  (5)     /* RXULP0 ID */
33 #define RXULP1_NODE_ID                  (6)     /* RXULP1 ID */
34 #define RXULP2_NODE_ID                  (7)     /* RXULP2 ID */
35 #define MPU_NODE_ID                     (15)    /* MPU ID */
36
37 /*
38  * --- MAC_ID_ENUM ---
39  * Meaning of the mac_id field in rxpp_eth_d
40  */
41 #define PORT0_HOST_MAC0    (0)  /* PD 0, Port 0, host networking, MAC 0. */
42 #define PORT0_HOST_MAC1    (1)  /* PD 0, Port 0, host networking, MAC 1. */
43 #define PORT0_STORAGE_MAC0 (2)  /* PD 0, Port 0, host storage, MAC 0. */
44 #define PORT0_STORAGE_MAC1 (3)  /* PD 0, Port 0, host storage, MAC 1. */
45 #define PORT1_HOST_MAC0    (4)  /* PD 0, Port 1 host networking, MAC 0. */
46 #define PORT1_HOST_MAC1    (5)  /* PD 0, Port 1 host networking, MAC 1. */
47 #define PORT1_STORAGE_MAC0 (6)  /* PD 0, Port 1 host storage, MAC 0. */
48 #define PORT1_STORAGE_MAC1 (7)  /* PD 0, Port 1 host storage, MAC 1. */
49 #define FIRST_VM_MAC       (8)  /* PD 1 MAC. Protection domains have IDs */
50                                 /* from 0x8-0x26, one per PD. */
51 #define LAST_VM_MAC        (38) /* PD 31 MAC. */
52 #define MGMT_MAC           (39) /* Management port MAC. */
53 #define MARBLE_MAC0        (59) /* Used for flushing function 0 receive */
54                                   /*
55                                    * queues before re-using a torn-down
56                                    * receive ring. the DA =
57                                    * 00-00-00-00-00-00, and the MSB of the
58                                    * SA = 00
59                                    */
60 #define MARBLE_MAC1        (60) /* Used for flushing function 1 receive */
61                                   /*
62                                    * queues before re-using a torn-down
63                                    * receive ring. the DA =
64                                    * 00-00-00-00-00-00, and the MSB of the
65                                    * SA != 00
66                                    */
67 #define NULL_MAC           (61) /* Promiscuous mode, indicates no match */
68 #define MCAST_MAC          (62) /* Multicast match. */
69 #define BCAST_MATCH        (63) /* Broadcast match. */
70
71 #endif /* __descriptors_amap_h__ */