History log of /haiku-fatelf/src/add-ons/kernel/drivers/network/sis900/device.c
Revision Date Author Comments
# 323b6546 21-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Filtered flat import of Oliver's svn package management branch

Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
<directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.


# 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


# 400ba068 09-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Made sure load_driver_symbols() is not used anymore when building for Haiku;
it's a no-op, and I removed the prototype from KernelExport.h.


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


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

* Implemented ETHER_GETLINKSTATE; the link state is now tracked and can be reported.
* Made header self-containing.
* Minor cleanup.


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


# 7542e025 26-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Corrected the last commit: we actually use the value of *_length later,
so we shouldn't overwrite it with zero...
I must have tested an older version of the driver by accident; now it
actually works again under R5.


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


# 24e4add5 26-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

This partially removes the changes made in r7099:
Apparently, the net_server does not use read()/write() but the kernel
syscalls directly. Even worse, it obviously ignores error values like
B_WOULD_BLOCK - the return length has to be set even in case of error.
The driver did not work at all under R5 net_server since then...
Some other minor changes.


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


# 81012f63 26-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Mostly cleanup and style guide changes.


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


# 9bcc882a 09-Nov-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

changed stricmp to strcasecmp to fix the build.


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


# f390e6a3 20-Sep-2004 Axel Dörfler <axeld@pinc-software.de>

Fixed the build of the debug version of the driver. Thanks to Jerome for pointing this out.


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


# ac9d54bb 29-Mar-2004 Axel Dörfler <axeld@pinc-software.de>

Now actually sets the amount of bytes read when everything went okay (thanks
to Jack Burton for pointing this out).
No longer sets the length on error, since this value is not propagated to
the caller anyway in this case.


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


# 7f29148d 24-Oct-2003 Axel Dörfler <axeld@pinc-software.de>

You can now specify the link mode in the driver_settings for sis900. Supported
are duplex={full|half|auto} and speed={1|10|100|auto} - please note that you
either have to specify both as auto or none of them, or else it will fall
back to auto negotiation.


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


# a48d4d60 26-Sep-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix "no previous prototype" warnings about static functions...


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


# b263fa5a 12-May-2003 Axel Dörfler <axeld@pinc-software.de>

Added Jamfile and fixed all warnings that popped up when compiling with -Wall.


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


# c0f1a430 12-May-2003 Axel Dörfler <axeld@pinc-software.de>

Initial revision


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


# 323b65468e5836bb27a5e373b14027d902349437 21-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Filtered flat import of Oliver's svn package management branch

Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
<directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.


# 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


# 400ba068e0971623161ea2f939fd5ede8e5af25c 09-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Made sure load_driver_symbols() is not used anymore when building for Haiku;
it's a no-op, and I removed the prototype from KernelExport.h.


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


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

* Implemented ETHER_GETLINKSTATE; the link state is now tracked and can be reported.
* Made header self-containing.
* Minor cleanup.


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


# 7542e025d3e51cd6b4d8fa87d320b22b39d99600 26-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Corrected the last commit: we actually use the value of *_length later,
so we shouldn't overwrite it with zero...
I must have tested an older version of the driver by accident; now it
actually works again under R5.


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


# 24e4add56ff0eadb47de5594096fbba2da06bc3f 26-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

This partially removes the changes made in r7099:
Apparently, the net_server does not use read()/write() but the kernel
syscalls directly. Even worse, it obviously ignores error values like
B_WOULD_BLOCK - the return length has to be set even in case of error.
The driver did not work at all under R5 net_server since then...
Some other minor changes.


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


# 81012f638c573002e3d669a95c7752c0cbbc9510 26-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Mostly cleanup and style guide changes.


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


# 9bcc882ae1f6736d48c7ef170190d3e8cde89bd7 09-Nov-2004 Stefano Ceccherini <stefano.ceccherini@gmail.com>

changed stricmp to strcasecmp to fix the build.


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


# f390e6a3f7a392bff2d389811d2ab8455e9d26a8 20-Sep-2004 Axel Dörfler <axeld@pinc-software.de>

Fixed the build of the debug version of the driver. Thanks to Jerome for pointing this out.


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


# ac9d54bb9100082ec1b405b88183544495eeeea9 29-Mar-2004 Axel Dörfler <axeld@pinc-software.de>

Now actually sets the amount of bytes read when everything went okay (thanks
to Jack Burton for pointing this out).
No longer sets the length on error, since this value is not propagated to
the caller anyway in this case.


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


# 7f29148da071aa630cf0f6267e8198f3387de3f6 24-Oct-2003 Axel Dörfler <axeld@pinc-software.de>

You can now specify the link mode in the driver_settings for sis900. Supported
are duplex={full|half|auto} and speed={1|10|100|auto} - please note that you
either have to specify both as auto or none of them, or else it will fall
back to auto negotiation.


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


# a48d4d60560a4491d768a057355472d1ab389b9a 26-Sep-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix "no previous prototype" warnings about static functions...


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


# b263fa5a6351cbbdad089e11e07642531782c159 12-May-2003 Axel Dörfler <axeld@pinc-software.de>

Added Jamfile and fixed all warnings that popped up when compiling with -Wall.


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


# c0f1a4305311d9c0df73af4627152e0be02a7608 12-May-2003 Axel Dörfler <axeld@pinc-software.de>

Initial revision


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