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: * @(#)dzauto.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 "dzreg.h" 14: 15: dzprobe(addr,vector) 16: struct dzdevice *addr; 17: int vector; 18: { 19: stuff(grab(&(addr->dzcsr)) | DZ_TIE | DZ_MSE, &(addr->dzcsr)); 20: stuff(1, &(addr->dztcr)); 21: DELAY(35000L); 22: DELAY(35000L); 23: stuff(DZ_CLR, &(addr->dzcsr)); 24: return(ACP_IFINTR); 25: }