return rc;
}
+
int mantis_hif_read_mem(struct mantis_ca *ca, u32 addr)
{
struct mantis_pci *mantis = ca->ca_priv;
hif_addr &= ~MANTIS_GPIF_PCMCIAIOM;
hif_addr |= addr;
- mmwrite(hif_addr, MANTIS_GPIF_BRADDR);
+ mmwrite(hif_addr | MANTIS_HIF_STATUS, MANTIS_GPIF_BRADDR);
mmwrite(count, MANTIS_GPIF_BRBYTES);
udelay(20);
mmwrite(slot->slave_cfg, MANTIS_GPIF_CFGSLA); /* Slot0 alone for now */
- mmwrite(hif_addr, MANTIS_GPIF_ADDR);
+ mmwrite(hif_addr | MANTIS_HIF_STATUS, MANTIS_GPIF_ADDR);
mmwrite(data, MANTIS_GPIF_DOUT);
ca->hif_job_queue = MANTIS_HIF_MEMWR;
hif_addr |= MANTIS_GPIF_PCMCIAIOM;
hif_addr |= addr;
- mmwrite(hif_addr, MANTIS_GPIF_ADDR);
+ mmwrite(hif_addr | MANTIS_HIF_STATUS, MANTIS_GPIF_ADDR);
ca->hif_job_queue = MANTIS_HIF_IOMRD;
if (mantis_hif_sbuf_opdone_wait(ca) != 0) {
hif_addr |= MANTIS_GPIF_PCMCIAIOM;
hif_addr |= addr;
- mmwrite(hif_addr, MANTIS_GPIF_ADDR);
+ mmwrite(hif_addr | MANTIS_HIF_STATUS, MANTIS_GPIF_ADDR);
mmwrite(data, MANTIS_GPIF_DOUT);
ca->hif_job_queue = MANTIS_HIF_IOMWR;