SCCS-vsn: sys/hp300/dev/hpib.c 7.2
SCCS-vsn: sys/hp300/dev/hpibvar.h 7.2
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)hpib.c 7.1 (Berkeley) %G%
+ * @(#)hpib.c 7.2 (Berkeley) %G%
#include "machine/cpu.h"
#include "machine/isr.h"
#include "machine/cpu.h"
#include "machine/isr.h"
-int internalhpib = IOV(0x478000);
-
int hpibinit(), hpibstart(), hpibgo(), hpibintr(), hpibdone();
struct driver hpibdriver = {
hpibinit, "hpib", hpibstart, hpibgo, hpibintr, hpibdone,
int hpibinit(), hpibstart(), hpibgo(), hpibintr(), hpibdone();
struct driver hpibdriver = {
hpibinit, "hpib", hpibstart, hpibgo, hpibintr, hpibdone,
int hpibtimeout = 100000; /* # of status tests before we give up */
int hpibidtimeout = 20000; /* # of status tests for hpibid() calls */
int hpibtimeout = 100000; /* # of status tests before we give up */
int hpibidtimeout = 20000; /* # of status tests for hpibid() calls */
+int hpibdmathresh = 3; /* byte count beyond which to attempt dma */
hpibinit(hc)
register struct hp_ctlr *hc;
hpibinit(hc)
register struct hp_ctlr *hc;
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)hpibvar.h 7.1 (Berkeley) %G%
+ * @(#)hpibvar.h 7.2 (Berkeley) %G%
*/
#define HPIB_IPL(x) ((((x) >> 4) & 0x3) + 3)
*/
#define HPIB_IPL(x) ((((x) >> 4) & 0x3) + 3)
#ifdef KERNEL
extern struct hpib_softc hpib_softc[];
extern int internalhpib;
#ifdef KERNEL
extern struct hpib_softc hpib_softc[];
extern int internalhpib;
+extern int hpibtimeout;
+extern int hpibdmathresh;