qeth_dev_prioqing_store(struct device *dev, const char *buf, size_t count) 
qeth_dev_prioqing_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) 
qeth_dev_prioqing_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;	/* check if 1920 devices are supported ,	 * if though we have to permit priority queueing	 */	if (card->qdio.no_out_queues == 1) {		PRINT_WARN("Priority queueing disabled due "			   "to hardware limitations!\n");		card->qdio.do_prio_queueing = QETH_PRIOQ_DEFAULT;		return -EPERM;	}	tmp = strsep((char **) &buf, "\n");	if (!strcmp(tmp, "prio_queueing_prec"))		card->qdio.do_prio_queueing = QETH_PRIO_Q_ING_PREC;	else if (!strcmp(tmp, "prio_queueing_tos"))		card->qdio.do_prio_queueing = QETH_PRIO_Q_ING_TOS;	else if (!strcmp(tmp, "no_prio_queueing:0")) {		card->qdio.do_prio_queueing = QETH_NO_PRIO_QUEUEING;		card->qdio.default_out_queue = 0;	} else if (!strcmp(tmp, "no_prio_queueing:1")) {		card->qdio.do_prio_queueing = QETH_NO_PRIO_QUEUEING;		card->qdio.default_out_queue = 1;	} else if (!strcmp(tmp, "no_prio_queueing:2")) {		card->qdio.do_prio_queueing = QETH_NO_PRIO_QUEUEING;		card->qdio.default_out_queue = 2;	} else if (!strcmp(tmp, "no_prio_queueing:3")) {		card->qdio.do_prio_queueing = QETH_NO_PRIO_QUEUEING;		card->qdio.default_out_queue = 3;	} else if (!strcmp(tmp, "no_prio_queueing")) {		card->qdio.do_prio_queueing = QETH_NO_PRIO_QUEUEING;		card->qdio.default_out_queue = QETH_DEFAULT_QUEUE;	} else {		PRINT_WARN("Unknown queueing type '%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