HomeFreeBSD

Make it easier to add more ptys to the pty(4) driver:

Description

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

Details

Provenance
jhbAuthored on Nov 8 2007, 3:51 PM
Parents
rGc8e793828f84: Update X11 dists for xorg-7.3 layout.
Branches
Unknown
Tags
Unknown

Event Timeline