RTW_RING_BASE
ptx[0] = RTW_RING_BASE(phybaseaddr, hd_txlo);
ptx[1] = RTW_RING_BASE(phybaseaddr, hd_txmd);
ptx[2] = RTW_RING_BASE(phybaseaddr, hd_txhi);
ptx[3] = RTW_RING_BASE(phybaseaddr, hd_bcn);
vtx[0] = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_txlo));
vtx[1] = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_txmd));
vtx[2] = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_txhi));
vtx[3] = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_bcn));
prx = RTW_RING_BASE(phybaseaddr, hd_rx);
vrx = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_rx));
RTW_WRITE(regs, RTW_RDSAR, RTW_RING_BASE(phybaseaddr, hd_rx));
RTW_WRITE(regs, RTW_TLPDA, RTW_RING_BASE(phybaseaddr, hd_txlo));
RTW_WRITE(regs, RTW_TNPDA, RTW_RING_BASE(phybaseaddr, hd_txmd));
RTW_WRITE(regs, RTW_THPDA, RTW_RING_BASE(phybaseaddr, hd_txhi));
RTW_WRITE(regs, RTW_TBDA, RTW_RING_BASE(phybaseaddr, hd_bcn));
ptx[0] = RTW_RING_BASE(phybaseaddr, hd_txlo);
ptx[1] = RTW_RING_BASE(phybaseaddr, hd_txmd);
ptx[2] = RTW_RING_BASE(phybaseaddr, hd_txhi);
ptx[3] = RTW_RING_BASE(phybaseaddr, hd_bcn);