git: kernel: Implement makedev_unit_b32()

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Wed Feb 14 00:14:48 PST 2018


commit 807bfb5d4f94afa54cadb234acd2bdb21e947f74
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Feb 3 20:37:03 2018 +0200

    kernel: Implement makedev_unit_b32()
    
    It would be used to replace deprecated legacy FreeBSD "%r" formats.
    Change tty_pty.c to use hex2ascii(), since it has only upto 32 devices.

Summary of changes:
 sys/kern/kern_conf.c | 16 ++++++++++++++++
 sys/kern/tty_pty.c   |  4 ++--
 sys/libkern/bcd.c    |  1 -
 sys/sys/device.h     |  2 ++
 4 files changed, 20 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/807bfb5d4f94afa54cadb234acd2bdb21e947f74


-- 
DragonFly BSD source repository


More information about the Commits mailing list