haiku/headers/os
Michael Lotz 17f83b219d * Switched from the old v2 callback status codes to the new v3 codes
This means that the usb_callback_func now takes a status_t instead of a uint32 status.
Also the error codes are now different. I don't see this as a real problem in binary compatibility, as the status codes were never really documented and most drivers just assumed that a nonzero status meant an error.
Source compatibility breaks for callback functions and error defines. I fixed (hopefully) all places in the tree that are currenty included in the image and affected by the change.
* Corrected error reporting in UHCI and EHCI using the new status codes.
* Fixed a memory leak in EHCI where the async advance interrupt was not triggered in time.
* Fixed another race condition in usb_raw that could cause a crash when a device is removed while a transfer is pending.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-24 20:17:56 +00:00
..
add-ons drop old fsproto.h 2006-09-01 08:01:38 +00:00
app BRoster::Launch() eventually launches the application in question 2006-08-31 17:54:16 +00:00
arch Added empty arch_debugger.h header file. 2005-03-03 06:07:59 +00:00
be_apps Added missing R5 headers. 2004-02-26 19:35:02 +00:00
device More headers for the new modules and PnP/device system - note, this 2004-06-06 23:52:08 +00:00
drivers * Switched from the old v2 callback status codes to the new v3 codes 2006-09-24 20:17:56 +00:00
game cleanup 2006-08-26 09:16:56 +00:00
interface Merge from layout management branch. 2006-08-26 16:21:15 +00:00
kernel added core and core 2 ids 2006-08-24 10:33:50 +00:00
mail restore prior values for utf8 and null, for the sake of default send mail encoding settings 2004-11-17 01:56:18 +00:00
media Reworked media_format meta data handling. 2006-05-14 22:51:14 +00:00
midi code style update to match ours (kind of) 2006-06-19 13:24:04 +00:00
midi2 style cleanup 2006-09-21 13:04:59 +00:00
net * Fixed build of libnetapi.so - it probably won't work for now, though, have a look 2006-08-29 00:19:23 +00:00
opengl added a call to _mesa_make_current 2006-09-07 21:13:53 +00:00
storage * integration of vector icons with the registrar and the mime data base 2006-08-29 17:06:23 +00:00
support Merge from layout management branch. 2006-08-26 16:21:15 +00:00
translation Some more GCC 4 and PPC fixes. 2006-05-19 15:52:21 +00:00
AppKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
Be.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
BeBuild.h Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
DeviceKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
GameKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
InterfaceKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
KernelKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
MailKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
MediaKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
MidiKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
NetKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
NetworkKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
OpenGLKit.h Removed GLX headers: was never there anyway! 2005-06-26 21:48:15 +00:00
StorageKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
SupportKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00
TranslationKit.h added these master include files for better R5 compatibility when compiling 2002-10-23 13:48:14 +00:00