static ssize_t show_hardware(struct device *d, char *buf) 
static ssize_t show_hardware(struct device *d, struct device_attribute *attr, char *buf) 
static ssize_t show_hardware(struct device *d, char *buf){	struct ipw2100_priv *priv = dev_get_drvdata(d);	struct net_device *dev = priv->net_dev;	char * out = buf;	int i;	out += sprintf(out, "%30s [Address ] : Hex\n", "NIC entry");	for (i = 0; i < (sizeof(nic_data) / sizeof(*nic_data)); i++) {		u8 tmp8;		u16 tmp16;		u32 tmp32;		switch (nic_data[i].size) {		case 1:			read_nic_byte(dev, nic_data[i].addr, &tmp8);			out += sprintf(out, "%30s [%08X] : %02X\n",				       nic_data[i].name, nic_data[i].addr,				       tmp8);			break;		case 2:			read_nic_word(dev, nic_data[i].addr, &tmp16);			out += sprintf(out, "%30s [%08X] : %04X\n",				       nic_data[i].name, nic_data[i].addr,				       tmp16);			break;		case 4:			read_nic_dword(dev, nic_data[i].addr, &tmp32);			out += sprintf(out, "%30s [%08X] : %08X\n",				       nic_data[i].name, nic_data[i].addr,				       tmp32);			break;		}	}	return out - buf;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/edfc43f2ec542c17c479d8ec7e4b0cee7b20f578/ipw2100.c/buggy/drivers/net/wireless/ipw2100.c