isp_pci_wr_reg(isp, regoff, val) struct ispsoftc *isp; int regoff; u_int16_t val;
isp_pci_wr_reg(struct ispsoftc *isp, int regoff, u_int16_t val)
isp_pci_wr_reg(isp, regoff, val)	struct ispsoftc *isp;	int regoff;	u_int16_t val;{	struct isp_pcisoftc *pcs = (struct isp_pcisoftc *) isp;	int offset, oldconf = 0;	if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) {		/*		 * We will assume that someone has paused the RISC processor.		 */		oldconf = isp_pci_rd_reg(isp, BIU_CONF1);		isp_pci_wr_reg(isp, BIU_CONF1, oldconf | BIU_PCI_CONF1_SXP);		delay(250);	}	offset = pcs->pci_poff[(regoff & _BLK_REG_MASK) >> _BLK_REG_SHFT];	offset += (regoff & 0xff);	bus_space_write_2(pcs->pci_st, pcs->pci_sh, offset, val);	if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) {		isp_pci_wr_reg(isp, BIU_CONF1, oldconf);		delay(250);	}}