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: * @(#)rxauto.c 1.2 (2.11BSD GTE) 1995/11/21 7: */ 8: 9: #include "param.h" 10: #include "../machine/autoconfig.h" 11: #include "../machine/machparam.h" 12: 13: #include "rxreg.h" 14: 15: /* 16: * rxprobe - check for rx 17: */ 18: rxprobe(addr) 19: struct rxdevice *addr; 20: { 21: stuff(RX_INIT, (&(addr)->rxcs)); 22: stuff(RX_IE, (&(addr)->rxcs)); 23: DELAY(200000L); 24: stuff(RX_IE, (&(addr)->rxcs)); 25: DELAY(1000L); 26: stuff(0, (&(addr)->rxcs)); 27: return(ACP_IFINTR); 28: }