History log of /haiku/src/add-ons/kernel/drivers/disk/usb/usb_disk/Jamfile
Revision Date Author Comments
# 197e4b5a 29-May-2023 Augustin Cavalier <waddlesplash@gmail.com>

usb_disk: Use DMAResource for bouncing and support physical I/O requests.

A "bypass" mechanism is left in for when DMAResource would just add
overhead for no reason. All other I/O goes through it and is submitted
to the USB stack as physical addresses.

Tested in QEMU, can still boot from USB on all busses.

Fixes #15569.

Change-Id: I26bfd2208de4ebe1a17170a7034316076927663f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6480
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 1a5afe04 19-Jan-2014 Pawel Dziepak <pdziepak@quarnos.org>

add-ons/kernel: Use UsePrivateKernelHeaders where appropriate


# 3ffd22ce 20-Sep-2013 Jerome Duval <jerome.duval@gmail.com>

usb_disk: base the error sense handling on a reference table.

* imported asc-num.txt as a reference, was used to generate the asc sense table.
* use the sense asc and key tables to know which action and status codes are
to be applied.
* tested with an hard disk and a dvd reader.
* these tables could be reused by the scsi_periph module.


# 01533b17 31-Mar-2008 Michael Lotz <mmlr@mlotz.ch>

Introduce a simple usb_disk driver that supports USB mass storage devices of
the bulk-only class using transparent SCSI commands (i.e. most of the current
external harddrives and flash media). It emulates the few SCSI commands needed
to get this sort of devices working and does not interface with the SCSI
subsystem. This makes it far easier to get working and also far better fits
how the USB stack works (as drivers can be dynamically rescanned when device
changes occur). This will allow for easy dynamic un- and replugging at runtime.
Note that while the device is currently published when you plug something in at
runtime, the partitions are not scanned and published automatically. It works
however if you have the device plugged in at boot.
I haven't added this driver to the image yet, but if properly installed and
with boot module links to the driver and USB stack, it allows to boot Haiku
from USB media like memory sticks or external harddrives.

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


# 1a5afe0404684d5fa09b620c18438eadcb963f4e 19-Jan-2014 Pawel Dziepak <pdziepak@quarnos.org>

add-ons/kernel: Use UsePrivateKernelHeaders where appropriate


# 3ffd22ce6d0671c4d51507f8b57a78143d9b2ab0 20-Sep-2013 Jerome Duval <jerome.duval@gmail.com>

usb_disk: base the error sense handling on a reference table.

* imported asc-num.txt as a reference, was used to generate the asc sense table.
* use the sense asc and key tables to know which action and status codes are
to be applied.
* tested with an hard disk and a dvd reader.
* these tables could be reused by the scsi_periph module.


# 01533b17a2fb17655269a98888e9af6622708127 31-Mar-2008 Michael Lotz <mmlr@mlotz.ch>

Introduce a simple usb_disk driver that supports USB mass storage devices of
the bulk-only class using transparent SCSI commands (i.e. most of the current
external harddrives and flash media). It emulates the few SCSI commands needed
to get this sort of devices working and does not interface with the SCSI
subsystem. This makes it far easier to get working and also far better fits
how the USB stack works (as drivers can be dynamically rescanned when device
changes occur). This will allow for easy dynamic un- and replugging at runtime.
Note that while the device is currently published when you plug something in at
runtime, the partitions are not scanned and published automatically. It works
however if you have the device plugged in at boot.
I haven't added this driver to the image yet, but if properly installed and
with boot module links to the driver and USB stack, it allows to boot Haiku
from USB media like memory sticks or external harddrives.

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