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: * @(#)siauto.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 "sireg.h" 14: 15: siprobe(addr,vector) 16: struct sidevice *addr; 17: int vector; 18: { 19: stuff(SI_IE | SI_READ, &(addr->sicnr)); 20: stuff(SI_IE | SI_READ | SI_DONE, &(addr->sicnr)); 21: DELAY(10L); 22: stuff(0, &(addr->sicnr)); 23: return(0); 24: }