#
73fc635b |
|
16-Jul-2012 |
Fredrik Holmqvist <fredrik.holmqvist@gmail.com> |
Tick at 1000Hz not 1MHz. Our FreeBSD networking code defined hz to 1MHz and 1 tick = 1 / hz, but the clock code ticked 1 tick at 1000Hz. This caused all calculations that are done on ticks, autonegotiation and wlan scanning to be done very often as FreeBSD uses 1000 Hz (100Hz for ARM). Defaults for autonegotiation is 5 and 17 ticks. (Another interesting thing is that callouts are using 8% cpu...)
|
#
698b6790 |
|
08-Jul-2011 |
Siarzhuk Zharski <zharik@gmx.li> |
* Network driver for DEC/21143 and K° ("dc") ported from FreeBSD 8.2; * Network drivers for 3com, ipro100, rtl8139 are updated from FreeBSD 8.2 Release branch; * Some functions, defines and typedef required by updated and fresh ported FreeBSD drivers were added into freebsd_compat layer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42393 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
14627e08 |
|
22-Oct-2009 |
Colin Günther <coling@gmx.de> |
* reordering of headerfile inclusion to comply to FreeBSD 8 ordering. this makes porting driver (especially wifi ones) more convinient * based on FreeBSD svn revision 196691 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33739 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
31154c5c |
|
29-Oct-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed the KASSERT() macro - it panicked without reason. * Fixed device_set_driver(): it needs to clear the allocated buffer (it's allocated with M_ZERO in FreeBSD). * The first mbuf buffer needs to have the M_PKTHDR flag set. * With these changes, the 3com driver now fails where it should have failed before, that is in the missing interrupt handling. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22769 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f1d1b028 |
|
10-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: another go at multiple MII module support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21100 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7d1e0a1d |
|
09-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: fixed a couple warnings, use KernelStaticLibrary as suggested by Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21089 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
25d42ceb |
|
08-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: a few more definitions, preparing for a DMA-using driver. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21067 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
00212abe |
|
04-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: a few more methods, preparing for pcnet git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21026 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ac156738 |
|
03-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: added freebsd's busdma implementation. we are still missing MII and the ifp/ether methods. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20994 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
750ddafd |
|
02-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
initial work towards a FreeBSD network driver source level compatibility layer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20985 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
73fc635b3d87970ed7843eacd0ac7a5ffcac0e9b |
|
16-Jul-2012 |
Fredrik Holmqvist <fredrik.holmqvist@gmail.com> |
Tick at 1000Hz not 1MHz. Our FreeBSD networking code defined hz to 1MHz and 1 tick = 1 / hz, but the clock code ticked 1 tick at 1000Hz. This caused all calculations that are done on ticks, autonegotiation and wlan scanning to be done very often as FreeBSD uses 1000 Hz (100Hz for ARM). Defaults for autonegotiation is 5 and 17 ticks. (Another interesting thing is that callouts are using 8% cpu...)
|
#
698b6790bc0abe4faa133affee673a651fe60034 |
|
08-Jul-2011 |
Siarzhuk Zharski <zharik@gmx.li> |
* Network driver for DEC/21143 and K° ("dc") ported from FreeBSD 8.2; * Network drivers for 3com, ipro100, rtl8139 are updated from FreeBSD 8.2 Release branch; * Some functions, defines and typedef required by updated and fresh ported FreeBSD drivers were added into freebsd_compat layer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42393 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
14627e087b920676d05d45cec5f28688744e1fdb |
|
22-Oct-2009 |
Colin Günther <coling@gmx.de> |
* reordering of headerfile inclusion to comply to FreeBSD 8 ordering. this makes porting driver (especially wifi ones) more convinient * based on FreeBSD svn revision 196691 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33739 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
31154c5cc6e2351ebcc979bea3b7c5dc6cf5923c |
|
29-Oct-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed the KASSERT() macro - it panicked without reason. * Fixed device_set_driver(): it needs to clear the allocated buffer (it's allocated with M_ZERO in FreeBSD). * The first mbuf buffer needs to have the M_PKTHDR flag set. * With these changes, the 3com driver now fails where it should have failed before, that is in the missing interrupt handling. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22769 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f1d1b028f2fb6aa8a2b2291a1798e6332e39a6b8 |
|
10-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: another go at multiple MII module support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21100 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7d1e0a1da998c8f3d93b0b1bd08541901dcd3e23 |
|
09-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: fixed a couple warnings, use KernelStaticLibrary as suggested by Ingo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21089 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
25d42ceb99f745c136482397667bc9ebb6bd5013 |
|
08-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: a few more definitions, preparing for a DMA-using driver. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21067 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
00212abe1c16a1cd1fdef6f0fddb2a67e48af934 |
|
04-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: a few more methods, preparing for pcnet git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21026 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ac156738e97ccf179f4baa62cd2b27af10d2876c |
|
03-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
freebsd compat. layer: added freebsd's busdma implementation. we are still missing MII and the ifp/ether methods. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20994 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
750ddafd50d75eff1baf4e34ed5f037863fb9cdc |
|
02-May-2007 |
Hugo Santos <hugosantos@nowhere.fake> |
initial work towards a FreeBSD network driver source level compatibility layer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20985 a95241bf-73f2-0310-859d-f6bbb57e9c96
|