FreeBSD Bugzilla – Attachment 202365 Details for
Bug 235944
jedec_dimm(4) does not attach to KFA2 (aka Galax) Hall of Fame DDR4 sticks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
dimm-hack.patch
dimm-hack.patch (text/plain), 1.03 KB, created by
Val Packett
on 2019-02-25 20:24:46 UTC
(
hide
)
Description:
dimm-hack.patch
Filename:
MIME Type:
Creator:
Val Packett
Created:
2019-02-25 20:24:46 UTC
Size:
1.03 KB
patch
obsolete
>diff --git i/sys/dev/jedec_dimm/jedec_dimm.c w/sys/dev/jedec_dimm/jedec_dimm.c >index 10235dc3919..ed7f47e9af6 100644 >--- i/sys/dev/jedec_dimm/jedec_dimm.c >+++ w/sys/dev/jedec_dimm/jedec_dimm.c >@@ -289,12 +289,14 @@ jedec_dimm_attach(device_t dev) > if (rc != 0) { > device_printf(dev, > "failed to read TSOD Manufacturer ID\n"); >- goto out; >+ rc = 0; >+ goto notsod; > } > rc = jedec_dimm_readw_be(sc, TSOD_REG_DEV_REV, &devid); > if (rc != 0) { > device_printf(dev, "failed to read TSOD Device ID\n"); >- goto out; >+ rc = 0; >+ goto notsod; > } > > tsod_match = jedec_dimm_tsod_match(vendorid, devid); >@@ -309,6 +311,7 @@ jedec_dimm_attach(device_t dev) > } > } > } else { >+notsod: > tsod_match = NULL; > tsod_present = false; > } >@@ -623,7 +626,7 @@ jedec_dimm_dump(struct jedec_dimm_softc *sc, enum dram_type type) > if (rc != 0) { > device_printf(sc->dev, "unable to change page: %d\n", > rc); >- goto out; >+ // goto out; > } > /* Add 256 to the store location, because we're in the second > * page.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235944
:
202271
|
202272
|
202273
| 202365