* Copyright (c) 1988 University of Utah.
* Copyright (c) 1990 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* the Systems Programming Group of the University of Utah Computer
* %sccs.include.redist.c%
* from: Utah $Hdr: autoconf.c 1.9 89/10/07$
* @(#)autoconf.c 7.1 (Berkeley) %G%
#include "../hpdev/device.h"
#include "../hpdev/grfvar.h"
struct hp_hw sc_table
[MAX_CTLR
];
return(0x600000+(0x10000*sc
));
* Probe all select codes (0 - 32) and internal display address.
* Note that we only care about displays, SCSIs and HP-IBs.
register struct hp_hw
*hw
;
for (sc
= -2; sc
< 32; sc
++) {
id_reg
= (u_char
*) addr
;
hw
->hw_addr
= (char *) addr
;
hw
->hw_id
= id_reg
[1] & 0xff;
hw
->hw_id2
= id_reg
[0x15];
case 4: /* renaissance */
sc
++; /* occupy 2 select codes */