• Russell King's avatar
    [PCMCIA] pcmcia-8/9: Clean up CIS setup. · 00dbc966
    Russell King authored
    - Re-order functions in cistpl.c.
    - Combine setup_cis_mem and set_cis_map into one function.
    - Move cis_readable(), checksum() and checksum_match() into rsrc_mgr.c
    - Only pass the socket structure to validate_mem()
    - Remove socket_info_t *vs variable, and the race condition along
      with it.
    - Pass the socket_info_t through validate_mem(), do_mem_probe() and
      inv_probe() to these functions.
    - Call cis_readable() and checksum_match() directly from
      do_mem_probe().
    00dbc966
rsrc_mgr.c 21.9 KB