Commit 9d57a61a authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] more net illegal/invalid typo fixes

(Steven Cole)
parent 8866d756
...@@ -721,21 +721,21 @@ void dump_hex() ; ...@@ -721,21 +721,21 @@ void dump_hex() ;
#endif #endif
#define SMT_E0100 SMT_EBASE + 0 #define SMT_E0100 SMT_EBASE + 0
#define SMT_E0100_MSG "cfm FSM: illegal ce_type" #define SMT_E0100_MSG "cfm FSM: invalid ce_type"
#define SMT_E0101 SMT_EBASE + 1 #define SMT_E0101 SMT_EBASE + 1
#define SMT_E0101_MSG "CEM: case ???" #define SMT_E0101_MSG "CEM: case ???"
#define SMT_E0102 SMT_EBASE + 2 #define SMT_E0102 SMT_EBASE + 2
#define SMT_E0102_MSG "CEM A: illegal state" #define SMT_E0102_MSG "CEM A: invalid state"
#define SMT_E0103 SMT_EBASE + 3 #define SMT_E0103 SMT_EBASE + 3
#define SMT_E0103_MSG "CEM B: illegal state" #define SMT_E0103_MSG "CEM B: invalid state"
#define SMT_E0104 SMT_EBASE + 4 #define SMT_E0104 SMT_EBASE + 4
#define SMT_E0104_MSG "CEM M: illegal state" #define SMT_E0104_MSG "CEM M: invalid state"
#define SMT_E0105 SMT_EBASE + 5 #define SMT_E0105 SMT_EBASE + 5
#define SMT_E0105_MSG "CEM S: illegal state" #define SMT_E0105_MSG "CEM S: invalid state"
#define SMT_E0106 SMT_EBASE + 6 #define SMT_E0106 SMT_EBASE + 6
#define SMT_E0106_MSG "CFM : illegal state" #define SMT_E0106_MSG "CFM : invalid state"
#define SMT_E0107 SMT_EBASE + 7 #define SMT_E0107 SMT_EBASE + 7
#define SMT_E0107_MSG "ECM : illegal state" #define SMT_E0107_MSG "ECM : invalid state"
#define SMT_E0108 SMT_EBASE + 8 #define SMT_E0108 SMT_EBASE + 8
#define SMT_E0108_MSG "prop_actions : NAC in DAS CFM" #define SMT_E0108_MSG "prop_actions : NAC in DAS CFM"
#define SMT_E0109 SMT_EBASE + 9 #define SMT_E0109 SMT_EBASE + 9
...@@ -757,21 +757,21 @@ void dump_hex() ; ...@@ -757,21 +757,21 @@ void dump_hex() ;
#define SMT_E0117 SMT_EBASE + 17 #define SMT_E0117 SMT_EBASE + 17
#define SMT_E0117_MSG "E_SMT_001: RxD count for receive queue 1 = 0" #define SMT_E0117_MSG "E_SMT_001: RxD count for receive queue 1 = 0"
#define SMT_E0118 SMT_EBASE + 18 #define SMT_E0118 SMT_EBASE + 18
#define SMT_E0118_MSG "PCM : illegal state" #define SMT_E0118_MSG "PCM : invalid state"
#define SMT_E0119 SMT_EBASE + 19 #define SMT_E0119 SMT_EBASE + 19
#define SMT_E0119_MSG "smt_add_para" #define SMT_E0119_MSG "smt_add_para"
#define SMT_E0120 SMT_EBASE + 20 #define SMT_E0120 SMT_EBASE + 20
#define SMT_E0120_MSG "smt_set_para" #define SMT_E0120_MSG "smt_set_para"
#define SMT_E0121 SMT_EBASE + 21 #define SMT_E0121 SMT_EBASE + 21
#define SMT_E0121_MSG "illegal event in dispatcher" #define SMT_E0121_MSG "invalid event in dispatcher"
#define SMT_E0122 SMT_EBASE + 22 #define SMT_E0122 SMT_EBASE + 22
#define SMT_E0122_MSG "RMT : illegal state" #define SMT_E0122_MSG "RMT : invalid state"
#define SMT_E0123 SMT_EBASE + 23 #define SMT_E0123 SMT_EBASE + 23
#define SMT_E0123_MSG "SBA: state machine has illegal state" #define SMT_E0123_MSG "SBA: state machine has invalid state"
#define SMT_E0124 SMT_EBASE + 24 #define SMT_E0124 SMT_EBASE + 24
#define SMT_E0124_MSG "sba_free_session() called with NULL pointer" #define SMT_E0124_MSG "sba_free_session() called with NULL pointer"
#define SMT_E0125 SMT_EBASE + 25 #define SMT_E0125 SMT_EBASE + 25
#define SMT_E0125_MSG "SBA : illegal session pointer" #define SMT_E0125_MSG "SBA : invalid session pointer"
#define SMT_E0126 SMT_EBASE + 26 #define SMT_E0126 SMT_EBASE + 26
#define SMT_E0126_MSG "smt_free_mbuf() called with NULL pointer\n" #define SMT_E0126_MSG "smt_free_mbuf() called with NULL pointer\n"
#define SMT_E0127 SMT_EBASE + 27 #define SMT_E0127 SMT_EBASE + 27
......
...@@ -817,7 +817,7 @@ int fs ; /* frame status */ ...@@ -817,7 +817,7 @@ int fs ; /* frame status */
#endif #endif
} }
if (illegal) { if (illegal) {
DB_SMT("SMT: discarding illegal frame, reason = %d\n", DB_SMT("SMT: discarding invalid frame, reason = %d\n",
illegal,0) ; illegal,0) ;
} }
smt_free_mbuf(smc,mb) ; smt_free_mbuf(smc,mb) ;
......
...@@ -1123,7 +1123,7 @@ static irqreturn_t xl_interrupt(int irq, void *dev_id, struct pt_regs *regs) ...@@ -1123,7 +1123,7 @@ static irqreturn_t xl_interrupt(int irq, void *dev_id, struct pt_regs *regs)
if (macstatus & (1<<3)) if (macstatus & (1<<3))
printk(KERN_WARNING "eint error: Internal watchdog timer expired \n") ; printk(KERN_WARNING "eint error: Internal watchdog timer expired \n") ;
if (macstatus & (1<<2)) if (macstatus & (1<<2))
printk(KERN_WARNING "aint error: Host tried to perform illegal operation \n") ; printk(KERN_WARNING "aint error: Host tried to perform invalid operation \n") ;
printk(KERN_WARNING "Instatus = %02x, macstatus = %02x\n",intstatus,macstatus) ; printk(KERN_WARNING "Instatus = %02x, macstatus = %02x\n",intstatus,macstatus) ;
printk(KERN_WARNING "%s: Resetting hardware: \n", dev->name); printk(KERN_WARNING "%s: Resetting hardware: \n", dev->name);
netif_stop_queue(dev) ; netif_stop_queue(dev) ;
......
...@@ -142,7 +142,7 @@ int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len) ...@@ -142,7 +142,7 @@ int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len)
/* Verify IRQ configuration options */ /* Verify IRQ configuration options */
if (!get_option_index(cycx_2x_irq_options, hw->irq)) { if (!get_option_index(cycx_2x_irq_options, hw->irq)) {
printk(KERN_ERR "%s: IRQ %d is illegal!\n", modname, hw->irq); printk(KERN_ERR "%s: IRQ %d is invalid!\n", modname, hw->irq);
return -EINVAL; return -EINVAL;
} }
...@@ -152,7 +152,7 @@ int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len) ...@@ -152,7 +152,7 @@ int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len)
modname); modname);
return -EINVAL; return -EINVAL;
} else if (!get_option_index(cyc2x_dpmbase_options, hw->dpmbase)) { } else if (!get_option_index(cyc2x_dpmbase_options, hw->dpmbase)) {
printk(KERN_ERR "%s: memory address 0x%lX is illegal!\n", printk(KERN_ERR "%s: memory address 0x%lX is invalid!\n",
modname, dpmbase); modname, dpmbase);
return -EINVAL; return -EINVAL;
} }
......
...@@ -428,7 +428,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len) ...@@ -428,7 +428,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
/* Verify IRQ configuration options */ /* Verify IRQ configuration options */
if (!get_option_index(irq_opt, hw->irq)) { if (!get_option_index(irq_opt, hw->irq)) {
printk(KERN_INFO "%s: IRQ %d is illegal!\n", printk(KERN_INFO "%s: IRQ %d is invalid!\n",
modname, hw->irq); modname, hw->irq);
return -EINVAL; return -EINVAL;
} }
...@@ -438,7 +438,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len) ...@@ -438,7 +438,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
hw->pclk = pclk_opt[1]; /* use default */ hw->pclk = pclk_opt[1]; /* use default */
else if (!get_option_index(pclk_opt, hw->pclk)) { else if (!get_option_index(pclk_opt, hw->pclk)) {
printk(KERN_INFO "%s: CPU clock %u is illegal!\n", printk(KERN_INFO "%s: CPU clock %u is invalid!\n",
modname, hw->pclk); modname, hw->pclk);
return -EINVAL; return -EINVAL;
} }
...@@ -458,7 +458,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len) ...@@ -458,7 +458,7 @@ int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len)
else if (!get_option_index(dpmbase_opt, else if (!get_option_index(dpmbase_opt,
virt_to_phys(hw->dpmbase))) { virt_to_phys(hw->dpmbase))) {
printk(KERN_INFO printk(KERN_INFO
"%s: memory address 0x%lX is illegal!\n", "%s: memory address 0x%lX is invalid!\n",
modname, virt_to_phys(hw->dpmbase)); modname, virt_to_phys(hw->dpmbase));
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment