/* Read SCSI H/A configuration parameters from serial EEPROM  */
static int se2_rd_all(struct orc_host *host)
/* Read SCSI H/A configuration parameters from serial EEPROM  */
static int se2_rd_all(struct orc_host *host)
{
	int i;
	u8 *np, chksum = 0;
	np = (u8 *) nvramp;
	for (i = 0; i < 64; i++, np++) {
		if (orc_nv_read(host, (u8) i, np) == 0)
			return -1;
	}
	np = (u8 *) nvramp;
	for (i = 0; i < 63; i++)
		chksum += *np++;
	if (nvramp->CheckSum != (u8) chksum)
		return -1;
	return 1;
}