Lines 289-300
jedec_dimm_attach(device_t dev)
Link Here
|
289 |
if (rc != 0) { |
289 |
if (rc != 0) { |
290 |
device_printf(dev, |
290 |
device_printf(dev, |
291 |
"failed to read TSOD Manufacturer ID\n"); |
291 |
"failed to read TSOD Manufacturer ID\n"); |
292 |
goto out; |
292 |
rc = 0; |
|
|
293 |
goto notsod; |
293 |
} |
294 |
} |
294 |
rc = jedec_dimm_readw_be(sc, TSOD_REG_DEV_REV, &devid); |
295 |
rc = jedec_dimm_readw_be(sc, TSOD_REG_DEV_REV, &devid); |
295 |
if (rc != 0) { |
296 |
if (rc != 0) { |
296 |
device_printf(dev, "failed to read TSOD Device ID\n"); |
297 |
device_printf(dev, "failed to read TSOD Device ID\n"); |
297 |
goto out; |
298 |
rc = 0; |
|
|
299 |
goto notsod; |
298 |
} |
300 |
} |
299 |
|
301 |
|
300 |
tsod_match = jedec_dimm_tsod_match(vendorid, devid); |
302 |
tsod_match = jedec_dimm_tsod_match(vendorid, devid); |
Lines 309-314
jedec_dimm_attach(device_t dev)
Link Here
|
309 |
} |
311 |
} |
310 |
} |
312 |
} |
311 |
} else { |
313 |
} else { |
|
|
314 |
notsod: |
312 |
tsod_match = NULL; |
315 |
tsod_match = NULL; |
313 |
tsod_present = false; |
316 |
tsod_present = false; |
314 |
} |
317 |
} |
Lines 623-629
jedec_dimm_dump(struct jedec_dimm_softc *sc, enum dram_type type)
Link Here
|
623 |
if (rc != 0) { |
626 |
if (rc != 0) { |
624 |
device_printf(sc->dev, "unable to change page: %d\n", |
627 |
device_printf(sc->dev, "unable to change page: %d\n", |
625 |
rc); |
628 |
rc); |
626 |
goto out; |
629 |
// goto out; |
627 |
} |
630 |
} |
628 |
/* Add 256 to the store location, because we're in the second |
631 |
/* Add 256 to the store location, because we're in the second |
629 |
* page. |
632 |
* page. |