Home
last modified time | relevance | path

Searched refs:hp_unit (Results 1 – 25 of 32) sorted by relevance

12

/original-bsd/sys/luna68k/stand/
H A Dautoconf.c109 match_c->hp_unit);
129 printf("%s%d", hc->hp_driver->d_name, hc->hp_unit);
181 match_d->hp_unit);
201 printf("%s%d", hd->hp_driver->d_name, hd->hp_unit);
235 hc->hp_driver->d_name, hc->hp_unit);
252 if (hd->hp_ctlr >= 0 && hd->hp_ctlr != hc->hp_unit)
262 new_c = hc->hp_unit;
282 if (hd->hp_ctlr == hc->hp_unit &&
295 new_c = hc->hp_unit;
323 hd->hp_unit, hd->hp_slave);
[all …]
H A Ddevice.h25 int hp_unit; member
35 int hp_unit; member
H A Dsd.c136 printf("sd%d: %s %s rev %s", hd->hp_unit, idstr, &idstr[8],
158 register struct sd_softc *sc = &sd_softc[hd->hp_unit];
163 printf("sdinit: hd->hp_unit = %d\n", hd->hp_unit);
177 lp = &sdlabel[hd->hp_unit];
194 printf("sd%d: %s\n", hd->hp_unit, msg);
H A Dsc.c46 register struct scsi_softc *hs = &scsi_softc[hc->hp_unit];
65 screset(hc->hp_unit);
261 hs->sc_hc->hp_unit, hd->scsi_psns, hd->scsi_ssts,
312 hs->sc_hc->hp_unit, hd->scsi_psns, hd->scsi_ssts);
H A Dst.c82 register struct st_softc *sc = &st_softc[hd->hp_unit];
90 sc->sc_dq.dq_unit = hd->hp_unit;
151 printf("st%d: %s %s rev %s\n", hd->hp_unit, idstr, &idstr[8],
/original-bsd/sys/hp300/dev/
H A Dhpib.c43 register struct hpib_softc *hs = &hpib_softc[hc->hp_unit];
48 hs->sc_dq.dq_unit = hc->hp_unit;
51 hpib_isr[hc->hp_unit].isr_intr = hpibintr;
52 hpib_isr[hc->hp_unit].isr_ipl = hc->hp_ipl;
53 hpib_isr[hc->hp_unit].isr_arg = hc->hp_unit;
54 isrlink(&hpib_isr[hc->hp_unit]);
55 hpibreset(hc->hp_unit);
H A Dgrf_machdep.c76 if (nhd && grfinit(addr, nhd->hp_unit)) in grfconfig()
87 struct grf_softc *gp = &grf_softc[hd->hp_unit];
90 !grfinit(hd->hp_addr, hd->hp_unit))
92 printf("grf%d: %d x %d ", hd->hp_unit,
H A Dscsi.c158 hs->sc_hc->hp_unit, hd->scsi_psns, hd->scsi_ssts);
209 hs->sc_dq.dq_unit = hc->hp_unit;
212 scsi_isr[hc->hp_unit].isr_intr = scsiintr;
213 scsi_isr[hc->hp_unit].isr_ipl = hc->hp_ipl;
214 scsi_isr[hc->hp_unit].isr_arg = hc->hp_unit;
215 isrlink(&scsi_isr[hc->hp_unit]);
216 scsireset(hc->hp_unit);
313 int unit = hs->sc_hc->hp_unit;
648 hs->sc_hc->hp_unit, phase, target);
753 hs->sc_hc->hp_unit, phase, target);
[all …]
H A Dsd.c216 printf("sd%d: %s %s rev %s", hd->hp_unit, idstr, &idstr[8],
222 printf("sd%d: type 0x%x, qual 0x%x, ver %d", hd->hp_unit,
242 register struct sd_softc *sc = &sd_softc[hd->hp_unit];
256 sc->sc_dq.dq_unit = hd->hp_unit;
269 sdstats[hd->hp_unit].sdresets++;
311 bcopy((caddr_t)&cap, (caddr_t)&sdcmd[hd->hp_unit], sizeof cap);
317 i = biowait(bp) ? sdsense[hd->hp_unit].status : 0;
326 hd->hp_unit, i);
340 hd->hp_unit);
356 hd->hp_unit, DEV_BSIZE, "drive ignored");
[all …]
H A Dif_le.c139 struct le_softc *le = &le_softc[hd->hp_unit];
149 le_isr[hd->hp_unit].isr_intr = leintr;
150 hd->hp_ipl = le_isr[hd->hp_unit].isr_ipl = LE_IPL(ler0->ler0_status);
151 le_isr[hd->hp_unit].isr_arg = hd->hp_unit;
165 printf("le%d: hardware address %s\n", hd->hp_unit,
178 isrlink(&le_isr[hd->hp_unit]);
181 ifp->if_unit = hd->hp_unit;
H A Dppi.c62 register struct ppi_softc *sc = &ppi_softc[hd->hp_unit];
76 sc->sc_dq.dq_unit = hd->hp_unit;
H A Dst.c200 register struct st_softc *sc = &st_softc[hd->hp_unit];
211 sc->sc_dq.dq_unit = hd->hp_unit;
293 printf("st%d: %s, %s rev %s\n", hd->hp_unit, idstr, &idstr[8],
302 printf("st%d: Cant handle this tape drive\n", hd->hp_unit);
341 printf("st%d: No ID, assuming Archive\n", hd->hp_unit);
343 printf("st%d: Unsupported tape device\n", hd->hp_unit);
H A Dac.c70 int unit = hd->hp_unit;
150 printf("ac%d: %s %s rev %s\n", hd->hp_unit,
H A Drd.c159 register struct rd_softc *rs = &rd_softc[hd->hp_unit];
167 rs->sc_dq.dq_unit = hd->hp_unit;
192 lunit = hd->hp_unit;
316 rdstats[hd->hp_unit].rdresets++;
H A Dct.c114 register struct ct_softc *sc = &ct_softc[hd->hp_unit];
125 sc->sc_dq.dq_unit = hd->hp_unit;
192 printf("ct%d: %s %stape\n", hd->hp_unit, ctinfo[id].desc,
/original-bsd/sys/luna68k/luna68k/
H A Dautoconf.c140 match_c->hp_unit);
212 match_d->hp_unit);
266 hc->hp_driver->d_name, hc->hp_unit);
293 new_c = hc->hp_unit;
313 if (hd->hp_ctlr == hc->hp_unit &&
326 new_c = hc->hp_unit;
354 hd->hp_unit, hd->hp_slave);
363 hd->hp_driver->d_name, hd->hp_unit,
578 if (hc->hp_alive && hc->hp_unit == adaptor && in setroot()
592 hd->hp_ctlr == hc->hp_unit) in setroot()
[all …]
H A Dswapgeneric.c101 if (hd->hp_unit == 0 && hd->hp_driver == in setconf()
/original-bsd/sys/hp300/hp300/
H A Dautoconf.c162 match_c->hp_unit);
252 match_d->hp_unit);
336 hc->hp_driver->d_name, hc->hp_unit);
364 new_c = hc->hp_unit;
384 if (hd->hp_ctlr == hc->hp_unit &&
397 new_c = hc->hp_unit;
425 hd->hp_unit, hd->hp_slave);
434 hd->hp_driver->d_name, hd->hp_unit,
969 if (hc->hp_alive && hc->hp_unit == adaptor && in setroot()
981 hd->hp_ctlr == hc->hp_unit) in setroot()
[all …]
H A Dswapgeneric.c87 if (hd->hp_unit == 0 && hd->hp_driver == in setconf()
/original-bsd/sys/luna68k/dev/
H A Ddevice.h21 int hp_unit; member
31 int hp_unit; member
H A Dsd.c92 register struct sd_softc *sc = &sd_softc[hd->hp_unit];
102 sc->sc_dq.dq_unit = hd->hp_unit;
110 lp = &sdlabel[hd->hp_unit];
125 if (msg = sdreadlabel(makedev(4, (hd->hp_unit<<3)), sdstrategy, lp)) {
127 printf("sd%d: %s\n", hd->hp_unit, msg);
212 printf("sd%d: %s %s rev %s", hd->hp_unit, idstr, &idstr[8],
H A Dst.c104 register struct st_softc *sc = &st_softc[hd->hp_unit];
115 sc->sc_dq.dq_unit = hd->hp_unit;
174 printf("st%d: %s %s rev %s\n", hd->hp_unit, idstr, &idstr[8],
H A Dif_le.c129 struct le_softc *le = &le_softc[hd->hp_unit];
169 printf("le%d: hardware address %s\n", hd->hp_unit,
183 ifp->if_unit = hd->hp_unit;
/original-bsd/sys/hp/dev/
H A Ddevice.h21 int hp_unit; member
31 int hp_unit; member
/original-bsd/usr.bin/vmstat/
H A Dnames.c51 p += sprintf(p, "%s%d", name, hdev.hp_unit) + 1; in read_names()

12