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: * @(#)raauto.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: /* 14: * This is one of the few devices which could use the 'vector' parameter. 15: * Forcing an interrupt from a MSCP device is a large enough undertaking 16: * that it hasn't been done (yet). 17: */ 18: raprobe(addr,vector) 19: u_int *addr; 20: int vector; 21: { 22: extern int errno; 23: 24: errno = 0; 25: grab(addr); 26: return(errno ? ACP_NXDEV : ACP_EXISTS); 27: }