Hello :)
Last week I've been testing:
- speed selection and autonegotiation on RTL8169
- other variant of chip: RTL8168
I've also added switch to 'nic' utility which allows to get autonegotiation
back after selecting speed/duplex mode manually and merged recent mainline
changes onto my branch.
Here's example output from my version of 'nic' utility:
/ # nic
[Index]: [Service Name]
0: devices/\hw\pci0\01:06.0\port0
MAC address: 48:02:2a:07:58:4c
Vendor name: Realtek
Model name: RTL8169
Link state: down
1: devices/\hw\pci0\02:00.0\port0
MAC address: 90:2b:34:5d:c8:96
Vendor name: Realtek
Model name: RTL8168
Link state: up
Speed: 100Mbps full-duplex
You can eg. select 10Mbps half-duplex using 'nic 1 speed 10' and 'nic 1
duplex half' and then go back to autonegotiated speed using 'nic 1 auto'.
On RTL8169, link drops for a second when changing speed or duplex mode.
There's also option to set MAC address, but it isn't working on any NIC. I
found that's probably caused by IPC deadlock or something like that (when
calling nic_set_addr, implementing functions calls nic_report_address which
probably causes system to hang).
Now I really need to do some more heavy testing, especially using TCP and
large transfers which is still tough due to my issues when using TCP client
apps (nterm) on HelenOS.
Agnieszka
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel