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: }