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: * @(#)tmauto.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: 13: #include "tmreg.h" 14: 15: tmprobe(addr,vector) 16: struct tmdevice *addr; 17: { 18: extern int errno; 19: 20: stuff(TM_IE, &(addr->tmcs)); 21: errno = 0; /* check distant register, make */ 22: grab(&(addr->tmba)); /* sure this isn't a ts-11 */ 23: return(errno ? ACP_NXDEV : ACP_IFINTR); 24: }