Page MenuHomeFreeBSD

D6548.id16882.diff
No OneTemporary

D6548.id16882.diff

Index: head/sys/dev/bhnd/cores/chipc/chipc.c
===================================================================
--- head/sys/dev/bhnd/cores/chipc/chipc.c
+++ head/sys/dev/bhnd/cores/chipc/chipc.c
@@ -269,7 +269,6 @@
chipc_release_region(sc, sc->core_region, RF_ALLOCATED|RF_ACTIVE);
chipc_free_rman(sc);
- bhnd_sprom_fini(&sc->sprom);
CHIPC_LOCK_DESTROY(sc);
Index: head/sys/dev/bhnd/cores/chipc/chipcvar.h
===================================================================
--- head/sys/dev/bhnd/cores/chipc/chipcvar.h
+++ head/sys/dev/bhnd/cores/chipc/chipcvar.h
@@ -186,12 +186,8 @@
bhnd_nvram_src_t nvram_src; /**< identified NVRAM source */
struct mtx mtx; /**< state mutex. */
-
- struct bhnd_sprom sprom; /**< OTP/SPROM shadow, if any */
- size_t sprom_refcnt; /**< SPROM hardware refcount */
-
+ size_t sprom_refcnt; /**< SPROM pin enable refcount */
struct rman mem_rman; /**< port memory manager */
-
STAILQ_HEAD(, chipc_region) mem_regions;/**< memory allocation records */
};

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 28, 4:50 AM (9 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32232141
Default Alt Text
D6548.id16882.diff (1 KB)

Event Timeline