DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
MDI style guidelines

Handling hardware errors

See ``Error handling'' for general information about handling error conditions in device drivers. The following guidelines pertain to specific hardware failures that occur in the network adapters supported by MDI drivers.


Fatal errors
An MDI driver should never panic the system by calling cmn_err(D3) with CE_PANIC as the first argument. If the hardware has failed, the driver should:

Handling a loose cable
All MDI drivers should be coded to detect a link loss (in other words, the cable has been removed, loosened, or damaged) and to react appropriately. The following steps are recommended:

© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005