Flags to use below are either passed in or the current band flags are taken (or 0 if bands not initialised yet)

  1. if core is up, reset DMA/PIO engine
  2. reset the core on the backplane using the flags ORed with PHY Clock Enable and PHY Reset

  3. wait for the PLL to turn on (150 microseconds)
  4. take PHY out of reset

  5. turn on analog if band PHY has been attached already
  6. set MAC Control IHR Region Enabled bit

FIXME: needs more work for N PHY chips with power management unit (PHY rev >= 3, 4322 chip)

802.11/CoreReset (last edited 2008-12-31 14:07:03 by JohannesBerg)