Searched hist:173456 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/sys/dev/pty/
H A Dpty.cdiff 173456 Thu Nov 08 15:51:52 MST 2007 jhb Make it easier to add more ptys to the pty(4) driver:
- Use unit2minor() and minor2unit() to generate minor numbers to support
unit numbers higher than 255.
- Use simple string operations on the 'names' array rather than hard-coded
constants and switch statements so that more ptys can be added by simply
expanding the 'names' array.

MFC after: 1 week

Completed in 54 milliseconds