[openbeosnetteam] Re: fix sis900 to 10mbit

Hi Rob,

> Due to some hardware problems I can only get my ethernet (+internet) 
> working if I fix my ethernet adapter to 10mbit.
> 
> I am using Beosmax v3 right now, and with the sis900 binary drivers, I 
> can't shut off the autonegotiation.
> 
> I saw it should be possible to change the network speed with the 
> openbeos drivers. Therefore I downloaded openbeos(in Linux), and build 
> the sis900 drivers. The driver works fine with Beosmax.
> * does the driver_settings api works with Beosmax? 

Yep, absolutly. driver settings API is there since BeOS R4.5 IIRC.

> If yes, is there any 
> example available?

According to Axel Dorfler's source code in current/src/add-
ons/kernel/drivers/network/sis900/device.c, his driver support two settings:

duplex auto (default) | half | full 
speed auto (default) | 100 | 10 | 1

To force the OBOS sis900 driver to use a 10Mb link speed, just create 
a /boot/home/config/settings/kernel/drivers/sis900 file, with this simple line 
in it:

speed 10

Then reboot. Or you may try to just force the sis900 driver to be reloaded by 
kernel, thru a Terminal command:

$ rescan sis900

Anyway, thanks for pointing at a missing sample settings file for this driver.
We'll try to add one in OBOS CVS soon.

Tell us how it comes.

- Philippe Houdoin, OBOS network team leader.

Other related posts: