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: * @(#)rlauto.c 2.2 (2.11BSD GTE) 1997/7/20 7: */ 8: 9: #include "param.h" 10: #include "../machine/autoconfig.h" 11: #include "../machine/machparam.h" 12: #include "rlreg.h" 13: 14: extern int errno; 15: 16: rlprobe(addr,vector) 17: struct rldevice *addr; 18: int vector; 19: { 20: stuff(RL_CRDY, (&(addr->rlcs))); 21: if (errno) /* paranoia */ 22: return(ACP_NXDEV); 23: return(ACP_EXISTS); 24: }