# 2.11BSD#431 - /usr/src/sys/autoconfig/dhvauto.c

##### Functions

    dhvprobe          X

       1: /*
       2:  * Copyright (c) 1986 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)dhuauto.c	1.2 (2.11BSD GTE) 12/30/92
       7:  */
       8:
       9: #include "param.h"
      10: #include "../machine/autoconfig.h"
      11: #include "../machine/machparam.h"
      12: #include "../pdpuba/dhvreg.h"
      13:
      14: dhvprobe(addr,vector)
      15:     struct dhvdevice *addr;
      16:     int vector;
      17: {
      18:     if ( grab ( &(addr->dhvcsr) ) & DHV_CS_MCLR )
      19:     DELAY(35000L);
      20:     if ( grab ( &(addr->dhvcsr) ) & (DHV_CS_MCLR|DHV_CS_DFAIL) )
      21:     return ( 0 );
      22:     stuff ( DHV_CS_RI | DHV_CS_RIE, &(addr->dhvcsr) );
      23:     DELAY(3500L);
      24:     stuff ( 0, &(addr->dhvcsr) );
      25:     return(ACP_IFINTR);
      26: }

#### Defined functions

dhvprobe defined in line 14; used 2 times

- in /usr/src/sys/autoconfig/uprobe.c line 27, 44

Last modified: 1992-12-31 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 527 |