sata_via: fix resource-managed iomap conversion
[powerpc.git] / net / tipc / node.h
index 781126e..cd18826 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * net/tipc/node.h: Include file for TIPC node management routines
- * 
+ *
  * Copyright (c) 2000-2006, Ericsson AB
  * Copyright (c) 2005, Wind River Systems
  * All rights reserved.
@@ -51,6 +51,7 @@
  * @nsub: list of "node down" subscriptions monitoring node
  * @active_links: pointers to active links to node
  * @links: pointers to all links to node
+ * @working_links: number of working links to node (both active and standby)
  * @link_cnt: number of links to node
  * @permit_changeover: non-zero if node has redundant links to this system
  * @routers: bitmap (used for multicluster communication)
@@ -66,7 +67,7 @@
  *    @deferred_tail: newest OOS b'cast message received from node
  *    @defragm: list of partially reassembled b'cast message fragments from node
  */
+
 struct node {
        u32 addr;
        spinlock_t lock;
@@ -76,6 +77,7 @@ struct node {
        struct link *active_links[2];
        struct link *links[MAX_BEARERS];
        int link_cnt;
+       int working_links;
        int permit_changeover;
        u32 routers[512/32];
        int last_router;
@@ -83,8 +85,8 @@ struct node {
                int supported;
                u32 acked;
                u32 last_in;
-               u32 gap_after; 
-               u32 gap_to; 
+               u32 gap_after;
+               u32 gap_to;
                u32 nack_sync;
                struct sk_buff *deferred_head;
                struct sk_buff *deferred_tail;