2.11BSD/sys/autoconfig/xpauto.c

Compare this file to the similar file:
Show the results in this format:

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

/*
 * Several drives use this probe routine.
 *
 * hp -- rjp04/06, rwp04/06
 * rm -- rjm02/rwm03, rm02/03/05
 * xp -- rm02/03/05, rp04/05/06, Diva, Ampex, SI Eagle, Fuji 160
 */
#include "param.h"
#include "../machine/autoconfig.h"
#include "../machine/machparam.h"

#include "hpreg.h"

xpprobe(addr,vector)
	struct hpdevice *addr;
{
	stuff(HP_IE | HP_RDY, &(addr->hpcs1.w));
	DELAY(10L);
	stuff(0, &(addr->hpcs1.w));
	return(ACP_IFINTR);
}