qeth_dev_state_show(struct device *dev, char *buf) 
qeth_dev_state_show(struct device *dev, struct device_attribute *attr, char *buf) 
qeth_dev_state_show(struct device *dev, char *buf){	struct qeth_card *card = dev->driver_data;	if (!card)		return -EINVAL;	switch (card->state) {	case CARD_STATE_DOWN:		return sprintf(buf, "DOWN\n");	case CARD_STATE_HARDSETUP:		return sprintf(buf, "HARDSETUP\n");	case CARD_STATE_SOFTSETUP:		return sprintf(buf, "SOFTSETUP\n");	case CARD_STATE_UP:		if (card->lan_online)		return sprintf(buf, "UP (LAN ONLINE)\n");		else			return sprintf(buf, "UP (LAN OFFLINE)\n");	case CARD_STATE_RECOVER:		return sprintf(buf, "RECOVER\n");	default:		return sprintf(buf, "UNKNOWN\n");	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/10523b3b82456e416cbaffcc24ea2246980aa746/qeth_sys.c/buggy/drivers/s390/net/qeth_sys.c