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

##### Functions

    tmsprobe          X

       1:
       2: /*
       3:  * Copyright (c) 1986 Regents of the University of California.
       4:  * All rights reserved.  The Berkeley software License Agreement
       5:  * specifies the terms and conditions for redistribution.
       6:  *
       7:  *	@(#)tmsauto.c	1.1 (2.11BSD GTE) 12/30/92
       8:  */
       9:
      10: #include "param.h"
      11: #include "../machine/autoconfig.h"
      12: #include "../machine/machparam.h"
      13:
      14: /*
      15:  * The TMSCP controller is another one which has programmable vectors.
      16:  * The kernel and autoconfigure program have been modified to handle this,
      17:  * which is why the vector is being passed to all of the probe routines.
      18:  * For now just continue testing for the presence of a device until a
      19:  * real probe routine can be written.
      20: */
      21: tmsprobe(addr,vector)
      22:     u_int *addr;
      23:     {
      24:     extern int  errno;
      25:
      26:     errno = 0;
      27:     grab(addr);
      28:     return(errno ? ACP_NXDEV : ACP_EXISTS);
      29:     }

#### Defined functions

tmsprobe defined in line 21; used 2 times

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

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