qeth_dev_broadcast_mode_store(struct device *dev, const char *buf, size_t count) 
qeth_dev_broadcast_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) 
qeth_dev_broadcast_mode_store(struct device *dev, const char *buf, size_t count){	struct qeth_card *card = dev->driver_data;	char *tmp;	if (!card)		return -EINVAL;	if ((card->state != CARD_STATE_DOWN) &&	    (card->state != CARD_STATE_RECOVER))		return -EPERM;	if (!((card->info.link_type == QETH_LINK_TYPE_HSTR) ||	      (card->info.link_type == QETH_LINK_TYPE_LANE_TR))){		PRINT_WARN("Device is not a tokenring device!\n");		return -EINVAL;	}	tmp = strsep((char **) &buf, "\n");	if (!strcmp(tmp, "local")){		card->options.broadcast_mode = QETH_TR_BROADCAST_LOCAL;		return count;	} else if (!strcmp(tmp, "all_rings")) {		card->options.broadcast_mode = QETH_TR_BROADCAST_ALLRINGS;		return count;	} else {		PRINT_WARN("broadcast_mode: invalid mode %s!\n",			   tmp);		return -EINVAL;	}	return count;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/10523b3b82456e416cbaffcc24ea2246980aa746/qeth_sys.c/buggy/drivers/s390/net/qeth_sys.c