diff options
Diffstat (limited to 'drivers/net/tokenring/smctr.c')
-rw-r--r-- | drivers/net/tokenring/smctr.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c index a8a5b4c4bd4d..9d7db2c8d661 100644 --- a/drivers/net/tokenring/smctr.c +++ b/drivers/net/tokenring/smctr.c | |||
@@ -4393,52 +4393,42 @@ static int smctr_ring_status_chg(struct net_device *dev) | |||
4393 | { | 4393 | { |
4394 | case RING_RECOVERY: | 4394 | case RING_RECOVERY: |
4395 | printk(KERN_INFO "%s: Ring Recovery\n", dev->name); | 4395 | printk(KERN_INFO "%s: Ring Recovery\n", dev->name); |
4396 | tp->current_ring_status |= RING_RECOVERY; | ||
4397 | break; | 4396 | break; |
4398 | 4397 | ||
4399 | case SINGLE_STATION: | 4398 | case SINGLE_STATION: |
4400 | printk(KERN_INFO "%s: Single Statinon\n", dev->name); | 4399 | printk(KERN_INFO "%s: Single Statinon\n", dev->name); |
4401 | tp->current_ring_status |= SINGLE_STATION; | ||
4402 | break; | 4400 | break; |
4403 | 4401 | ||
4404 | case COUNTER_OVERFLOW: | 4402 | case COUNTER_OVERFLOW: |
4405 | printk(KERN_INFO "%s: Counter Overflow\n", dev->name); | 4403 | printk(KERN_INFO "%s: Counter Overflow\n", dev->name); |
4406 | tp->current_ring_status |= COUNTER_OVERFLOW; | ||
4407 | break; | 4404 | break; |
4408 | 4405 | ||
4409 | case REMOVE_RECEIVED: | 4406 | case REMOVE_RECEIVED: |
4410 | printk(KERN_INFO "%s: Remove Received\n", dev->name); | 4407 | printk(KERN_INFO "%s: Remove Received\n", dev->name); |
4411 | tp->current_ring_status |= REMOVE_RECEIVED; | ||
4412 | break; | 4408 | break; |
4413 | 4409 | ||
4414 | case AUTO_REMOVAL_ERROR: | 4410 | case AUTO_REMOVAL_ERROR: |
4415 | printk(KERN_INFO "%s: Auto Remove Error\n", dev->name); | 4411 | printk(KERN_INFO "%s: Auto Remove Error\n", dev->name); |
4416 | tp->current_ring_status |= AUTO_REMOVAL_ERROR; | ||
4417 | break; | 4412 | break; |
4418 | 4413 | ||
4419 | case LOBE_WIRE_FAULT: | 4414 | case LOBE_WIRE_FAULT: |
4420 | printk(KERN_INFO "%s: Lobe Wire Fault\n", dev->name); | 4415 | printk(KERN_INFO "%s: Lobe Wire Fault\n", dev->name); |
4421 | tp->current_ring_status |= LOBE_WIRE_FAULT; | ||
4422 | break; | 4416 | break; |
4423 | 4417 | ||
4424 | case TRANSMIT_BEACON: | 4418 | case TRANSMIT_BEACON: |
4425 | printk(KERN_INFO "%s: Transmit Beacon\n", dev->name); | 4419 | printk(KERN_INFO "%s: Transmit Beacon\n", dev->name); |
4426 | tp->current_ring_status |= TRANSMIT_BEACON; | ||
4427 | break; | 4420 | break; |
4428 | 4421 | ||
4429 | case SOFT_ERROR: | 4422 | case SOFT_ERROR: |
4430 | printk(KERN_INFO "%s: Soft Error\n", dev->name); | 4423 | printk(KERN_INFO "%s: Soft Error\n", dev->name); |
4431 | tp->current_ring_status |= SOFT_ERROR; | ||
4432 | break; | 4424 | break; |
4433 | 4425 | ||
4434 | case HARD_ERROR: | 4426 | case HARD_ERROR: |
4435 | printk(KERN_INFO "%s: Hard Error\n", dev->name); | 4427 | printk(KERN_INFO "%s: Hard Error\n", dev->name); |
4436 | tp->current_ring_status |= HARD_ERROR; | ||
4437 | break; | 4428 | break; |
4438 | 4429 | ||
4439 | case SIGNAL_LOSS: | 4430 | case SIGNAL_LOSS: |
4440 | printk(KERN_INFO "%s: Signal Loss\n", dev->name); | 4431 | printk(KERN_INFO "%s: Signal Loss\n", dev->name); |
4441 | tp->current_ring_status |= SIGNAL_LOSS; | ||
4442 | break; | 4432 | break; |
4443 | 4433 | ||
4444 | default: | 4434 | default: |