History log of /haiku-fatelf/src/add-ons/kernel/drivers/network/bcm440x/b44um.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


# 9fb2d737 23-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced B_32_BIT_MEMORY by B_32_BIT_FULL_LOCK and B_32_BIT_CONTIGUOUS, so
the constraint can be expressed more precisely. ATM B_32_BIT_FULL_LOCK is
implemented as B_32_BIT_CONTIGUOUS when B_HAIKU_PHYSICAL_BITS > 32, though.


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


# 24309cde 21-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed more issues with 64 bit physical addresses. Mostly by restricting
allocations to 32 bit.


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


# 64d79eff 27-May-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed physical_entry::{address,size} to phys_{addr,size}_t and changed
map_physical_memory()'s physicalAddress parameter type from void* to
phys_addr_t. This breaks source compatibility, but -- as long as
phys_{addr,size}_t remain 32 bit wide -- keeps binary compatibility with
BeOS.
* Adjusted all code using the affected interfaces (Oh what fun!). Added a few
TODOs in places where the wrong types (e.g. void* for physical addresses
are used). Looks like quite a few drivers aren't 64 bit safe and others
will break with PAE.


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


# d46597c7 19-Sep-2007 Jérôme Duval <korli@users.berlios.de>

correctly release resources on error in init, or on uninit
checks if pci module is present


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


# e58b9aef 25-May-2007 François Revol <revol@free.fr>

export api_version even though we don't support select() in them.


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


# e477dd18 08-May-2007 Jérôme Duval <korli@users.berlios.de>

now polls the link status for older revisions of bcm440x
inversed active status


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


# d752ee3b 07-May-2007 Jérôme Duval <korli@users.berlios.de>

added missing ioctl for handling link state change. I noted it's not supported on my bcm440x chipset


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


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

Forgot to set IFM_ETHER in all drivers; "ethernet" now also sets it just in case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20561 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


# 15fda8f5 03-Apr-2007 Jérôme Duval <korli@users.berlios.de>

implemented ETHER_GETLINKSTATE for bcm440x and bcm570x


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


# bf7d1aad 01-Jul-2006 Axel Dörfler <axeld@pinc-software.de>

Minor cleanup. When I see kernel code like this, I'm very tempted to delete
it altogether.


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


# e3c7dbaa 24-Mar-2005 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Added support for both varieties of the Broadcom 4401-B0 10/100 NIC.


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


# 7a480637 06-Feb-2005 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Added net_server compatibility to the Broadcom drivers (i.e. fixed non-blocking mode to actually work)


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


# 2e61f6d9 29-Nov-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Made things build again


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


# 1c5f7ab9 29-Nov-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Updated to version 3.0.8, improved (made work) nonblocking mode.


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


# d774d9a0 30-Sep-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

While we're modifying ether_driver.h, added in an ioctl for link state detection, and implemented it in the two Broadcom drivers.


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


# 58fcb06c 30-Sep-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Added the Broadcom 440x driver under the SubIncludeGPL rule.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9127 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


# 9fb2d73772382ea2ccfb62e912f9bfb9c39ac26d 23-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced B_32_BIT_MEMORY by B_32_BIT_FULL_LOCK and B_32_BIT_CONTIGUOUS, so
the constraint can be expressed more precisely. ATM B_32_BIT_FULL_LOCK is
implemented as B_32_BIT_CONTIGUOUS when B_HAIKU_PHYSICAL_BITS > 32, though.


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


# 24309cde24fb6937ebc305a67a6ef840e5565639 21-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed more issues with 64 bit physical addresses. Mostly by restricting
allocations to 32 bit.


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


# 64d79eff7290437d24b1a420537c3ed5c144ab96 27-May-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed physical_entry::{address,size} to phys_{addr,size}_t and changed
map_physical_memory()'s physicalAddress parameter type from void* to
phys_addr_t. This breaks source compatibility, but -- as long as
phys_{addr,size}_t remain 32 bit wide -- keeps binary compatibility with
BeOS.
* Adjusted all code using the affected interfaces (Oh what fun!). Added a few
TODOs in places where the wrong types (e.g. void* for physical addresses
are used). Looks like quite a few drivers aren't 64 bit safe and others
will break with PAE.


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


# d46597c7f2943ccd6eb95a72e1617e73e370a770 19-Sep-2007 Jérôme Duval <korli@users.berlios.de>

correctly release resources on error in init, or on uninit
checks if pci module is present


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


# e58b9aef6236d81f54d82302086fbdf4c800b24c 25-May-2007 François Revol <revol@free.fr>

export api_version even though we don't support select() in them.


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


# e477dd1845f2f80f7a839c9fe901a1b86bebb4be 08-May-2007 Jérôme Duval <korli@users.berlios.de>

now polls the link status for older revisions of bcm440x
inversed active status


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


# d752ee3be8a6c56ef59e2be6378d5fe908c11ec0 07-May-2007 Jérôme Duval <korli@users.berlios.de>

added missing ioctl for handling link state change. I noted it's not supported on my bcm440x chipset


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


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

Forgot to set IFM_ETHER in all drivers; "ethernet" now also sets it just in case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20561 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


# 15fda8f5474264c14309af77e9394399ea41bd00 03-Apr-2007 Jérôme Duval <korli@users.berlios.de>

implemented ETHER_GETLINKSTATE for bcm440x and bcm570x


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


# bf7d1aad69a821de3b318e46b453677b1c5c3ddb 01-Jul-2006 Axel Dörfler <axeld@pinc-software.de>

Minor cleanup. When I see kernel code like this, I'm very tempted to delete
it altogether.


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


# e3c7dbaabfa041c319dd65a435cbe6f7b4fae7d3 24-Mar-2005 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Added support for both varieties of the Broadcom 4401-B0 10/100 NIC.


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


# 7a480637d8cb6cf7b9a8c08a07059b8cdbefee28 06-Feb-2005 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Added net_server compatibility to the Broadcom drivers (i.e. fixed non-blocking mode to actually work)


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


# 2e61f6d9292df46304a472cf69d12930ac111bac 29-Nov-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Made things build again


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


# 1c5f7ab9d637897a1e2b221e1920193121801df0 29-Nov-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Updated to version 3.0.8, improved (made work) nonblocking mode.


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


# d774d9a0a1c99c89fa1a2dc401b15c8b40ec3c8a 30-Sep-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

While we're modifying ether_driver.h, added in an ioctl for link state detection, and implemented it in the two Broadcom drivers.


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


# 58fcb06c24acca6395fda6651d49f95b9b2ebe7d 30-Sep-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Added the Broadcom 440x driver under the SubIncludeGPL rule.


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