History log of /haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/device.c
Revision Date Author Comments
# 172971a1 23-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Switch link speed unit to bit/s to support low bitrate speed too
(hello slow dialup line...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39581 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 09b89797 01-May-2007 Hugo Santos <hugosantos@nowhere.fake>

added ADDMULTI/REMMULTI support to ipro1000. Also cleaned up the compat. layer a bit to reuse some of the system's definitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20960 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7c0eba5 04-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

we want the argument's contents, don't use the size of the pointer (this would even be 8 bytes in a 64 bits platform).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20560 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 183071ca 04-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

ipro1000 knows when its link state changes (notified by interrupt). Use ETHER_SET_LINK_STATE_SEM to wake the ethernet device link state notifier sooner.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20559 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e65e1529 03-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

set IFM_ACTIVE if ipro1000 has link and output media changes on update_link_state()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20552 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 36883c55 03-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

ipro1000: added ETHER_GET_LINK_STATE support

* use em_media_status to get link status
* added IFM_1000_SX (Fiber Optic) to net/if_media.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20551 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9206bb37 04-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

* Changed ETHER_GET_LINK_STATE ethernet driver interface, added ETHER_SET_LINK_STATE_SEM.
* The device interface list now uses class DoublyLinkedList instead of struct list.
* Implemented SIOC[SG]IFMEDIA for setting (not supported by any device yet), and
retrieving the device media information.
* Fixed a locking bug in list_domain_interfaces().
* Added new stack function device_link_changed() that should be called in case the
link state (media) changed.
* The ethernet device module now spawns a thread and will periodically check the media
state of all ethernet devices that support this (if any).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20546 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a34967de 03-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

Prepared implementation of ETHER_GETLINKSTATE - it would need a bit more work to
get it to work as intended, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20537 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5aa5ce24 12-Jun-2004 beveloper <beveloper@nowhere.fake>

Huge cleanup of debugging code. Also fixed a few warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7935 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6edb980a 24-May-2004 beveloper <beveloper@nowhere.fake>

small debugging output cleanup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7635 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 38f6c508 24-May-2004 beveloper <beveloper@nowhere.fake>

Revisited the mtu handling. Poor net_server users can now force a lower
MTU by using a setting file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7634 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87042aad 24-May-2004 beveloper <beveloper@nowhere.fake>

made mtu configureable and lowered default to 1500


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7633 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eefe75f2 09-May-2004 beveloper <beveloper@nowhere.fake>

Added license. Please be aware that previous versions without license were not free, as they were copyrighted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7467 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 720aa693 06-May-2004 beveloper <beveloper@nowhere.fake>

removed many compiler warnings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7435 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6ba61f71 03-May-2004 beveloper <beveloper@nowhere.fake>

The device driver interface to the network stack, either BeOS R5, BONE, or OpenBeOS.
Initialized attaches and detaches the core driver, sends and receives packets


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7395 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 172971a18fc072efbbe9e3bd997bbecef4b7e31f 23-Nov-2010 Philippe Houdoin <philippe.houdoin@gmail.com>

Switch link speed unit to bit/s to support low bitrate speed too
(hello slow dialup line...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39581 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 09b89797afe0af65822df50011079e16ca8b99b4 01-May-2007 Hugo Santos <hugosantos@nowhere.fake>

added ADDMULTI/REMMULTI support to ipro1000. Also cleaned up the compat. layer a bit to reuse some of the system's definitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20960 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b7c0eba5712c68f24530e4818d2ed6b7d0a48d71 04-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

we want the argument's contents, don't use the size of the pointer (this would even be 8 bytes in a 64 bits platform).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20560 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 183071cab35b14fd2e66dc1206f4fdc380db23e3 04-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

ipro1000 knows when its link state changes (notified by interrupt). Use ETHER_SET_LINK_STATE_SEM to wake the ethernet device link state notifier sooner.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20559 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e65e15292caac521a8c97bda9ade0faf72fef37f 03-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

set IFM_ACTIVE if ipro1000 has link and output media changes on update_link_state()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20552 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 36883c5516b32b512b9034a561e00b3bed50eb0b 03-Apr-2007 Hugo Santos <hugosantos@nowhere.fake>

ipro1000: added ETHER_GET_LINK_STATE support

* use em_media_status to get link status
* added IFM_1000_SX (Fiber Optic) to net/if_media.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20551 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9206bb37797df1a6448d3f1c336e954b4ddb790d 04-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

* Changed ETHER_GET_LINK_STATE ethernet driver interface, added ETHER_SET_LINK_STATE_SEM.
* The device interface list now uses class DoublyLinkedList instead of struct list.
* Implemented SIOC[SG]IFMEDIA for setting (not supported by any device yet), and
retrieving the device media information.
* Fixed a locking bug in list_domain_interfaces().
* Added new stack function device_link_changed() that should be called in case the
link state (media) changed.
* The ethernet device module now spawns a thread and will periodically check the media
state of all ethernet devices that support this (if any).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20546 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a34967de860ba059df8274413c3ae9bc570ca3d9 03-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

Prepared implementation of ETHER_GETLINKSTATE - it would need a bit more work to
get it to work as intended, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20537 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5aa5ce24e2adc2c1b0803e66ffba1748bc86de8f 12-Jun-2004 beveloper <beveloper@nowhere.fake>

Huge cleanup of debugging code. Also fixed a few warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7935 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6edb980aab47e9fa7e450359c040ed997200381c 24-May-2004 beveloper <beveloper@nowhere.fake>

small debugging output cleanup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7635 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 38f6c508a90e5dd1150905e25ba48882689db717 24-May-2004 beveloper <beveloper@nowhere.fake>

Revisited the mtu handling. Poor net_server users can now force a lower
MTU by using a setting file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7634 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87042aadbe74e5838f1b242cb3fdbae9afc95836 24-May-2004 beveloper <beveloper@nowhere.fake>

made mtu configureable and lowered default to 1500


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7633 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eefe75f24bf8b53e81f2fa645f3ef7676eaf4214 09-May-2004 beveloper <beveloper@nowhere.fake>

Added license. Please be aware that previous versions without license were not free, as they were copyrighted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7467 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 720aa693898dc7d6ab8b004e8c7c8d5889f85001 06-May-2004 beveloper <beveloper@nowhere.fake>

removed many compiler warnings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7435 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6ba61f712faade383a111b7d974908756444ff03 03-May-2004 beveloper <beveloper@nowhere.fake>

The device driver interface to the network stack, either BeOS R5, BONE, or OpenBeOS.
Initialized attaches and detaches the core driver, sends and receives packets


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7395 a95241bf-73f2-0310-859d-f6bbb57e9c96