ms02nv_diagp = (ms02nv_uint *)(KSEG1ADDR(addr + MS02NV_DIAG)); ms02nv_magicp = (ms02nv_uint *)(KSEG1ADDR(addr + MS02NV_MAGIC)); 
ms02nv_diagp = (ms02nv_uint *)(CKSEG1ADDR(addr + MS02NV_DIAG)); ms02nv_magicp = (ms02nv_uint *)(CKSEG1ADDR(addr + MS02NV_MAGIC)); 
static inline uint ms02nv_probe_one(ulong addr){	ms02nv_uint *ms02nv_diagp;	ms02nv_uint *ms02nv_magicp;	uint ms02nv_diag;	uint ms02nv_magic;	size_t size;	int err;	/*	 * The firmware writes MS02NV_ID at MS02NV_MAGIC and also	 * a diagnostic status at MS02NV_DIAG.	 */	ms02nv_diagp = (ms02nv_uint *)(KSEG1ADDR(addr + MS02NV_DIAG));	ms02nv_magicp = (ms02nv_uint *)(KSEG1ADDR(addr + MS02NV_MAGIC));	err = get_dbe(ms02nv_magic, ms02nv_magicp);	if (err)		return 0;	if (ms02nv_magic != MS02NV_ID)		return 0;	ms02nv_diag = *ms02nv_diagp;	size = (ms02nv_diag & MS02NV_DIAG_SIZE_MASK) << MS02NV_DIAG_SIZE_SHIFT;	if (size > MS02NV_CSR)		size = MS02NV_CSR;	return size;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/af2c80e926ad5335d00a8d507928aff4e8ff1877/ms02-nv.c/clean/drivers/mtd/devices/ms02-nv.c