FreeBSD/sys/dev/e1000/if_lem.c
/**********************************************************************
 *
 *  This routine provides a way to dump out the adapter eeprom,
 *  often a useful debug/service tool. This only dumps the first
 *  32 words, stuff that matters is in that extent.
 *
 **********************************************************************/
This routine provides a way to dump out the adapter eeprom,
often a useful debug/service tool. This only dumps the first
32 words, stuff that matters is in that extent.
This routine provides a way to dump out the adapter eeprom often a useful debug / service tool . This only dumps the first 32 words stuff that matters is in that extent .
static int
lem_sysctl_nvm_info(SYSCTL_HANDLER_ARGS)
{
	struct adapter *adapter;
	int error;
	int result;
	result = -1;
	error = sysctl_handle_int(oidp, &result, 0, req);
	if (error || !req->newptr)
		return (error);
	if (result == 1) {
		adapter = (struct adapter *)arg1;
		lem_print_nvm_info(adapter);
        }
	return (error);
}
static int lem_sysctl_nvm_info ( SYSCTL_HANDLER_ARGS ) { struct adapter * adapter ; int error ; int result ; result = -1 ; error = sysctl_handle_int ( oidp , & result , 0 , req ) ; if ( error || ! req -> newptr ) return ( error ) ; if ( result == 1 ) { adapter = ( struct adapter * ) arg1 ; lem_print_nvm_info ( adapter ) ; } return ( error ) ; }
This routine provides a way to dump out the adapter eeprom,
  often a useful debug/service tool.
This routine provides a way to dump out the adapter eeprom often a useful debug / service tool .
/*
	 * This value will cause a hex dump of the
	 * first 32 16-bit words of the EEPROM to
	 * the screen.
	 */