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: * @(#)xpauto.c 1.2 (2.11BSD GTE) 12/30/92 7: */ 8: 9: /* 10: * Several drives use this probe routine. 11: * 12: * hp -- rjp04/06, rwp04/06 13: * rm -- rjm02/rwm03, rm02/03/05 14: * xp -- rm02/03/05, rp04/05/06, Diva, Ampex, SI Eagle, Fuji 160 15: */ 16: #include "param.h" 17: #include "../machine/autoconfig.h" 18: #include "../machine/machparam.h" 19: 20: #include "hpreg.h" 21: 22: xpprobe(addr,vector) 23: struct hpdevice *addr; 24: { 25: stuff(HP_IE | HP_RDY, &(addr->hpcs1.w)); 26: DELAY(10L); 27: stuff(0, &(addr->hpcs1.w)); 28: return(ACP_IFINTR); 29: }