Subject: Re: Problems with PCI Mylex RAID on AlphaServer 4100
To: Jeff Workman <jworkman@pimpworks.org>
From: Andrew Doran <ad@netbsd.org>
List: port-alpha
Date: 06/06/2001 11:42:41
Can you try this patch?
Andrew
Index: sys/dev/ic/mlx.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/ic/mlx.c,v
retrieving revision 1.9
diff -u -r1.9 sys/dev/ic/mlx.c
--- sys/dev/ic/mlx.c 2001/05/15 12:49:37 1.9
+++ sys/dev/ic/mlx.c 2001/06/06 09:42:35
@@ -544,7 +544,7 @@
NULL, waitok);
if (me == NULL) {
printf("%s: ENQUIRY failed\n", mlx->mlx_dv.dv_xname);
- return;
+ /* return; */
}
mes = mlx_enquire(mlx, MLX_CMD_ENQSYSDRIVE,
@@ -565,7 +565,7 @@
size = le32toh(mes[i].sd_size);
ms->ms_state = mes[i].sd_state;
- if (i >= me->me_num_sys_drvs)
+ if (me != NULL && i >= me->me_num_sys_drvs)
continue;
/*