Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/netbt



Module Name:    src
Committed By:   martin
Date:           Fri Aug 23 15:29:32 UTC 2024

Modified Files:
        src/sys/netbt [netbsd-10]: bt_proto.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #788):

        sys/netbt/bt_proto.c: revision 1.17

netbt(4): Initialize bt_lock earlier.

Use a driver-class module modcmd init function, instead of a socket
domain init function; the socket-domain ones don't run until after
configure, but we need this to be initialized before configure so
that Bluetooth HCI drivers like ubt(4) can use it.

This is suboptimal but it's the least intrusive way I've thought of
to get this working, even if it's a little grody to make netbt a
`driver-class' (builtin) module.  Note that this doesn't mean netbt
becomes dynamically loadable or unloadable; we're just using a module
for initialization ordering.

PR kern/56988


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.48.1 src/sys/netbt/bt_proto.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index