cvs commit: src/sys/sys cons.h

Poul-Henning Kamp phk at
Fri Sep 26 00:22:39 PDT 2003

phk         2003/09/26 00:22:38 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              cons.h 
  Add a cn_unit and cn_name field to the consdev structure.
  Most of the actual use of the cn_dev field is merely to get the name,
  and most of the actual initializations are bogusly using makedev()
  because the probe/attach has not been completed.
  Instead we will migrate console drivers to fill in the name and if
  the driver needs it: the unit number, thereby avoiding the bogus
  calls to makedev().
  Revision  Changes    Path
  1.30      +2 -0      src/sys/sys/cons.h

More information about the cvs-src mailing list