u_int16_t word;
void dc_eeprom_width(sc)	struct dc_softc		*sc;{	u_int16_t word;	int i;	/* Force EEPROM to idle state. */	dc_eeprom_idle(sc);	/* Enter EEPROM access mode. */	CSR_WRITE_4(sc, DC_SIO, DC_SIO_EESEL);	dc_delay(sc);	DC_SETBIT(sc, DC_SIO, DC_SIO_ROMCTL_READ);	dc_delay(sc);	DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_CLK);	dc_delay(sc);	DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CS);	dc_delay(sc);	for (i = 3; i--;) {		if (6 & (1 << i))			DC_SETBIT(sc, DC_SIO, DC_SIO_EE_DATAIN);		else			DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_DATAIN);		dc_delay(sc);		DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CLK);		dc_delay(sc);		DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_CLK);		dc_delay(sc);	}	for (i = 1; i <= 12; i++) {		DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CLK);		dc_delay(sc);		if (!(CSR_READ_4(sc, DC_SIO) & DC_SIO_EE_DATAOUT)) {			DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_CLK);			dc_delay(sc);			break;		}		DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_CLK);		dc_delay(sc);	}	/* Turn off EEPROM access mode. */	dc_eeprom_idle(sc);	if (i < 4 || i > 12) {		printf("forcing eeprom width to 12, ");		sc->dc_romwidth = 6;	} else {		printf("eeprom width is %d, ", i);		sc->dc_romwidth = i;	}	/* Enter EEPROM access mode. */	CSR_WRITE_4(sc, DC_SIO, DC_SIO_EESEL);	dc_delay(sc);	DC_SETBIT(sc, DC_SIO, DC_SIO_ROMCTL_READ);	dc_delay(sc);	DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_CLK);	dc_delay(sc);	DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CS);	dc_delay(sc);	printf("\n");	for (i = 0; i < 256; i++) {		if (DC_IS_PNIC(sc))			dc_eeprom_getword_pnic(sc, i, &word);		else			dc_eeprom_getword(sc, i, &word);		printf("%04x%s", word, ((i & 15) == 15)? "\n": " ");	}	/* Turn off EEPROM access mode. */	dc_eeprom_idle(sc);}