|
@@ -70,8 +70,7 @@ static void nes_process_mac_intr(struct nes_device *nesdev, u32 mac_number);
|
|
static unsigned int nes_reset_adapter_ne020(struct nes_device *nesdev, u8 *OneG_Mode);
|
|
static unsigned int nes_reset_adapter_ne020(struct nes_device *nesdev, u8 *OneG_Mode);
|
|
static void nes_terminate_start_timer(struct nes_qp *nesqp);
|
|
static void nes_terminate_start_timer(struct nes_qp *nesqp);
|
|
|
|
|
|
-#ifdef CONFIG_INFINIBAND_NES_DEBUG
|
|
|
|
-static unsigned char *nes_iwarp_state_str[] = {
|
|
|
|
|
|
+static const char *const nes_iwarp_state_str[] = {
|
|
"Non-Existent",
|
|
"Non-Existent",
|
|
"Idle",
|
|
"Idle",
|
|
"RTS",
|
|
"RTS",
|
|
@@ -82,7 +81,7 @@ static unsigned char *nes_iwarp_state_str[] = {
|
|
"RSVD2",
|
|
"RSVD2",
|
|
};
|
|
};
|
|
|
|
|
|
-static unsigned char *nes_tcp_state_str[] = {
|
|
|
|
|
|
+static const char *const nes_tcp_state_str[] = {
|
|
"Non-Existent",
|
|
"Non-Existent",
|
|
"Closed",
|
|
"Closed",
|
|
"Listen",
|
|
"Listen",
|
|
@@ -100,7 +99,6 @@ static unsigned char *nes_tcp_state_str[] = {
|
|
"RSVD3",
|
|
"RSVD3",
|
|
"RSVD4",
|
|
"RSVD4",
|
|
};
|
|
};
|
|
-#endif
|
|
|
|
|
|
|
|
static inline void print_ip(struct nes_cm_node *cm_node)
|
|
static inline void print_ip(struct nes_cm_node *cm_node)
|
|
{
|
|
{
|