HomeFreeBSD

Add a dead_cdevsw which does its best to return ENXIO if at all possible.

Description

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.

Details

Provenance
phkAuthored on Feb 20 2003, 3:35 PM
Parents
rG568ef33fa243: Removed extra parentheses.
Branches
Unknown
Tags
Unknown

Event Timeline