haiku/headers/os/drivers
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
..
bus Replaced "ide_channel_cookie channel" and "ide_adapter_channel_info *" with "void *channel_cookie". 2006-09-10 18:55:00 +00:00
pcmcia fix build for echo drivers, added cs_timer.h from pcmcia-cs 2005-12-19 18:57:29 +00:00
usb * Fixed typo. 2006-08-06 12:42:05 +00:00
ACPI.h * acpi bus_manager addition of get_object() functions. 2006-03-08 06:51:46 +00:00
atomizer.h Import Be Inc. string atomizer kernel module. 2003-09-25 13:30:05 +00:00
block_io.h Renamed the "blkman" module to "block_io". 2005-05-12 15:43:02 +00:00
bus_manager.h Added Be's driver_settings.h header file (hey, they don't even include any 2002-08-07 22:36:49 +00:00
config_manager.h Added Be's driver_settings.h header file (hey, they don't even include any 2002-08-07 22:36:49 +00:00
device_manager.h * Added get_root() to device_manager_info. Surprisingly enough, it 2006-02-07 02:29:14 +00:00
disk_device_manager.h disk_device_manager.h no longer includes a private header - ie. that header 2006-04-04 00:29:07 +00:00
driver_settings.h Added extra new driver_settings API calls. 2003-06-15 20:46:13 +00:00
Drivers.h Add an ioctl B_GET_PATH_FOR_DEVICE, 2006-05-30 19:52:19 +00:00
fast_log.h More headers for the new modules and PnP/device system - note, this 2004-06-06 23:52:08 +00:00
fs_cache.h * You can now create the block cache in read-only mode (using an additional 2006-08-30 23:18:31 +00:00
fs_interface.h Added a "reenter" parameter to the {read|write}_pages() functions to give file 2006-04-12 13:34:04 +00:00
interrupt_controller.h Module interface for interrupt controllers. Might change later. 2006-02-07 02:31:07 +00:00
ISA.h Added Be's driver_settings.h header file (hey, they don't even include any 2002-08-07 22:36:49 +00:00
isapnp.h Add Be's isapnp header. 2002-07-25 14:18:54 +00:00
KernelExport.h added the format expected by panic to throw warnings on compilation 2006-08-26 17:49:43 +00:00
lendian_bitfield.h More headers for the new modules and PnP/device system - note, this 2004-06-06 23:52:08 +00:00
locked_pool.h More headers for the new modules and PnP/device system - note, this 2004-06-06 23:52:08 +00:00
midi_driver.h Added mpu401 module header 2003-11-15 08:46:33 +00:00
mime_table.h header for a kernel mime_table module, so not every fs will bundle its own. 2005-01-04 10:03:05 +00:00
module.h Added the module_dependency structure. 2004-04-26 17:11:56 +00:00
node_monitor.h Added header for node monitor calls for kernel add-ons. 2003-01-17 17:52:33 +00:00
PCI.h replaced with PCI.h definitions, added PCI_usb_ehci 2006-08-30 08:36:53 +00:00
pnp_devfs.h Merged branches/developer/axeld/driver_recognition changed r12307:12637 into trunk. 2005-05-12 03:27:44 +00:00
Select.h R5 notify_select_event() didn't have a return value. 2004-10-04 15:44:00 +00:00
USB2.h * Switched from the old v2 callback status codes to the new v3 codes 2006-09-24 20:17:56 +00:00
USB3.h * Switched from the old v2 callback status codes to the new v3 codes 2006-09-24 20:17:56 +00:00
USB_printer.h Was missing, needed by "USB Port" print transport add-on. 2004-05-26 14:57:57 +00:00
USB_rle.h This is just an outline of the USB stack: what it is going to look like. It is definately not 2003-08-12 20:36:24 +00:00
USB_spec.h This is just an outline of the USB stack: what it is going to look like. It is definately not 2003-08-12 20:36:24 +00:00
USB.h * Added USB API Version 3. It's put into USB3.h while the v2 API resides in USB2.h. USB.h just includes USB2.h for now. 2006-08-19 23:09:05 +00:00