if((address->type) & SMSCSIO_TYPE_FLAT) { if(!smsc_superio_flat(fdc_chips_flat,cfg_base, type)) found++; } if((address->type) & SMSCSIO_TYPE_PAGED) { if(!smsc_superio_paged(fdc_chips_paged,cfg_base, type)) found++; }
if (address->type & SMSCSIO_TYPE_FLAT) if (!smsc_superio_flat(fdc_chips_flat, cfg_base, type)) found++;  if (address->type & SMSCSIO_TYPE_PAGED) if (!smsc_superio_paged(fdc_chips_paged, cfg_base, type)) found++;
static int __init smsc_ircc_look_for_chips(void){	smsc_chip_address_t *address;	char	*type;	unsigned int cfg_base, found;	found = 0;	address = possible_addresses;	while(address->cfg_base){		cfg_base = address->cfg_base;		/*printk(KERN_WARNING "%s(): probing: 0x%02x for: 0x%02x\n", __FUNCTION__, cfg_base, address->type);*/		if( address->type & SMSCSIO_TYPE_FDC){			type = "FDC";			if((address->type) & SMSCSIO_TYPE_FLAT) {				if(!smsc_superio_flat(fdc_chips_flat,cfg_base, type)) found++;			}			if((address->type) & SMSCSIO_TYPE_PAGED) {				if(!smsc_superio_paged(fdc_chips_paged,cfg_base, type)) found++;			}		}		if( address->type & SMSCSIO_TYPE_LPC){			type = "LPC";			if((address->type) & SMSCSIO_TYPE_FLAT) {				if(!smsc_superio_flat(lpc_chips_flat,cfg_base,type)) found++;			}			if((address->type) & SMSCSIO_TYPE_PAGED) {				if(!smsc_superio_paged(lpc_chips_paged,cfg_base,"LPC")) found++;			}		}		address++;	}	return found;}