/* Read bytes from the Frequency EEprom (frequency select cards).  */
static void fee_read(u_long base, u_short o, u_short *b, int n)
/* Read bytes from the Frequency EEprom (frequency select cards).  */
static void fee_read(u_long base, u_short o, u_short *b, int n)
{
  b += n;
  mmc_out(base, mmwoff(0, mmw_fee_addr), o + n - 1);
  while(n-- > 0)
    {
      mmc_out(base, mmwoff(0, mmw_fee_ctrl), MMW_FEE_CTRL_READ);
      fee_wait(base, 10, 100);
      *--b = ((mmc_in(base, mmroff(0, mmr_fee_data_h)) << 8) |
	      mmc_in(base, mmroff(0, mmr_fee_data_l)));
    }
}