Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2 |
|
#
cec957e9 |
| 04-Mar-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Change callout in struct ccb_hdr
* Change the callout declaration in struct ccb_hdr from an embedded structure to a pointer, add padding to get the whole structure to its original size
kernel - Change callout in struct ccb_hdr
* Change the callout declaration in struct ccb_hdr from an embedded structure to a pointer, add padding to get the whole structure to its original size (prior to the recent callout patch).
* This removes an improper ABI dependency on the kernel struct callout structure which was causing 'camcontrol', and 'smartctl' (from smartmontools) to fail.
Testing: dillon, tuxillo
show more ...
|
Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2 |
|
#
f606d6ec |
| 04-May-2013 |
François Tigeot <ftigeot@wolfpond.org> |
sili(4): Maximum I/O size is 256KB
|
Revision tags: v3.4.0, v3.4.1, v3.4.0rc, v3.5.0 |
|
#
a43d9d72 |
| 05-Jan-2013 |
Sascha Wildner <saw@online.de> |
kernel/disk: Remove some unused variables and add __debugvar.
|
Revision tags: v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3 |
|
#
09e5fa07 |
| 13-Aug-2012 |
Sascha Wildner <saw@online.de> |
ahci(4)/sili(4): Fix for drives >2TB.
CAM will issue the 16 byte version of the READ CAPACITY command when maxsector is 0xffffffff:
----- scsi_da.c ----- if (maxsector == 0xffffffff) { softc->stat
ahci(4)/sili(4): Fix for drives >2TB.
CAM will issue the 16 byte version of the READ CAPACITY command when maxsector is 0xffffffff:
----- scsi_da.c ----- if (maxsector == 0xffffffff) { softc->state = DA_STATE_PROBE2; kfree(rdcap, M_SCSIDA); xpt_release_ccb(done_ccb); xpt_schedule(periph, /*priority*/5); return; } ---------------------
However, we are subtracting 1 from it (presumably because it's a "last sector on the device" value starting at 0) so in CAM, it ended up being 0xfffffffe, resulting in disks attached via ahci(4) and sili(4) to be limited to 2TB.
To fix, set the local var to 0 in this case, so that after subtracting 1 from the value (cast to 32 bit) CAM gets 0xffffffff.
Fix-by: dillon
show more ...
|
#
6bac9ae4 |
| 23-Mar-2012 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Fix bug in SILI, remove debugging in AHCI
* Fix the same unlock/lock sequence bug in the SILI driver that was fixed in the AHCI driver.
* Remove a flag that was being added to the servic
kernel - Fix bug in SILI, remove debugging in AHCI
* Fix the same unlock/lock sequence bug in the SILI driver that was fixed in the AHCI driver.
* Remove a flag that was being added to the service set in AHCI for debugging purposes.
show more ...
|
Revision tags: v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
44a472ba |
| 20-Jan-2012 |
Sascha Wildner <saw@online.de> |
ahci(4)/sili(4): Fix some comments.
Submitted-by: Johannes Hofmann <johannes.hofmann@gmx.de> Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/1692>
|
#
16fb0422 |
| 20-Jan-2012 |
Sascha Wildner <saw@online.de> |
Remove empty DragonFly CVS IDs.
|
#
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.
|
Revision tags: v2.12.0, v2.13.0, 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 |
|
#
d15a49f2 |
| 03-Nov-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
AHCI/SILI - More adjustments to last commit
* Use the ultradma field instead of the legacy field. All SATA devices must support DMA so don't bother with the other legacy fields. If the ultradm
AHCI/SILI - More adjustments to last commit
* Use the ultradma field instead of the legacy field. All SATA devices must support DMA so don't bother with the other legacy fields. If the ultradma field is not initialized (on future devices) then presumably we do not have to SETXFER at all.
* Note that SATA hard drives do report this field.
* Fix mode calculation.
show more ...
|
#
69b3741e |
| 03-Nov-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
AHCI/SILI - Send dummy SETXFER mode even though it is SATA
* If the identify structure contains a non-zero/non-FFFF dmamode field we send a dummy SETXFER mode command to the device.
* Most SATA D
AHCI/SILI - Send dummy SETXFER mode even though it is SATA
* If the identify structure contains a non-zero/non-FFFF dmamode field we send a dummy SETXFER mode command to the device.
* Most SATA DISK devices set this field to 0 or FFFF and in this case no SETXFER mode command is sent. SETXFER is non-applicable to SATA in general.
Most ATAPI devices still initialize the dmamode field and some ATAPI devices still require SETXFER to be sent even though they are native SATA.
SATA->PATA converters may require a SETXFER to be passed through before the PATA devices will operate properly. In this case the dmamode field will likely be initialized.
show more ...
|
Revision tags: v2.5.1, v2.4.1, v2.5.0, v2.4.0 |
|
#
75046a24 |
| 08-Sep-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
SILI - Merge Alex's ATA pass-through ioctls from AHCI driver into SILI driver.
* Basically an exact copy from the AHCI code.
|
Revision tags: v2.3.2 |
|
#
b96fc23d |
| 02-Jul-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
SILI - Fix embarassing bug for non-NCQ disk accesses > 128G
Fix an embarassing bug for non-NCQ disk accesses > 128G. This only applied to non-NCQ accesses for disks and typically will not happen wi
SILI - Fix embarassing bug for non-NCQ disk accesses > 128G
Fix an embarassing bug for non-NCQ disk accesses > 128G. This only applied to non-NCQ accesses for disks and typically will not happen with the SILI part since it can use NCQ for everything. Non-NCQ accesses for seek positions from 128G to 2TB were wrapping the LBA.
show more ...
|
#
200c399a |
| 01-Jul-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
SILI - ATAPI adjustments.
Restrict the sense length to what ATAPI expects and add more legacy initialization to the packet FIS.
This was an attempt to fix some reported issues with ATAPI, but it di
SILI - ATAPI adjustments.
Restrict the sense length to what ATAPI expects and add more legacy initialization to the packet FIS.
This was an attempt to fix some reported issues with ATAPI, but it didn't fix anything. However, it didn't hurt either and the adjustments are at least as good as the old ones.
show more ...
|
#
8937bd56 |
| 26-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
AHCI/SILI - Remove unused ScsiTypeArray array
|
#
3ac61d78 |
| 26-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
SILI - Add serial number support, strip whitespace.
* Add page inquiry emulation for DISK devices so CAM can probe the serial number.
* Strip whitespace when reporting the mode, firmware, and ser
SILI - Add serial number support, strip whitespace.
* Add page inquiry emulation for DISK devices so CAM can probe the serial number.
* Strip whitespace when reporting the mode, firmware, and serial number from the inquiry data.
show more ...
|
#
a35ddbb4 |
| 18-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
SILI - Reorganize the probe code, fix CAM startup issues, remove debugging
* Do a major reorganization of the probe code. It is MUCH faster now and should reliably detect PMs and direct-attached
SILI - Reorganize the probe code, fix CAM startup issues, remove debugging
* Do a major reorganization of the probe code. It is MUCH faster now and should reliably detect PMs and direct-attached disks.
* Fix an issue in the CAM code.
* Remove a lot of the debugging kprintfs.
show more ...
|
#
4383d440 |
| 17-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
SILI - Work around hardware LRAM bugs part 2/2.
* Add ATA_F_AUTOSENSE and ATA_F_EXCLUSIVE to deal with accessing the D2H RFIS.
ATA_F_AUTOSENSE tells sili.c that the caller wants to access the r
SILI - Work around hardware LRAM bugs part 2/2.
* Add ATA_F_AUTOSENSE and ATA_F_EXCLUSIVE to deal with accessing the D2H RFIS.
ATA_F_AUTOSENSE tells sili.c that the caller wants to access the rfis. The sili core is then responsible for copying the rfis out of the LRAM and into host-memory.
ATA_F_EXCLUSIVE tells sili.c that the caller wants to be the only command queued to the chip for that particular command.
* Currently ATA_F_AUTOSENSE implies ATA_F_EXCLUSIVE, but ultimately we will want to do the auto-sense as a separate step so things like ATAPI farms can run commands in parallel.
show more ...
|
#
1ac8d5ba |
| 17-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
SILI - Silicon Image 3132 driver, initial commit
This driver was derived from the AHCI driver and retooled extensively for the Silicon Image chipset. It retains all the cool features from the AHCI
SILI - Silicon Image 3132 driver, initial commit
This driver was derived from the AHCI driver and retooled extensively for the Silicon Image chipset. It retains all the cool features from the AHCI driver including port multiplier (PM) support, NCQ, and hot-plug for both direct-attached and PM-attached targets.
This initial commit is very alpha and the driver has significant PM-related bugs. It is not yet ready for prime time.
show more ...
|
#
949597c2 |
| 10-Apr-2011 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Fix CAM tag reservation for AHCI and SILI driver
* These drivers were adjusting the number of available tags upward using the wrong CAM call, which resulted in CAM not actually queueing
kernel - Fix CAM tag reservation for AHCI and SILI driver
* These drivers were adjusting the number of available tags upward using the wrong CAM call, which resulted in CAM not actually queueing multiple tags. Use the correct call.
* With the issue fix and verified up to a combined 31 read and write requests can now be queued in parallel to a SATA drive via the AHCI driver. It does appear to make a difference.
show more ...
|
#
fb00c6ed |
| 25-Aug-2010 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Run AHCI and SILI disk drivers MPSAFE
* These drivers now pass a port-disk-port lock in the cam sim registration, which should result in CAM callbacks being MPSAFE.
* Add a separate sign
kernel - Run AHCI and SILI disk drivers MPSAFE
* These drivers now pass a port-disk-port lock in the cam sim registration, which should result in CAM callbacks being MPSAFE.
* Add a separate signalling interlock for the port threads.
* The devices were otherwise already MPSAFE, with per-port locking.
show more ...
|
#
22726f69 |
| 05-Feb-2010 |
Matthew Dillon <dillon@apollo.backplane.com> |
AHCI - Fix minor bug. Also AHCI/SILI - use ATA_F_EXCLUSIVE for pass-thru
* The AHCI driver could sometimes queue multiple ATA_F_EXCLUSIVE commands. This case never actually occurred but fix it an
AHCI - Fix minor bug. Also AHCI/SILI - use ATA_F_EXCLUSIVE for pass-thru
* The AHCI driver could sometimes queue multiple ATA_F_EXCLUSIVE commands. This case never actually occurred but fix it anyway.
* Flag CAM pass-through commands as exclusive for safety.
show more ...
|