* Copyright (c) 1982, 1990 The Regents of the University of California.
* Redistribution is only permitted until one year after the first shipment
* of 4.4BSD by the Regents. Otherwise, redistribution and use in source and
* binary forms are permitted provided that: (1) source distributions retain
* this entire copyright notice and comment, and (2) distributions including
* binaries display the following acknowledgement: This product includes
* software developed by the University of California, Berkeley and its
* contributors'' in the documentation or other materials provided with the
* distribution and in all advertising materials mentioning features or use
* of this software. Neither the name of the University nor the names of
* its contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* @(#)device.h 7.2 (Berkeley) 5/25/90
struct driver
*hp_driver
;
struct driver
*hp_driver
;
struct driver
*hp_cdriver
;
struct devqueue
*dq_forw
;
struct devqueue
*dq_back
;
struct driver
*dq_driver
;
char *hw_addr
; /* physical address of registers */
short hw_sc
; /* select code (if applicable) */
short hw_type
; /* type (defined below) */
short hw_id
; /* HW returned id */
short hw_id2
; /* secondary HW id (displays) */
char *hw_name
; /* HP product name */
#define MAX_CTLR 16 /* Totally arbitrary */
#define MAXSLAVES 8 /* Currently the HPIB limit */
/* A controller is a card which can have one or more slaves attached */
/* Slaves are devices which attach to controllers, e.g. disks, tapes */
/* These are not controllers, but may have their own HPIB address */
extern struct hp_ctlr hp_cinit
[];
extern struct hp_device hp_dinit
[];
extern struct hp_hw sc_table
[];