History log of /haiku/src/add-ons/kernel/drivers/misc/test.c
Revision Date Author Comments
# 805eb54a 08-Mar-2023 Oscar Lesta <oscar.lesta@gmail.com>

drivers: remove uninit_hardware() from misc/kdl and misc/test

GCC complained of missing prototype for "uninit_hardware()" and,
as -Werror is enabled for these targets, build was broken for them.

While src/system/kernel/device_manager/legacy_drivers.cpp supports
that hook in legacy drivers binaries:

- no header mentions it.
- these two were the only places in-tree that implemented that hook.
- both were basically no-ops.

Change-Id: Ifb08846351b92a2d0fbbe95db2eee0e424ae5997
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6180
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# e1a5a1db 26-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* Fixed publish_devices(): the last entry is supposed to be NULL, not
"".
* Added uninit_hardware() hook.


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


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

remove executable bit on test.c
clean up poke.c
don't need to check the module in uninit_driver()



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


# 099c5d28 24-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

reproduceable testcase for bug #1168


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


# 849f7af4 23-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

a test driver for driver testing


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


# e1a5a1db60a34878bb5858d92d915eb04923dbfe 26-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* Fixed publish_devices(): the last entry is supposed to be NULL, not
"".
* Added uninit_hardware() hook.


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


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

remove executable bit on test.c
clean up poke.c
don't need to check the module in uninit_driver()



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


# 099c5d288c34eef66ccfca1fdc392b38ccf2776d 24-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

reproduceable testcase for bug #1168


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


# 849f7af437cc85898daafafba27f413867c2b010 23-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

a test driver for driver testing


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