]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update to device enumeration protocol 2
authorWarner Losh <imp@FreeBSD.org>
Thu, 31 May 2018 02:58:03 +0000 (02:58 +0000)
committerWarner Losh <imp@FreeBSD.org>
Thu, 31 May 2018 02:58:03 +0000 (02:58 +0000)
commitcf72c10fd250ae282e14458ed528642fb724a837
tree5c51677c0a2e0cc5323f1c4fed4ced72a6980772
parentc580ca4cf4a4df702d3cde59ce9bb899c6cdab6e
Update to device enumeration protocol 2

The new protocol from the kernel encodes things as a string table,
extract it into fields. strdup the strings, and free them when we're
done.

Differential Revision: https://reviews.freebsd.org/D15629
lib/libdevinfo/devinfo.c
lib/libdevinfo/devinfo_var.h