Revision tags: v3.2.1, v3.2.0, v3.3.0, v3.0.3 |
|
#
eaae6702 |
| 02-Aug-2012 |
Sascha Wildner <saw@online.de> |
kernel/cam: Make si_iosize_max overridable by drivers.
|
Revision tags: v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
b8e1d863 |
| 20-Jan-2012 |
Sascha Wildner <saw@online.de> |
kernel: Remove some more old major number related stuff.
|
#
4090d6ff |
| 03-Jan-2012 |
Sascha Wildner <saw@online.de> |
kernel: Use NULL for pointers.
|
#
b370aff7 |
| 04-Dec-2011 |
Sascha Wildner <saw@online.de> |
kernel: Use NELEM() in some more places.
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
#
e0fb398b |
| 07-Oct-2011 |
Tim <bissont@mac.com> |
TRIM support
Signed-off-by: Samuel J. Greear <sjg@thesjg.com>
|
Revision tags: v2.12.0, v2.13.0 |
|
#
a4a9ba75 |
| 22-Aug-2011 |
Sascha Wildner <saw@online.de> |
cam(4): Add a quirk to turn off SYNC CACHE for mly(4).
This fixes mounting a HAMMER file system from an mly(4) disk on the AcceleRAID 160 I tried this with.
I think it will also fix the following i
cam(4): Add a quirk to turn off SYNC CACHE for mly(4).
This fixes mounting a HAMMER file system from an mly(4) disk on the AcceleRAID 160 I tried this with.
I think it will also fix the following issue that was reported for the AcceleRAID 170 on FreeBSD:
http://lists.freebsd.org/pipermail/freebsd-hardware/2008-December/005676.html
The problem with fixing this was that the mly(4) driver modifies the SCSI inquiry data and uses it for its own purposes (to show the disk type and status). So I had to make these fields a bit more recognizable to the quirks code because the previous strings were too generic for my taste.
show more ...
|
Revision tags: v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1 |
|
#
227ce828 |
| 02-Oct-2009 |
Alex Hornung <ahornung@gmail.com> |
taskq - Make consumer tasks MPALMOSTSAFE
* All consumers of taskqueue_thread[cpu] have to be at least MPALMOSTSAFE as they won't be called with the mplock held.
|
Revision tags: v2.4.1, v2.5.0, v2.4.0 |
|
#
9670bdda |
| 06-Sep-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
USB - Avoid unnecessary reprobes.
* Do not unconditionally setdiskinfo when a removable DA* device is opened. It takes time for the kernel to reprobe the drive and this seriously messes up moun
USB - Avoid unnecessary reprobes.
* Do not unconditionally setdiskinfo when a removable DA* device is opened. It takes time for the kernel to reprobe the drive and this seriously messes up mountroot during kernel boot or attempts to access partitions in slices (instant open + access partition).
If the size hasn't changed, do not call setdiskinfo again.
* This is a bad hack. A better solution (detect actual device replacement) is needed.
show more ...
|
#
f7b26992 |
| 03-Sep-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
CAM - Check DA media on open, basic suppor for removable DA media (vs CD).
* Install setdiskinfo on probe for DA if no media is present, similar to how the CD works. This allows open() to functio
CAM - Check DA media on open, basic suppor for removable DA media (vs CD).
* Install setdiskinfo on probe for DA if no media is present, similar to how the CD works. This allows open() to function.
* Recheck media presence on open().
Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
show more ...
|
#
55230951 |
| 05-Aug-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
DEVFS - Add serial number links for all CAM and NATA attachments.
All CAM-probed drives and NATA probed drives which have a serial number will now show up in DEVFS under /dev/serno, in addition to s
DEVFS - Add serial number links for all CAM and NATA attachments.
All CAM-probed drives and NATA probed drives which have a serial number will now show up in DEVFS under /dev/serno, in addition to showing up as da/cd/ad*. This will ultimately tie into /etc/devtab.
show more ...
|
#
cd29885a |
| 01-Aug-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
DEVFS - Bring in Alex's GSOC kernel adjustments.
This is a rollup commit bringing in Alex Hornung's GSOC adjustments to the main kernel codebase for DEVFS.
Submitted-by: Alex Hornung <ahornung@gmai
DEVFS - Bring in Alex's GSOC kernel adjustments.
This is a rollup commit bringing in Alex Hornung's GSOC adjustments to the main kernel codebase for DEVFS.
Submitted-by: Alex Hornung <ahornung@gmail.com>
show more ...
|
Revision tags: v2.3.2 |
|
#
a9453758 |
| 09-Jul-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
CAM - disable cache synchronization by default for USB attachments.
Instead of trying to blacklist particular usb mass storage devices which do not support the cache synchronization command, just de
CAM - disable cache synchronization by default for USB attachments.
Instead of trying to blacklist particular usb mass storage devices which do not support the cache synchronization command, just default to not supporting it for ALL usb mass storage attachments. Too many usb devices brick when sent the command.
It matters more now that people are using HAMMER, and HAMMER utilizes the cache synchronization command to delineate flushes. We will now by definition not be able to guarantee recovery if HAMMER is used on a USB mass storage device. It will probably work anyway, though.
Reported-by: Many people
show more ...
|
#
87993e5a |
| 12-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
CAM - Silence console spew on bus-rescan
Silence the console spew that occurs when rescanning a SCSI bus. This is primarily so the AHCI driver can just have CAM re-test all the targets when new tar
CAM - Silence console spew on bus-rescan
Silence the console spew that occurs when rescanning a SCSI bus. This is primarily so the AHCI driver can just have CAM re-test all the targets when new targets are added or deleted.
show more ...
|
#
0b0362e1 |
| 04-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
CAM Enhancements for AHCI driver work, import some structures from OpenBSD.
Add a CAM bit in the ccb to indicate that a polled operation is being requested. This is easier for the driver to find th
CAM Enhancements for AHCI driver work, import some structures from OpenBSD.
Add a CAM bit in the ccb to indicate that a polled operation is being requested. This is easier for the driver to find then putting it in the periph structure.
Rename the scsi_read_capacity_data_long structure to scsi_read_capacity_data_16 to match OpenBSD, and add a command code for READ_CAPACITY_16 to match OpenBSD and reduce confusion. Also add missing fields to scsi_read_capacity_data_16.
Add SCSI_REV_SPC3. Taken from OpenBSD.
Add a page description structure for UNIT_DEVID (page 0x83), taken from OpenBSD.
Add unions for SCSI CDB command structures and response fields to improve code readability.
show more ...
|
Revision tags: v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1 |
|
#
a9bf1b8c |
| 29-Aug-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Add BUF_CMD_FLUSH support - issue flush command to mass storage device.
|
#
2d19cdd3 |
| 18-Jul-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Fix multiple bugs in CAM related devices which go away unexpectedly. This fixes numerous panics when pulling a USB mass media device in the midst of heavy I/O.
* The SIM lock was being unlocked via
Fix multiple bugs in CAM related devices which go away unexpectedly. This fixes numerous panics when pulling a USB mass media device in the midst of heavy I/O.
* The SIM lock was being unlocked via the periph->sim path after periph was unheld. periph can become free and blow up the unlock, so get the sim into a local variable first, then release periph.
* The code which waits for CCB completion needs to be a while loop, not an if. It worked anyway, but wasn't very robust.
* Add CAM_SIM_DEREGISTERED to flag when a sim is undergoing deregistration.
* Beef up cam_dead_sim so it works more like a real sim.
* Properly install &cam_dead_sim in the device and periph structures related to a SCSI bus, when deregistering the bus.
* Disallow the addition of new devices when deregistering a bus.
* NULL out periph->softc when freeing it.
show more ...
|
#
5b01dbc6 |
| 12-Jul-2008 |
Peter Avalos <pavalos@dragonflybsd.org> |
Add quirk for the Samsung YP-U3.
Obtained-from: FreeBSD
|
#
1c8b7a9a |
| 18-May-2008 |
Peter Avalos <pavalos@dragonflybsd.org> |
Sync CAM with FreeBSD using lockmgr locks instead of mutexes. Note: This is mostly a code sync with FreeBSD which improves stability in addition to the items listed below. This provides a framework
Sync CAM with FreeBSD using lockmgr locks instead of mutexes. Note: This is mostly a code sync with FreeBSD which improves stability in addition to the items listed below. This provides a framework for releasing the mplock, but for now it's still there.
Add an xpt_print function to reduce most of the xpt_print_path/printf pairs. Convert the core code to use it.
Initial cut at Basic Domain Validation.
Make cam_xpt's pronouncements match camcontrol (Tagged -> Command) Queueing.
Pay attention to return value from xpt_bus_register in xpt_init.
Add an xpt_rescan function and a thread that will field rescan requests. The purpose of this is to allow a SIM (or other entities) to request a bus rescan and have it then fielded in a different (process) context from the caller.
Check the return value from cam_periph_acquire.
Drop the periph/sim lock when calling disk_destroy().
Drop the topology lock before calling the periph oninvalidate and dtor vectors.
For the XPT_SASYNC_CB operation, only decouple the broadcast to the bus and device lists instead of decoupling the whole operation. This avoids problems with SIMs going away.
Split the camisr into per-SIM done queues. This optimizes the locking a little bit and allows for direct dispatch of the doneq from certain contexts that would otherwise face recursive locking problems.
Zero the CCBs when mallocing them.
Only schedule the xpt_finishconfig_task once.
Eliminate the use of M_TEMP.
Add a helper function for registering async callbacks.
Release the bus reference that is acquired when doing a CAMIOCOMMAND ioctl.
Zero scsi_readcapacity allocations so we can really tell if there has been data returned.
Remove duplicate includes and fix typos.
Add a bunch of definitions and structures to support newer drivers.
When probing a newly found device, don't automatically assume that the device supports retrieving a serial number. Instead, first query the list of VPD pages it does support, and only query the serial number if it's supported, else silently move on. This eliminates a lot of noise during verbose booting, and will likely eliminate the need for most NOSERIAL quirks.
Reduce diffs from FreeBSD.
Obtained-from: FreeBSD
show more ...
|
#
d7baa0f8 |
| 13-Mar-2008 |
Sascha Wildner <swildner@dragonflybsd.org> |
Nuke unneded include.
Submitted-by: Robert Gauthier <321.robert@gmail.com>
|
#
285d490c |
| 23-Jan-2008 |
Matthias Schmidt <matthias@dragonflybsd.org> |
Add quirk for an USB Flash Disk Media Player.
Submitted-by: Steve O'Hara-Smith <steve@sohara.org>
|
#
4bac4548 |
| 13-Jan-2008 |
Matthias Schmidt <matthias@dragonflybsd.org> |
o Correct quirks entry for a MP3 player o Add new quirk for Netak OnlyDisk drive
Obtained-from: FreeBSD
|
#
d92d7552 |
| 02-Dec-2007 |
Peter Avalos <pavalos@dragonflybsd.org> |
Sync quirk tables with FreeBSD.
Obtained-from: FreeBSD
|
#
066e560b |
| 02-Dec-2007 |
Peter Avalos <pavalos@dragonflybsd.org> |
Add a tunable that allows one to turn off the automatic sending of the ORDERED tag. This recoups significant performance gains for many arrays.
The default is still to send out the ORDERED tag perio
Add a tunable that allows one to turn off the automatic sending of the ORDERED tag. This recoups significant performance gains for many arrays.
The default is still to send out the ORDERED tag periodically.
Obtained-from: FreeBSD
show more ...
|
#
eac73adf |
| 02-Dec-2007 |
Peter Avalos <pavalos@dragonflybsd.org> |
Actually check to see if XPT_CALC_GEOMETRY had an error and pick a bogus geometry if it had so we don't later get a divide by zero trap.
Obtained-from: FreeBSD
|