/src/sys/dev/gpib/ |
cs80bus.c | 80 * of a SCSI ID, and punit, the analog of a SCSI LUN. Unforunately, 82 * drives that have an accompanying tape drive on the second punit. 91 * them to modify the punit parameter (but NOT the slave!). 149 * Set punit if operator specified one in the kernel 156 /* default punit */ 159 DPRINTF(DBG_FOLLOW, ("cs80bussearch: id=0x%x slave=%d punit=%d\n", 165 ("cs80bussearch: got id=0x%x slave=%d punit %d\n", 170 * the punit information. Make sure the configuration 171 * allows for this slave/punit combination. 201 printf(" slave %d punit %d", ca->ca_slave, ca->ca_punit) [all...] |
ct.c | 213 short punit; member in struct:ctinfo 230 ctlookup(int id, int slave, int punit) 250 ca->ca_punit = ctinfo[i].punit; 502 int i, slave, punit; local in function:ctstart 505 punit = sc->sc_punit; 519 ul.unit = CS80CMD_SUNIT(punit); 522 punit, CS80CMD_SCMD, &ul, sizeof(ul)); 531 punit, CS80CMD_SCMD, &wfm, sizeof(wfm)); 562 punit, CS80CMD_SCMD, &sc->sc_ioc, 597 (void) cs80send(device_parent(sc->sc_dev), slave, punit, 698 int slave, punit; local in function:ctintr [all...] |
rd.c | 286 rdlookup(int id, int slave, int punit) 294 if (i == numrdidentinfo || punit > rdidentinfo[i].ri_maxunum) 703 int slave, punit; local in function:rdstart 706 punit = sc->sc_punit; 714 sc->sc_ioc.c_unit = CS80CMD_SUNIT(punit); 745 cs80reset(device_parent(sc->sc_dev), slave, punit);
|
mt.c | 205 mtlookup(int id, int slave, int punit)
|
/src/sys/arch/x68k/stand/loadbsd/ |
loadbsd.c | 52 unsigned *pif, unsigned *punit); 53 static void get_current_scsi_interface(unsigned *pif, unsigned *punit); 78 lookupif(const char *name, unsigned *pif, unsigned *punit) 106 *punit = unit; 115 get_current_scsi_interface(unsigned *pif, unsigned *punit) 130 *punit = 0; 134 *punit = 0; 138 *punit = 1;
|
/src/sys/arch/hp300/dev/ |
hpib.c | 109 * of a SCSI ID, and punit, the analog of a SCSI LUN. Unforunately, 111 * drives that have an accompanying tape drive on the second punit. 119 * * We nevertheless probe the whole (slave, punit) tuple space, since 167 int id, slave, punit; local in function:hpibbus_attach_children 185 for (punit = 0; punit < HPIB_NPUNITS; punit++) { 191 ha.ha_punit = punit; 223 aprint_normal(" slave %d punit %d", ha->ha_slave, ha->ha_punit);
|
rd.c | 603 * No valid response from the specified punit. 683 * data for punit >= 1. 703 int ctlr, slave, punit; local in function:rdreset 707 punit = sc->sc_punit; 708 rdreset_unit(ctlr, slave, punit); 715 rdreset_unit(int ctlr, int slave, int punit) 722 clear.c_unit = C_SUNIT(punit); 736 ssmc.c_unit = C_SUNIT(punit);
|
ct.c | 198 short punit; member in struct:ctinfo 274 ha->ha_punit == ctinfo[id].punit)
|
/src/sys/arch/hp300/stand/common/ |
autoconf.c | 149 int sc, type, ctlr, slave, punit; local in function:msustobdev 159 punit = ((rp->msus >> 16) & 0xFF); 161 bdev = MAKEBOOTDEV(type, ctlr, slave, punit, 0);
|
conf.c | 112 punitzero(int ctlr, int slave, int *punit) 115 *punit = 0;
|
ct.c | 68 short punit; member in struct:ctinfo 122 ct_softc[ctlr][unit].sc_punit = ctinfo[i].punit; 156 ctpunit(int ctlr, int slave, int *punit) 169 *punit = rs->sc_punit;
|
/src/sys/arch/hp300/hp300/ |
autoconf.c | 231 int dd_punit; /* and punit... */ 357 "type = %d, ctlr = %d, slave = %d, punit = %d, part = %d\n", 498 int type, ctlr, slave, punit, part; local in function:findbootdev 511 punit = B_UNIT(bootdev); 546 slave, punit); 568 slave, punit); 595 findbootdev_slave(ddlist_t *ddlist, int ctlr, int slave, int punit) 613 * Now find the device with the right slave/punit 626 dd->dd_punit == punit) {
|
/src/sys/dev/dkwedge/ |
dk.c | 269 int punit; local in function:dkwedge_compute_pdev 288 for (cp = name, punit = 0; *cp >= '0' && *cp <= '9'; cp++) 289 punit = (punit * 10) + (*cp - '0'); 295 *pdevp = MAKEDISKDEV(pmaj, punit, RAW_PART);
|