History log of /haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/if_em_osdep.c
Revision Date Author Comments
# b0884f0c 07-Aug-2008 Axel Dörfler <axeld@pinc-software.de>

* Fixed a ton of wrong usages of B_CONTIGUOUS + B_FULL_LOCK.
* The use of B_{READ|WRITE}_AREA throughout the drivers is surely alarming.
Defining these flags means that *every user* application can access these
buffers read/write, it becomes visible in userspace like any other memory
(just shared among all apps). I would like to ask each driver maintainer
to see if that is really wished here. If you only need one app to be able
to access it, cloning the area would be more appropriate.
* I came across the use of B_ANY_KERNEL_BLOCK_ADDRESS a number of times. This
is almost completely useless for most usages, as it tries to align the
virtual to a multiple of the size of the area. It just makes the allocation
more likely to fail. Please only use where appropriate, and please review
your code.
* Minor cleanup.


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


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

Added a new timer function which can be used similar to the BeOS kernel add_timer function.
The difference is that these callback functions will be executed in thread (not interrupt) context,
and that they shouldn't crash (as add_timer does).
Integrated the timer funtions into the timeout() and untimeout() FreeBSD emulation framework.


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


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

the add_timer() function does panic, also it would call the hook in interrupt context, both it not acceptable. Commented it out


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


# 5f1aaa70 03-May-2004 beveloper <beveloper@nowhere.fake>

added some BeOS compatiblity stuff for settings up resources, PCI access, Interrupt handling, etc...


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


# b0884f0cb812cdaf8035e6028f69dcf0d7721953 07-Aug-2008 Axel Dörfler <axeld@pinc-software.de>

* Fixed a ton of wrong usages of B_CONTIGUOUS + B_FULL_LOCK.
* The use of B_{READ|WRITE}_AREA throughout the drivers is surely alarming.
Defining these flags means that *every user* application can access these
buffers read/write, it becomes visible in userspace like any other memory
(just shared among all apps). I would like to ask each driver maintainer
to see if that is really wished here. If you only need one app to be able
to access it, cloning the area would be more appropriate.
* I came across the use of B_ANY_KERNEL_BLOCK_ADDRESS a number of times. This
is almost completely useless for most usages, as it tries to align the
virtual to a multiple of the size of the area. It just makes the allocation
more likely to fail. Please only use where appropriate, and please review
your code.
* Minor cleanup.


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


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

Added a new timer function which can be used similar to the BeOS kernel add_timer function.
The difference is that these callback functions will be executed in thread (not interrupt) context,
and that they shouldn't crash (as add_timer does).
Integrated the timer funtions into the timeout() and untimeout() FreeBSD emulation framework.


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


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

the add_timer() function does panic, also it would call the hook in interrupt context, both it not acceptable. Commented it out


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


# 5f1aaa70ceafb56a5a85be77ff7550e75aee5090 03-May-2004 beveloper <beveloper@nowhere.fake>

added some BeOS compatiblity stuff for settings up resources, PCI access, Interrupt handling, etc...


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