cvs commit: src/sys/sys cons.h

From: Poul-Henning Kamp <phk_at_FreeBSD.org>
Date: Fri, 26 Sep 2003 00:22:38 -0700 (PDT)
phk         2003/09/26 00:22:38 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              cons.h 
  Log:
  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
Received on Fri Sep 26 2003 - 00:22:38 UTC