John Baldwin db27a9dac7 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
2007-11-08 15:51:52 +00:00
..
2007-08-16 05:32:26 +00:00
2007-10-26 16:33:47 +00:00
2007-04-23 12:53:00 +00:00
2007-10-23 00:52:25 +00:00
2006-05-28 22:15:28 +00:00
2007-08-16 05:32:26 +00:00
2007-08-16 05:32:26 +00:00