Patent ID: 6992989

Claim:
A method for solving a mismatched negotiation result between an auto-negotiation mode and an enforce mode in a Ethernet, the method being applied to a local device with an auto-negotiation mode, the local device being connected to a remote device, the local device having a plurality of registers comprising at least an auto-negotiation advertisement register (ANAR) for recording information advertised to the remote device by the local device, and an auto-negotiation link partner ability register (ANLPAR) for recording an ability of the remote device, the method comprising steps of: (a) turning on the auto-negotiation mode; (b) determining whether the remote device is in the auto-negotiation mode; (c) setting contents of the ANAR register according to a transmission mode enforced by a user when the remote device is in the auto-negotiation mode; (d) restarting the auto-negotiation mode; (e) determining whether the contents of the ANAR and the ANLPAR registers are matched, and if the contents of the ANAR and the ANLPAR registers are matched proceeding to a step (f), and otherwise proceed to a step (g); (f) setting the local and the remote devices to be normally connected and terminating the method; and (g) disconnecting the local and the remote devices.