2.11BSD/sys/autoconfig/drauto.c

/*
 * Copyright (c) 1986 Regents of the University of California.
 * All rights reserved.  The Berkeley software License Agreement
 * specifies the terms and conditions for redistribution.
 *
 *	@(#)drauto.c	1.2 (2.11BSD GTE) 12/30/92
 */

#include "param.h"
#include "../machine/autoconfig.h"
#include "../machine/machparam.h"

#include "drreg.h"

drprobe(addr,vector)
	struct drdevice *addr;
	int vector;
{
	stuff(DR_MANT, &(addr->csr));	/* toggle maintence bit */
	stuff(0, &(addr->csr));		/* to reset dr11 */
	return(ACP_EXISTS);		/* can't make it interrupt */
}