Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154216668
D6548.id16882.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6548.id16882.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6548: Fix release of uninitialized SPROM shadow in chipc detach.
Attached
Detach File
Event Timeline
Log In to Comment