Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2003 07:35:54 -0800 (PST)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_conf.c
Message-ID:  <200302201535.h1KFZsix091922@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2003/02/20 07:35:54 PST

  Modified files:
    sys/kern             kern_conf.c 
  Log:
  Add a dead_cdevsw which does its best to return ENXIO if at all possible.
  
  In devsw() return dead_cdevsw instead of NULL in case the dev_t does not
  have a si_devsw.
  
  This may improve our survival chances with devices which go away unexpectedly.
  
  Revision  Changes    Path
  1.122     +53 -3     src/sys/kern/kern_conf.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302201535.h1KFZsix091922>