Mercurial > illumos > illumos-gate
changeset 3137:2692ee9791eb
6460790 panic in ngdrmach module
author | jesusm |
---|---|
date | Fri, 17 Nov 2006 15:38:56 -0800 |
parents | 320d17a2f934 |
children | 7bbdcbfa4cd5 |
files | usr/src/uts/sun4u/starfire/io/drmach.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/sun4u/starfire/io/drmach.c Fri Nov 17 15:18:00 2006 -0800 +++ b/usr/src/uts/sun4u/starfire/io/drmach.c Fri Nov 17 15:38:56 2006 -0800 @@ -1297,6 +1297,11 @@ /* * Step 3: Update PC MADR tables for CPUs. */ + if (brd->devices == NULL) { + /* devices not initialized */ + continue; + } + rv = drmach_array_first(brd->devices, &d_idx, &d_id); if (rv) { /* must mean no devices on this board */