Modify

Opened 4 years ago

Last modified 4 years ago

#14783 new enhancement

Force PHY Settings on Atheros 7240 Ethernet Switch

Reported by: argento78 Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Attitude Adjustment 12.09
Keywords: Cc:

Description

Hello, I have a TP-LINK WR740N router with AR9331 SOC.

I also have a VOIP phone that does not autonegotiate very well with the ethernet ports. (Model Linksys SPA921)

I developed a patch on the file ag71xx_ar7240.c file to add attribute for forcing speed and half/full duplex settings for each port using the swconfig utility. Basically a write_phy function is called to modify the control register on the corresponding PHY.

This being the first time I do this I would like some feedback firstly if that is the correct place where the code belongs and secondly about syntax and general review.

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by Sanitariu

It will be very good if you add stuff like enable or disable port !!!
Where is the patch ?

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.