mirror of
https://github.com/deadw00d/AROS.git
synced 2025-12-06 13:11:35 +00:00
- Now writes a command to the R8180REG_EEPROM register to allow the R8180REG_CONFIG3 register to be written. When that command was missing, writing to the R8180REG_CONFIG3 register only succeeded when R8180REG_EEPROM already had the right value by chance, perhaps from a previous opening of the device (the same command was written to R8180REG_EEPROM later in the initialisation code for another purpose). Furthermore, subsequent writing to the R8180REG_ANAPARAM* registers requires the write to R8180REG_CONFIG3 to succeed, so those registers were also not always initialised. Therefore, radio initialisation only succeeded intermittently, and as this problem was not detected or reported by the code, the device silently failed to send or receive any radio data on many openings. - Removed duplicate and possibly too early enabling of transmission, reception and interrupts.