Searched +hist:2 +hist:b07b8e0 (Results 1 - 25 of 35) sorted by relevance
/haiku/src/add-ons/kernel/bus_managers/scsi/ | ||
H A D | wrapper.h | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | scsi_internal.h | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 402a4a4e Sun Aug 26 13:57:51 MDT 2007 Marcus Overhagen <marcusoverhagen@gmail.com> Set scsi target id limit to 16, was previously hardcoded to 2. Add a node attribute to allow overriding this value. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22071 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 402a4a4e7bb8c9d69d8edef436cc547c7841acb0 Sun Aug 26 13:57:51 MDT 2007 Marcus Overhagen <marcusoverhagen@gmail.com> Set scsi target id limit to 16, was previously hardcoded to 2. Add a node attribute to allow overriding this value. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22071 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/generic/locked_pool/ | ||
H A D | locked_pool.c | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/network/protocols/unix/ | ||
H A D | UnixEndpoint.h | diff fb3e35fc Thu Jan 22 20:05:15 MST 2009 Michael Lotz <mmlr@mlotz.ch> Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2 build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff fb3e35fcec1ef41b413b3b121764509f436dee4d Thu Jan 22 20:05:15 MST 2009 Michael Lotz <mmlr@mlotz.ch> Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2 build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | UnixEndpoint.cpp | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/bus_managers/usb/ | ||
H A D | PhysicalMemoryAllocator.h | diff 6eba0636 Sun Feb 22 13:46:27 MST 2009 Michael Lotz <mmlr@mlotz.ch> * Added simplified possibility to schedule UHCI transfers from within KDL. * Added debugger commands to resolve usb_ids to pipes. * Adjusted the physical memory allocator to be usable in a slimmed down mode when running inside the kernel debugger. * Implemented USB keyboard support for KDL through a kernel debugger add-on. * Added kgetc() and made use of it where previously individual methods were used to ensure that reading characters always goes through the kernel debugger add-ons and the other methods. This has some preconditions to meet though: 1) The keyboard must be in the boot protocol (currently the case but needs to be revisited once we have a full usb_hid). 2) The keyboard must be attached to a UHCI root port (i.e. not use EHCI or OHCI, also not through hubs unless those are USB 1.1). 3) the usb_hid driver has to be opened for this to work. This means that for the time between initializing USB and when usb_hid is opened by the input_server there is no keyboard support. Also note that this has no way of detecting hot-plug, meaning that you can't re-attach your USB keyboard from the hub to the root port once in KDL. On the bright side of things, since this is a non-destructive mechanism it is possible to enter and leave KDL without loosing the USB state. Tested OK in QEMU, not tested on real hardware yet, will see in a few minutes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29291 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 6eba063647cc4ff5aa863e1b5dc5093c22a3acb0 Sun Feb 22 13:46:27 MST 2009 Michael Lotz <mmlr@mlotz.ch> * Added simplified possibility to schedule UHCI transfers from within KDL. * Added debugger commands to resolve usb_ids to pipes. * Adjusted the physical memory allocator to be usable in a slimmed down mode when running inside the kernel debugger. * Implemented USB keyboard support for KDL through a kernel debugger add-on. * Added kgetc() and made use of it where previously individual methods were used to ensure that reading characters always goes through the kernel debugger add-ons and the other methods. This has some preconditions to meet though: 1) The keyboard must be in the boot protocol (currently the case but needs to be revisited once we have a full usb_hid). 2) The keyboard must be attached to a UHCI root port (i.e. not use EHCI or OHCI, also not through hubs unless those are USB 1.1). 3) the usb_hid driver has to be opened for this to work. This means that for the time between initializing USB and when usb_hid is opened by the input_server there is no keyboard support. Also note that this has no way of detecting hot-plug, meaning that you can't re-attach your USB keyboard from the hub to the root port once in KDL. On the bright side of things, since this is a non-destructive mechanism it is possible to enter and leave KDL without loosing the USB state. Tested OK in QEMU, not tested on real hardware yet, will see in a few minutes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29291 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | PhysicalMemoryAllocator.cpp | diff 93904285 Mon Dec 23 13:31:34 MST 2019 Augustin Cavalier <waddlesplash@gmail.com> USB: Add overall timeout to the PhysicalMemoryAllocator. The within-an-attempt timeout did not successfully break up deadlocks that occur on a system with a lot of USB transfers going, as we may never hit 2 seconds in between wake-ups, but the size requested may be un-fulfillable regardless. So, now we have a 2-second overall timeout. This fixes the system freeze in #15569, but now attached USB disk drives enter a Stall state, making the system unusable anyway. diff 93904285 Mon Dec 23 13:31:34 MST 2019 Augustin Cavalier <waddlesplash@gmail.com> USB: Add overall timeout to the PhysicalMemoryAllocator. The within-an-attempt timeout did not successfully break up deadlocks that occur on a system with a lot of USB transfers going, as we may never hit 2 seconds in between wake-ups, but the size requested may be un-fulfillable regardless. So, now we have a 2-second overall timeout. This fixes the system freeze in #15569, but now attached USB disk drives enter a Stall state, making the system unusable anyway. diff da8c1a9a Fri Feb 22 11:29:40 MST 2019 Augustin Cavalier <waddlesplash@gmail.com> USB: Don't loop endlessly waiting for a physical buffer. This is used quite a lot in critical transfer paths, so we don't want to lock things up if no buffers are available for whatever reason. Wait 2 seconds, and if we didn't get anything by then, return B_NO_MEMORY. Possibly fixes or helps with certain USB-related lockups. diff 6eba0636 Sun Feb 22 13:46:27 MST 2009 Michael Lotz <mmlr@mlotz.ch> * Added simplified possibility to schedule UHCI transfers from within KDL. * Added debugger commands to resolve usb_ids to pipes. * Adjusted the physical memory allocator to be usable in a slimmed down mode when running inside the kernel debugger. * Implemented USB keyboard support for KDL through a kernel debugger add-on. * Added kgetc() and made use of it where previously individual methods were used to ensure that reading characters always goes through the kernel debugger add-ons and the other methods. This has some preconditions to meet though: 1) The keyboard must be in the boot protocol (currently the case but needs to be revisited once we have a full usb_hid). 2) The keyboard must be attached to a UHCI root port (i.e. not use EHCI or OHCI, also not through hubs unless those are USB 1.1). 3) the usb_hid driver has to be opened for this to work. This means that for the time between initializing USB and when usb_hid is opened by the input_server there is no keyboard support. Also note that this has no way of detecting hot-plug, meaning that you can't re-attach your USB keyboard from the hub to the root port once in KDL. On the bright side of things, since this is a non-destructive mechanism it is possible to enter and leave KDL without loosing the USB state. Tested OK in QEMU, not tested on real hardware yet, will see in a few minutes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29291 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 6eba063647cc4ff5aa863e1b5dc5093c22a3acb0 Sun Feb 22 13:46:27 MST 2009 Michael Lotz <mmlr@mlotz.ch> * Added simplified possibility to schedule UHCI transfers from within KDL. * Added debugger commands to resolve usb_ids to pipes. * Adjusted the physical memory allocator to be usable in a slimmed down mode when running inside the kernel debugger. * Implemented USB keyboard support for KDL through a kernel debugger add-on. * Added kgetc() and made use of it where previously individual methods were used to ensure that reading characters always goes through the kernel debugger add-ons and the other methods. This has some preconditions to meet though: 1) The keyboard must be in the boot protocol (currently the case but needs to be revisited once we have a full usb_hid). 2) The keyboard must be attached to a UHCI root port (i.e. not use EHCI or OHCI, also not through hubs unless those are USB 1.1). 3) the usb_hid driver has to be opened for this to work. This means that for the time between initializing USB and when usb_hid is opened by the input_server there is no keyboard support. Also note that this has no way of detecting hot-plug, meaning that you can't re-attach your USB keyboard from the hub to the root port once in KDL. On the bright side of things, since this is a non-destructive mechanism it is possible to enter and leave KDL without loosing the USB state. Tested OK in QEMU, not tested on real hardware yet, will see in a few minutes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29291 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/ | ||
H A D | nbd.c | diff f3814567 Fri Oct 31 09:45:31 MDT 2014 Adrien Destugues <pulkomandy@gmail.com> Fix errors when building with DEBUG=2 Fixes #8306. Please define DEBUG in UserBuildConfig or Jamfiles if needed. diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff f3814567402774e6d92af11d4e40bcbc3b1cb4dd Fri Oct 31 09:45:31 MDT 2014 Adrien Destugues <pulkomandy@gmail.com> Fix errors when building with DEBUG=2 Fixes #8306. Please define DEBUG in UserBuildConfig or Jamfiles if needed. diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/ | ||
H A D | usb_disk.h | diff d2e5fc7f Fri Jun 24 06:58:13 MDT 2022 Jérôme Duval <jerome.duval@gmail.com> usb_disk: add support for drives bigger than 2TB * tested read/write with a NTFS partition at the end of a 5TB USB hard disk. * fix #14670 Change-Id: Ic005dfb7ef94b50a2d6fc8099ef5c83ec6b4a730 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5397 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | usb_disk.cpp | diff d2e5fc7f Fri Jun 24 06:58:13 MDT 2022 Jérôme Duval <jerome.duval@gmail.com> usb_disk: add support for drives bigger than 2TB * tested read/write with a NTFS partition at the end of a 5TB USB hard disk. * fix #14670 Change-Id: Ic005dfb7ef94b50a2d6fc8099ef5c83ec6b4a730 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5397 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> diff 9b9cb227 Mon Oct 08 05:54:07 MDT 2012 Axel Dörfler <axeld@pinc-software.de> Consolidated and fixed device_geometry computation. * The only implementation that would accept more than 2 TB was the one in scsi_disk. But even that one was limited to 63 TB. * Now there is a new utility function devfs_compute_geometry_size() which does it correctly for sizes up to 2^64 which should be good enough for quite some time :-) * This fixes bug #8992. diff 9b9cb227 Mon Oct 08 05:54:07 MDT 2012 Axel Dörfler <axeld@pinc-software.de> Consolidated and fixed device_geometry computation. * The only implementation that would accept more than 2 TB was the one in scsi_disk. But even that one was limited to 63 TB. * Now there is a new utility function devfs_compute_geometry_size() which does it correctly for sizes up to 2^64 which should be good enough for quite some time :-) * This fixes bug #8992. diff 7f579914 Sat Aug 22 10:12:36 MDT 2009 Michael Lotz <mmlr@mlotz.ch> Enlarge the timeout for data transfers. It was 2 seconds before and under a bit of load, when using large enough block sizes or when simply having a slow device this is by far not enough. It is now at 15 seconds, which should reduce timeout problems to those cases where the device actually get's stuck (because of us doing something wrong). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32615 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 5c5b7a57 Tue Jul 01 13:21:59 MDT 2008 Michael Lotz <mmlr@mlotz.ch> While the comment was correct with regards to collecting the semaphore after the cancel, it wasn't actually done. This could bring a device out of sync in the case timeouts actually happened (which shouldn't be a commen case). Fixed that and increased the timeout to 2 seconds in favor of slower devices. Might need some fine tuning later still. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26197 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 9b9cb227c7835fa55076dafac035a25e30b089ff Mon Oct 08 05:54:07 MDT 2012 Axel Dörfler <axeld@pinc-software.de> Consolidated and fixed device_geometry computation. * The only implementation that would accept more than 2 TB was the one in scsi_disk. But even that one was limited to 63 TB. * Now there is a new utility function devfs_compute_geometry_size() which does it correctly for sizes up to 2^64 which should be good enough for quite some time :-) * This fixes bug #8992. diff 9b9cb227c7835fa55076dafac035a25e30b089ff Mon Oct 08 05:54:07 MDT 2012 Axel Dörfler <axeld@pinc-software.de> Consolidated and fixed device_geometry computation. * The only implementation that would accept more than 2 TB was the one in scsi_disk. But even that one was limited to 63 TB. * Now there is a new utility function devfs_compute_geometry_size() which does it correctly for sizes up to 2^64 which should be good enough for quite some time :-) * This fixes bug #8992. diff 7f5799140f536653f5f5bf15057e263d7d6a2eda Sat Aug 22 10:12:36 MDT 2009 Michael Lotz <mmlr@mlotz.ch> Enlarge the timeout for data transfers. It was 2 seconds before and under a bit of load, when using large enough block sizes or when simply having a slow device this is by far not enough. It is now at 15 seconds, which should reduce timeout problems to those cases where the device actually get's stuck (because of us doing something wrong). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32615 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ | ||
H A D | SerialDevice.h | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | SerialDevice.cpp | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/generic/scsi_periph/ | ||
H A D | scsi_periph_int.h | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/headers/private/net/ | ||
H A D | ProtocolUtilities.h | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/headers/private/kernel/util/ | ||
H A D | AutoLock.h | diff 4535495d Mon Jan 10 14:54:38 MST 2011 Ingo Weinhold <ingo_weinhold@gmx.de> Merged the signals branch into trunk, with these changes: * The team and thread kernel structures have been renamed to Team and Thread respectively and moved into the new BKernel namespace. * Several (kernel add-on) sources have been converted from C to C++ since private kernel headers are included that are no longer C compatible. Changes after merging: * Fixed gcc 2 build (warnings mainly in the scary firewire bus manager). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40196 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b2ec438 Mon Mar 26 18:05:33 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> * Moved the AutoLocker class out of the kernel/utils/AutoLock.h header into its own shared/AutoLocker.h. It can be used by userland code too. * Removed headers/private/shared/ObjectLocker.h and replaced all uses of BObjectLocker by AutoLocker. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20432 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4535495d80c86e19e2610e7444a4fcefe3e0f8e6 Mon Jan 10 14:54:38 MST 2011 Ingo Weinhold <ingo_weinhold@gmx.de> Merged the signals branch into trunk, with these changes: * The team and thread kernel structures have been renamed to Team and Thread respectively and moved into the new BKernel namespace. * Several (kernel add-on) sources have been converted from C to C++ since private kernel headers are included that are no longer C compatible. Changes after merging: * Fixed gcc 2 build (warnings mainly in the scary firewire bus manager). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40196 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b2ec4382a637811afeb5a4fa812052aef2779c6 Mon Mar 26 18:05:33 MDT 2007 Ingo Weinhold <ingo_weinhold@gmx.de> * Moved the AutoLocker class out of the kernel/utils/AutoLock.h header into its own shared/AutoLocker.h. It can be used by userland code too. * Removed headers/private/shared/ObjectLocker.h and replaced all uses of BObjectLocker by AutoLocker. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20432 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/network/stack/ | ||
H A D | utility.cpp | diff 4535495d Mon Jan 10 14:54:38 MST 2011 Ingo Weinhold <ingo_weinhold@gmx.de> Merged the signals branch into trunk, with these changes: * The team and thread kernel structures have been renamed to Team and Thread respectively and moved into the new BKernel namespace. * Several (kernel add-on) sources have been converted from C to C++ since private kernel headers are included that are no longer C compatible. Changes after merging: * Fixed gcc 2 build (warnings mainly in the scary firewire bus manager). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40196 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2bd388f6 Wed Nov 29 12:09:19 MST 2006 Axel Dörfler <axeld@pinc-software.de> Added two more utility functions to the timer service: * cancel_timer() cancels a timer, and returns true if the timer was running * is_timer_active() determines if the timer is currently running or not. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19393 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 4535495d80c86e19e2610e7444a4fcefe3e0f8e6 Mon Jan 10 14:54:38 MST 2011 Ingo Weinhold <ingo_weinhold@gmx.de> Merged the signals branch into trunk, with these changes: * The team and thread kernel structures have been renamed to Team and Thread respectively and moved into the new BKernel namespace. * Several (kernel add-on) sources have been converted from C to C++ since private kernel headers are included that are no longer C compatible. Changes after merging: * Fixed gcc 2 build (warnings mainly in the scary firewire bus manager). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40196 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2bd388f69679fcc496cb2c376d7ec5ec20be6f72 Wed Nov 29 12:09:19 MST 2006 Axel Dörfler <axeld@pinc-software.de> Added two more utility functions to the timer service: * cancel_timer() cancels a timer, and returns true if the timer was running * is_timer_active() determines if the timer is currently running or not. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19393 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | link.cpp | diff 2cae3e88 Wed Dec 08 16:35:45 MST 2010 Axel Dörfler <axeld@pinc-software.de> * SIOCGIFMEDIA now also works on the AF_LINK level. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39776 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b415445 Wed Aug 04 04:35:40 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * Finished groundwork on ICMP by introducing a completely protocol agnostic error mechanism. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37896 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 03e02ed9 Tue Aug 03 05:23:03 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * Introduced a datalink layer (2) independent way of specifying the packet type one wants to receive. Changed ipv6_datagram to use that (but note that it currently does not compile). * Header cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37868 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2e71ef29 Sat Dec 27 13:41:06 MST 2008 Axel Dörfler <axeld@pinc-software.de> * Minor cleanup, removed TODO that doesn't make much sense. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28824 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2cae3e8847f05662334e50b9a43627cc0043afec Wed Dec 08 16:35:45 MST 2010 Axel Dörfler <axeld@pinc-software.de> * SIOCGIFMEDIA now also works on the AF_LINK level. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39776 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b4154458a820aa0b55b2800de9f0a13ea6ec1e2 Wed Aug 04 04:35:40 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * Finished groundwork on ICMP by introducing a completely protocol agnostic error mechanism. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37896 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 03e02ed9836f03018a146f791ee65a3ec3ab7842 Tue Aug 03 05:23:03 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * Introduced a datalink layer (2) independent way of specifying the packet type one wants to receive. Changed ipv6_datagram to use that (but note that it currently does not compile). * Header cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37868 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2e71ef292f09548381048d1c79e7e3172e72667c Sat Dec 27 13:41:06 MST 2008 Axel Dörfler <axeld@pinc-software.de> * Minor cleanup, removed TODO that doesn't make much sense. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28824 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | routes.cpp | diff 2b1c0755 Tue Aug 03 09:51:54 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * Renamed the proprietary SIOC_* ioctls to B_SOCKET_* - no reason to pollute global name space, and have ugly identifiers for nothing :-) * Added a flags field to struct ifaliasreq. Added flags to mark an alias that is currently being configured, or has been automatically configured. Those flags aren't used yet, but they will replace IFF_CONFIGURING and friends. * Implemented deleting addresses only from interfaces via ifconfig. * Added more command aliases for delete to ifconfig ("del", and "delete", for more consistency with route). * Fixed control_routes() to only release a reference to an address if it actually got one before. * If an interface address is deleted, its routes are now removed as well. * InterfaceAddress now holds a reference to its interface as planned. * Implemented removing interfaces. Works quite nicely. * When downing an interface, all of its routes are now removed. When upping it again, at least the default routes are added. * datalink.cpp's get_interface_name_or_index() leaked a reference to the interface found. * SIOCAIFADDR would also leak a reference when new addresses were added. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37872 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2e095ebc Sun Jan 03 12:12:01 MST 2010 Axel Dörfler <axeld@pinc-software.de> * Removed an assert that will now always trigger (due to the DoublyLinkedList changes). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34878 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2d55afcd Sat Mar 31 18:06:16 MDT 2007 Axel Dörfler <axeld@pinc-software.de> Support getting route information for a specific destination using SIOCGETRT. Patch by Hugo Santos. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20494 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b1c0755dd452db665050fdbbe06549e7e8c9c38 Tue Aug 03 09:51:54 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * Renamed the proprietary SIOC_* ioctls to B_SOCKET_* - no reason to pollute global name space, and have ugly identifiers for nothing :-) * Added a flags field to struct ifaliasreq. Added flags to mark an alias that is currently being configured, or has been automatically configured. Those flags aren't used yet, but they will replace IFF_CONFIGURING and friends. * Implemented deleting addresses only from interfaces via ifconfig. * Added more command aliases for delete to ifconfig ("del", and "delete", for more consistency with route). * Fixed control_routes() to only release a reference to an address if it actually got one before. * If an interface address is deleted, its routes are now removed as well. * InterfaceAddress now holds a reference to its interface as planned. * Implemented removing interfaces. Works quite nicely. * When downing an interface, all of its routes are now removed. When upping it again, at least the default routes are added. * datalink.cpp's get_interface_name_or_index() leaked a reference to the interface found. * SIOCAIFADDR would also leak a reference when new addresses were added. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37872 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2e095ebca84962e43b13571da3f4a5af43549559 Sun Jan 03 12:12:01 MST 2010 Axel Dörfler <axeld@pinc-software.de> * Removed an assert that will now always trigger (due to the DoublyLinkedList changes). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34878 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2d55afcdf7379a36f3eb63515ef347139949565d Sat Mar 31 18:06:16 MDT 2007 Axel Dörfler <axeld@pinc-software.de> Support getting route information for a specific destination using SIOCGETRT. Patch by Hugo Santos. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20494 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
H A D | stack.cpp | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2bd388f6 Wed Nov 29 12:09:19 MST 2006 Axel Dörfler <axeld@pinc-software.de> Added two more utility functions to the timer service: * cancel_timer() cancels a timer, and returns true if the timer was running * is_timer_active() determines if the timer is currently running or not. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19393 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2bd388f69679fcc496cb2c376d7ec5ec20be6f72 Wed Nov 29 12:09:19 MST 2006 Axel Dörfler <axeld@pinc-software.de> Added two more utility functions to the timer service: * cancel_timer() cancels a timer, and returns true if the timer was running * is_timer_active() determines if the timer is currently running or not. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19393 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/network/devices/ethernet/ | ||
H A D | ethernet.cpp | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b1c2dd3 Tue May 01 18:41:00 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> when 0 is specified as the interface index with the generic multicast delta API, the stack should select an interface for the application. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20967 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b1c2dd349b8d96486de50054793bce91b489d1c Tue May 01 18:41:00 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> when 0 is specified as the interface index with the generic multicast delta API, the stack should select an interface for the application. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20967 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/drivers/bus/usb/ | ||
H A D | usb_raw.cpp | diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/headers/private/kernel/ | ||
H A D | lock.h | diff 2ea2527f Thu Dec 31 10:03:41 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> R/W lock implementation: * Changed the rw_lock_{read,write}_unlock() return values to void. They returned a value != B_OK only in case of user error and no-one checked them anyway. * Optimized rw_lock_read_[un]lock(). They are inline now and as long as there's no contending write locker, they will only perform an atomic_add(). * Changed the semantics of nested locking after acquiring a write lock: Read and write locks are counted separately, so read locks no longer implicitly become write locks. This does e.g. make degrading a write lock to a read lock by way of read_lock + write_unlock (as used in the VM) actually work. These changes speed up the -j8 Haiku image build on my machine by a few percent, but more interestingly they reduce the total kernel time by 25 %. Apparently we get more contention on other locks, now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34830 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2daa4194 Wed May 28 20:10:10 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Added macros for static initialization of mutexes, recursive locks, and R/W locks. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25691 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b14cdd1 Tue Sep 25 10:41:52 MDT 2007 Axel Dörfler <axeld@pinc-software.de> * Added a mutex_trylock() function. * Replaced release_sem() with release_sem_etc() for future addition of the B_DO_NOT_RESCHEDULE flag. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22308 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2ea2527fe423046558f682ebabede8f959a875e3 Thu Dec 31 10:03:41 MST 2009 Ingo Weinhold <ingo_weinhold@gmx.de> R/W lock implementation: * Changed the rw_lock_{read,write}_unlock() return values to void. They returned a value != B_OK only in case of user error and no-one checked them anyway. * Optimized rw_lock_read_[un]lock(). They are inline now and as long as there's no contending write locker, they will only perform an atomic_add(). * Changed the semantics of nested locking after acquiring a write lock: Read and write locks are counted separately, so read locks no longer implicitly become write locks. This does e.g. make degrading a write lock to a read lock by way of read_lock + write_unlock (as used in the VM) actually work. These changes speed up the -j8 Haiku image build on my machine by a few percent, but more interestingly they reduce the total kernel time by 25 %. Apparently we get more contention on other locks, now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34830 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2daa4194d49584a2cb9fe2df6c3400081f44f5a9 Wed May 28 20:10:10 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> Added macros for static initialization of mutexes, recursive locks, and R/W locks. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25691 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b14cdd11c11de04514d1a92a3681abf8d284cfd Tue Sep 25 10:41:52 MDT 2007 Axel Dörfler <axeld@pinc-software.de> * Added a mutex_trylock() function. * Replaced release_sem() with release_sem_etc() for future addition of the B_DO_NOT_RESCHEDULE flag. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22308 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/system/kernel/device_manager/ | ||
H A D | device_manager.cpp | diff 25b6a6f1 Sat Apr 28 07:54:09 MDT 2018 krish_iyer <krishnaniyer97@gmail.com> SDHCI MMC Driver 1. SDHCI PCI Bus: Discovering SDHC device from the PCI bus and registers a child node(MMC bus) to which slots are attached. SDHC registers are mapped by MMUIO, they are binded in a structure(struct* registers). A pin based interrupt handler is also installed, which triggers the handler function and interrupts are being taken care of. Added API's to set-up and the clock for SD/MMC card, change frequency and reset the registers. 2. Device Manager: Currently, busses subdir lists are har- dcoded and in order to load the driver. We hard coded the bus dir under PCI devices. 3. MMC Disk Driver: In order to register the slots under /dev/disk/mmc and hence data transfer and other operations can be done. 4. MMC Bus Manager: Setted up a bus manager to create an object to do a particular for eg certain data transfer and get freed until another operation is requested. Change-Id: I369354da6b79adc6b6dfb08fe160334af1392a34 Reviewed-on: https://review.haiku-os.org/318 Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com> diff 25dc253d Mon Nov 22 06:06:36 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * Merged weak-symbols branch. * Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2ecef3ac Tue Jun 03 03:13:04 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * As Korli pointed out, I got a bit confused with Rescan() vs. Probe(). * Therefore, device_manager::rescan_node() now actually causes the driver::rescan_child_devices() function to be called, instead of probing again. * Added a device_node::Reprobe() method that does what Rescan() did previously. * Probe() should now also work with "dumb" busses that don't support type information - it will now probe all of these nodes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25778 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 25dc253d6ab28ce204fa4de2d3e7a27d167fc817 Mon Nov 22 06:06:36 MST 2010 Ingo Weinhold <ingo_weinhold@gmx.de> * Merged weak-symbols branch. * Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2ecef3acbef27f58ed5e64a9732bee0a87d88112 Tue Jun 03 03:13:04 MDT 2008 Axel Dörfler <axeld@pinc-software.de> * As Korli pointed out, I got a bit confused with Rescan() vs. Probe(). * Therefore, device_manager::rescan_node() now actually causes the driver::rescan_child_devices() function to be called, instead of probing again. * Added a device_node::Reprobe() method that does what Rescan() did previously. * Probe() should now also work with "dumb" busses that don't support type information - it will now probe all of these nodes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25778 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/network/datalink_protocols/arp/ | ||
H A D | arp.cpp | diff 03e02ed9 Tue Aug 03 05:23:03 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * Introduced a datalink layer (2) independent way of specifying the packet type one wants to receive. Changed ipv6_datagram to use that (but note that it currently does not compile). * Header cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37868 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b1c2dd3 Tue May 01 18:41:00 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> when 0 is specified as the interface index with the generic multicast delta API, the stack should select an interface for the application. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20967 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 03e02ed9836f03018a146f791ee65a3ec3ab7842 Tue Aug 03 05:23:03 MDT 2010 Axel Dörfler <axeld@pinc-software.de> * Introduced a datalink layer (2) independent way of specifying the packet type one wants to receive. Changed ipv6_datagram to use that (but note that it currently does not compile). * Header cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37868 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b1c2dd349b8d96486de50054793bce91b489d1c Tue May 01 18:41:00 MDT 2007 Hugo Santos <hugosantos@nowhere.fake> when 0 is specified as the interface index with the generic multicast delta API, the stack should select an interface for the application. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20967 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
/haiku/src/add-ons/kernel/busses/usb/ | ||
H A D | uhci.h | diff 8bcc50c3 Sun Jun 12 11:15:42 MDT 2011 Ingo Weinhold <ingo_weinhold@gmx.de> * Added arch_debug_blue_screen_try_getchar() and arch_debug_serial_try_getchar() which don't wait for a character, but return -1 when no character is available ATM. Implemented correctly for x86 only. * Changed the semantics of the debugger_module_info::debugger_getchar() hook. It is supposed to return immediately now. * Adjusted usb_keyboard accordingly. Hacked UHCI's debug_process_transfer() to achieve that. It does now start, check, or cancel a transfer. Split UHCI::ProcessDebugTransfer() into StartDebugTransfer(), and CheckDebugTransfer() accordingly, and also added a CancelDebugTransfer(). The latter seems to have issues. Michael, please have a look. I have no clue what I'm doing. :-) * Adjusted kgetc() to poll all possible inputs using the new functions/semantics. This allows to use any input (USB, PS/2, serial) in KDL. * Removed the no longer needed "serial_input" command. * read_line(): Also support 0x7f as backspace code. That's what xterm sends. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42126 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 6eba0636 Sun Feb 22 13:46:27 MST 2009 Michael Lotz <mmlr@mlotz.ch> * Added simplified possibility to schedule UHCI transfers from within KDL. * Added debugger commands to resolve usb_ids to pipes. * Adjusted the physical memory allocator to be usable in a slimmed down mode when running inside the kernel debugger. * Implemented USB keyboard support for KDL through a kernel debugger add-on. * Added kgetc() and made use of it where previously individual methods were used to ensure that reading characters always goes through the kernel debugger add-ons and the other methods. This has some preconditions to meet though: 1) The keyboard must be in the boot protocol (currently the case but needs to be revisited once we have a full usb_hid). 2) The keyboard must be attached to a UHCI root port (i.e. not use EHCI or OHCI, also not through hubs unless those are USB 1.1). 3) the usb_hid driver has to be opened for this to work. This means that for the time between initializing USB and when usb_hid is opened by the input_server there is no keyboard support. Also note that this has no way of detecting hot-plug, meaning that you can't re-attach your USB keyboard from the hub to the root port once in KDL. On the bright side of things, since this is a non-destructive mechanism it is possible to enter and leave KDL without loosing the USB state. Tested OK in QEMU, not tested on real hardware yet, will see in a few minutes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29291 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0 Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b5d39e8 Wed Jan 23 17:53:32 MST 2008 Salvatore Benedetto <salvatore.benedetto@gmail.com> * Added force paramater to CancelQueuedIsochronousTransfers along with a TODO * Replaced space with tab git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23715 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 5a072ced Mon Mar 14 14:02:03 MST 2005 Niels Sascha Reedijk <niels.reedijk@gmail.com> Quick merge of my development branch with mainline (for SVN switch). The OHCI stuff was done by Jixt (thanks)./installusb All is still very much work in progress Patches applied: * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--base-0 tag of Niels.Reedijk@gmail.com--haiku-2005/usb-busses--mainline--0.1--base-0 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-1 Set the PORT_STATUS_LOW_SPEED flag correctly (using the register bitflag for low speed devices, instead of the proper lowspeed flag) * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-2 Clean up transfers when they're done * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-3 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-4 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-5 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-6 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-7 Remove obsolete ehci.c * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-8 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-9 Completed memory allocation + initialization * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-10 First attempt at performing control transfers - failed miserably * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-11 Trying to read a 16bit value into a 8bit integer, stupid * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-12 nicer way of getting the base io address * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-13 Take over control from BIOS * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-14 Revert change for disabling USB BIOS support git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11743 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 07b15fef Tue Dec 30 07:53:24 MST 2003 Niels Sascha Reedijk <niels.reedijk@gmail.com> * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-1 Fix things up before big changes * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-2 Continued development on device initialisation * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-3 Finished Driver initialisation git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5831 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 8bcc50c336108e882e215c8c5cec57155464edf4 Sun Jun 12 11:15:42 MDT 2011 Ingo Weinhold <ingo_weinhold@gmx.de> * Added arch_debug_blue_screen_try_getchar() and arch_debug_serial_try_getchar() which don't wait for a character, but return -1 when no character is available ATM. Implemented correctly for x86 only. * Changed the semantics of the debugger_module_info::debugger_getchar() hook. It is supposed to return immediately now. * Adjusted usb_keyboard accordingly. Hacked UHCI's debug_process_transfer() to achieve that. It does now start, check, or cancel a transfer. Split UHCI::ProcessDebugTransfer() into StartDebugTransfer(), and CheckDebugTransfer() accordingly, and also added a CancelDebugTransfer(). The latter seems to have issues. Michael, please have a look. I have no clue what I'm doing. :-) * Adjusted kgetc() to poll all possible inputs using the new functions/semantics. This allows to use any input (USB, PS/2, serial) in KDL. * Removed the no longer needed "serial_input" command. * read_line(): Also support 0x7f as backspace code. That's what xterm sends. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42126 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 6eba063647cc4ff5aa863e1b5dc5093c22a3acb0 Sun Feb 22 13:46:27 MST 2009 Michael Lotz <mmlr@mlotz.ch> * Added simplified possibility to schedule UHCI transfers from within KDL. * Added debugger commands to resolve usb_ids to pipes. * Adjusted the physical memory allocator to be usable in a slimmed down mode when running inside the kernel debugger. * Implemented USB keyboard support for KDL through a kernel debugger add-on. * Added kgetc() and made use of it where previously individual methods were used to ensure that reading characters always goes through the kernel debugger add-ons and the other methods. This has some preconditions to meet though: 1) The keyboard must be in the boot protocol (currently the case but needs to be revisited once we have a full usb_hid). 2) The keyboard must be attached to a UHCI root port (i.e. not use EHCI or OHCI, also not through hubs unless those are USB 1.1). 3) the usb_hid driver has to be opened for this to work. This means that for the time between initializing USB and when usb_hid is opened by the input_server there is no keyboard support. Also note that this has no way of detecting hot-plug, meaning that you can't re-attach your USB keyboard from the hub to the root port once in KDL. On the bright side of things, since this is a non-destructive mechanism it is possible to enter and leave KDL without loosing the USB state. Tested OK in QEMU, not tested on real hardware yet, will see in a few minutes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29291 a95241bf-73f2-0310-859d-f6bbb57e9c96 diff 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c Wed May 28 20:08:23 MDT 2008 Ingo Weinhold <ingo_weinhold@gmx.de> * Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
Completed in 827 milliseconds