CVS commit: src/sys/dev/ata

2020-12-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 27 15:15:45 UTC 2020 Modified Files: src/sys/dev/ata: satareg.h Log Message: Add G3 and DevSleep definitions. This changes the mask used by SControl_IPM_NONE from 0x3 to 0x7. To generate a diff of this commit: cvs rdif

CVS commit: src/sys/dev/ata

2020-12-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Dec 23 08:17:01 UTC 2020 Modified Files: src/sys/dev/ata: ata_subr.c Log Message: Add missing '\n' in debug To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ata/ata_subr.c Please note that diffs are

CVS commit: src/sys/dev/ata

2020-12-19 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Dec 19 18:09:44 UTC 2020 Modified Files: src/sys/dev/ata: ata_subr.c Log Message: ata_timeout: restore spl in ATACH_RECOVERING path To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/ata/ata_subr.c

CVS commit: src/sys/dev/ata

2020-09-28 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Mon Sep 28 12:47:49 UTC 2020 Modified Files: src/sys/dev/ata: wd.c Log Message: fix typo that prevented bytes/physsect reporting from working To generate a diff of this commit: cvs rdiff -u -r1.464 -r1.465 src/sys/dev/ata/wd.c

CVS commit: src/sys/dev/ata

2020-09-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 27 16:58:11 UTC 2020 Modified Files: src/sys/dev/ata: wd.c Log Message: de-quadruplicate, remove unused argument To generate a diff of this commit: cvs rdiff -u -r1.463 -r1.464 src/sys/dev/ata/wd.c Please note that di

CVS commit: src/sys/dev/ata

2020-08-25 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Aug 25 13:42:09 UTC 2020 Modified Files: src/sys/dev/ata: ata_raid.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/ata/ata_raid.c Please note that diffs are not public domain; the

CVS commit: src/sys/dev/ata

2020-05-25 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon May 25 19:05:30 UTC 2020 Modified Files: src/sys/dev/ata: ata.c Log Message: disable downgrade of ATA mode from DMA, as generally not relevant any more - while it has been instrumental to inadvertedly discover driver bugs in

CVS commit: src/sys/dev/ata

2020-05-25 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon May 25 18:29:25 UTC 2020 Modified Files: src/sys/dev/ata: ata.c atavar.h Log Message: make ata_downgrade_mode() static, it's not used anywhere else To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158 src/sys/de

CVS commit: src/sys/dev/ata

2020-05-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun May 24 22:12:29 UTC 2020 Modified Files: src/sys/dev/ata: wd.c Log Message: account for already transferred data (partially done I/O) when retrying an xfer, to avoid reading/writing data from/to wrong offset, and eventually

CVS commit: src/sys/dev/ata

2020-05-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu May 21 09:11:33 UTC 2020 Modified Files: src/sys/dev/ata: ata_wdc.c Log Message: stop timeout handler while scheduling another part of partial I/O, to avoid race between the timeout and I/O submission; the I/O submission can

CVS commit: src/sys/dev/ata

2020-05-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri May 15 21:56:14 UTC 2020 Modified Files: src/sys/dev/ata: atareg.h Log Message: remove unused atacmd_tostatq() To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/ata/atareg.h Please note that diffs

CVS commit: src/sys/dev/ata

2020-05-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri May 15 16:58:28 UTC 2020 Modified Files: src/sys/dev/ata: ata_wdc.c Log Message: whitespace (bad indent) To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/sys/dev/ata/ata_wdc.c Please note that diffs are

CVS commit: src/sys/dev/ata

2020-05-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 2 19:09:56 UTC 2020 Modified Files: src/sys/dev/ata: ata.c ata_subr.c atavar.h Log Message: Back out changes to use a threadpool for now; it's causing trouble for some folks on Thinkpads. To generate a diff of this com

CVS commit: src/sys/dev/ata

2020-04-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Apr 25 00:07:27 UTC 2020 Modified Files: src/sys/dev/ata: ata.c ata_subr.c atavar.h Log Message: Rather than creating a kthread-per-channel, use a threadpool and a threadpool-job-per-channel for the in-thread-context work tha

CVS commit: src/sys/dev/ata

2020-04-07 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Apr 7 13:22:05 UTC 2020 Modified Files: src/sys/dev/ata: wd.c Log Message: drop wd lock in wdstart1() before calling the ata_bio hook; when called from ata thread context, that can still need to sleep for wdc attachments in

CVS commit: src/sys/dev/ata

2020-04-04 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Apr 4 22:30:03 UTC 2020 Modified Files: src/sys/dev/ata: ata_recovery.c ata_subr.c Log Message: stop xfer timeouts during recovery, all xfers will be requeued anyway this avoids race with the timeout routine when processin

CVS commit: src/sys/dev/ata

2020-01-18 Thread Simon Burge
Module Name:src Committed By: simonb Date: Sat Jan 18 11:24:40 UTC 2020 Modified Files: src/sys/dev/ata: wd.c Log Message: Tidy quirk table and remove outdated quick from the quirk format string. To generate a diff of this commit: cvs rdiff -u -r1.456 -r1.457 src/sys/dev

CVS commit: src/sys/dev/ata

2020-01-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jan 14 21:08:06 UTC 2020 Modified Files: src/sys/dev/ata: wd.c Log Message: enable the BAD_NCQ quirk for all 860 EVO drives XXX work-in-progress, it's not clear whether this is driver or controller XXX problem To generate

CVS commit: src/sys/dev/ata

2020-01-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jan 13 21:20:17 UTC 2020 Modified Files: src/sys/dev/ata: wd.c Log Message: disable NCQ by default for "Samsung SSD 860 EVO 1TB" and "Samsung SSD 860 EVO 500GB" - these drives have known broken NCQ support particularly when

CVS commit: src/sys/dev/ata

2019-04-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 7 13:00:00 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: Really implement WDF_DIRTY. patch(1) did something silly here ... To generate a diff of this commit: cvs rdiff -u -r1.448 -r1.449 src/sys/dev/ata/wd

CVS commit: src/sys/dev/ata

2019-04-05 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Apr 6 00:35:26 UTC 2019 Modified Files: src/sys/dev/ata: ata.c Log Message: Make sure the aprint_verbose chain is terminated with a newline. Check sep instead of printed, b/c the latter is reset several times. To generate a di

CVS commit: src/sys/dev/ata

2019-04-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Apr 5 21:31:44 UTC 2019 Modified Files: src/sys/dev/ata: atavar.h wd.c Log Message: drop AT_RST_NOCMD, it's a cut'n'paste side effect To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/dev/ata/atavar.h

CVS commit: src/sys/dev/ata

2019-04-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 5 20:44:09 UTC 2019 Modified Files: src/sys/dev/ata: atavar.h Log Message: unbreak the build, someone forgot to commit more stuff :-) To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/dev/ata/ata

CVS commit: src/sys/dev/ata

2019-04-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Apr 5 18:23:45 UTC 2019 Modified Files: src/sys/dev/ata: wd.c wdvar.h Log Message: Implement a DIRTY flag (copied from sd(4)) so avoid flushing the cache if there has been no write. This avoids a (long) timeout on the flush c

CVS commit: src/sys/dev/ata

2019-03-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Mar 19 16:56:29 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: The NCQ support added a private request queue to the wd driver. This makes the regular buffer queue ineffective, it also allowed to queue an unlimite

CVS commit: src/sys/dev/ata

2019-03-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Mar 19 06:51:05 UTC 2019 Modified Files: src/sys/dev/ata: wd.c wdvar.h Log Message: Set disk model name as disk type. The information can be queried through drvctl(4). To generate a diff of this commit: cvs rdiff -u -r1.444

CVS commit: src/sys/dev/ata

2019-03-18 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Mar 19 06:47:12 UTC 2019 Modified Files: src/sys/dev/ata: wd.c Log Message: Move standby on detach after wedges deletion in case wedges trigger I/O on the parent disk. Add debug messages. To generate a diff of this commit:

CVS commit: src/sys/dev/ata

2018-12-11 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Dec 11 23:06:30 UTC 2018 Modified Files: src/sys/dev/ata: ata.c Log Message: in atabus_detach(), shutdown the channel thread only after all the children successfully detach; this is especially important for atapibus, which n

CVS commit: src/sys/dev/ata

2018-11-07 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Nov 7 17:05:54 UTC 2018 Modified Files: src/sys/dev/ata: ata_subr.c Log Message: don't touch the queue structure in ata_queue_active() if atabus is already detached from the channel fixes panic on null pointer derefence du

CVS commit: src/sys/dev/ata

2018-10-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Oct 24 20:25:52 UTC 2018 Modified Files: src/sys/dev/ata: ata.c Log Message: ata_kill_active() needs to drop channel drop before calling kill_xfer() hook, otherwise code tries to lock against itself when deactivating the xfe

CVS commit: src/sys/dev/ata

2018-10-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Oct 24 20:03:07 UTC 2018 Removed Files: src/sys/dev/ata: TODO.ncq Log Message: remove TODO.ncq; the FIS note was added to atastart(), and the note about dump to unopened wd(4) device was attached to PR kern/16789, and nothin

CVS commit: src/sys/dev/ata

2018-10-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Oct 24 20:01:13 UTC 2018 Modified Files: src/sys/dev/ata: ata.c Log Message: add further note about FIS-based switching to atastart() To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/sys/dev/ata/ata.c P

CVS commit: src/sys/dev/ata

2018-10-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Oct 24 19:46:44 UTC 2018 Modified Files: src/sys/dev/ata: TODO.ncq wd.c Log Message: move the comment (and expand) about NCQ TRIM to wd_trim() To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/ata/T

CVS commit: src/sys/dev/ata

2018-10-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Oct 24 06:53:26 UTC 2018 Modified Files: src/sys/dev/ata: files.ata Log Message: only include ata_recovery.c with atabus (same as ata.c which provides ata_thread_run() used here) To generate a diff of this commit: cvs rdif

CVS commit: src/sys/dev/ata

2018-10-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Oct 23 22:05:01 UTC 2018 Modified Files: src/sys/dev/ata: TODO.ncq ld_ataraid.c Log Message: add support for DIOCCACHESYNC (!), and DIOCGCACHE; code adapted from ccd(4) tested with Intel ATA Raid To generate a diff of thi

CVS commit: src/sys/dev/ata

2018-10-22 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Oct 22 21:25:23 UTC 2018 Modified Files: src/sys/dev/ata: TODO.ncq Log Message: remove the note for dump, moral equivalent is done and biodone() most certainly should not be done To generate a diff of this commit: cvs rdif

CVS commit: src/sys/dev/ata

2018-10-22 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Oct 22 21:24:18 UTC 2018 Modified Files: src/sys/dev/ata: TODO.ncq Log Message: remove the wd* at umass? entry (comment moved to umass_isdata.c and manpage) remove MSI for ahcisata(4), siisata(4) - these were done To gene

CVS commit: src/sys/dev/ata

2018-10-22 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Oct 22 19:38:06 UTC 2018 Modified Files: src/sys/dev/ata: ata_raid.c ata_raid_adaptec.c ata_raid_intel.c ata_raid_jmicron.c ata_raid_nvidia.c ata_raid_promise.c ata_raid_via.c Log Message: convert fro

CVS commit: src/sys/dev/ata

2018-10-22 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Oct 22 19:36:28 UTC 2018 Modified Files: src/sys/dev/ata: ld_ataraid.c Log Message: no need for here To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/dev/ata/ld_ataraid.c Please note that diffs are n

CVS commit: src/sys/dev/ata

2018-08-31 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Aug 31 18:44:04 UTC 2018 Modified Files: src/sys/dev/ata: TODO.ncq Log Message: one less To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ata/TODO.ncq Please note that diffs are not public domain; t

CVS commit: src/sys/dev/ata

2018-08-10 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Aug 10 22:43:22 UTC 2018 Modified Files: src/sys/dev/ata: ata_subr.c atavar.h wd.c Log Message: fix race in wd_lastclose() on systems with two ide disks on same channel, which happened when one disk had pending I/O while the

CVS commit: src/sys/dev/ata

2018-08-06 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Aug 6 20:07:05 UTC 2018 Modified Files: src/sys/dev/ata: ata_subr.c atavar.h wd.c Log Message: add wddebug() which dumps some status for attached disks; indended for debugging of PR kern/52783 To generate a diff of this c

CVS commit: src/sys/dev/ata

2018-07-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 29 14:11:30 UTC 2018 Modified Files: src/sys/dev/ata: satapmp_subr.c satapmpvar.h Log Message: mark satapmp_rescan() static, it's not to be used outside satapmp_subr.c To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/sys/dev/ata

2018-06-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jun 22 09:06:04 UTC 2018 Modified Files: src/sys/dev/ata: ata_raid.c Log Message: Call config_cfattach_attach() regardless of whether the module is being built as part of a kernel or as a external module. Addresses kern/533

CVS commit: src/sys/dev/ata

2018-06-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jun 21 21:52:15 UTC 2018 Modified Files: src/sys/dev/ata: sata_subr.c satavar.h Log Message: split the port status reporting to new function sata_interpret_det() so it can be called separately from sata_reset_interface() do

CVS commit: src/sys/dev/ata

2018-06-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jun 3 18:38:36 UTC 2018 Modified Files: src/sys/dev/ata: wd.c Log Message: take mutex around check for pending flush, as the code before dksubr conversion had, to avoid possible race on my system doesn't really change beha

CVS commit: src/sys/dev/ata

2018-06-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jun 3 10:20:55 UTC 2018 Modified Files: src/sys/dev/ata: ld_ataraid.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/ata/ld_ataraid.c Please note that diffs are not public

CVS commit: src/sys/dev/ata

2018-06-01 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Jun 1 18:13:30 UTC 2018 Modified Files: src/sys/dev/ata: ata_wdc.c atavar.h Log Message: add a flag to start DMA before issuing commands - needed to work around a bug in some SATA chips which get confused if the disk respon

CVS commit: src/sys/dev/ata

2018-04-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 16 22:33:28 UTC 2018 Modified Files: src/sys/dev/ata: atavar.h Log Message: remove superfluous semicolon To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/dev/ata/atavar.h Please note that diffs ar

CVS commit: src/sys/dev/ata

2018-01-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Jan 7 11:37:30 UTC 2018 Modified Files: src/sys/dev/ata: wd.c Log Message: Fix block address calculation for bad sectors. To generate a diff of this commit: cvs rdiff -u -r1.437 -r1.438 src/sys/dev/ata/wd.c Please note th

CVS commit: src/sys/dev/ata

2017-12-13 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Dec 13 10:24:31 UTC 2017 Modified Files: src/sys/dev/ata: wd.c Log Message: Fix build for WD_SOFTBADSECT option. PR kern/52814 XXX No clue if this option actually works. This fix just makes it XXX compile without error.

CVS commit: src/sys/dev/ata

2017-11-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Nov 7 04:09:08 UTC 2017 Modified Files: src/sys/dev/ata: wd.c Log Message: Make wddone poll all drives of a channel again. To generate a diff of this commit: cvs rdiff -u -r1.435 -r1.436 src/sys/dev/ata/wd.c Please note t

CVS commit: src/sys/dev/ata

2017-11-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Nov 3 13:01:26 UTC 2017 Modified Files: src/sys/dev/ata: wd.c wdvar.h Log Message: Add WDF_OPEN flag to really disallow opening of a disk that has been invalidated. Restore wdbiorestart function to actually retry the faile

CVS commit: src/sys/dev/ata

2017-11-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Nov 1 21:27:22 UTC 2017 Modified Files: src/sys/dev/ata: TODO.ncq Log Message: one down - mlelstv converted wd(4) to dksubr To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ata/TODO.ncq Please note

CVS commit: src/sys/dev/ata

2017-10-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Oct 19 20:45:07 UTC 2017 Modified Files: src/sys/dev/ata: ata.c ata_subr.c wd.c Log Message: more detailed debug info; also sync DEBUG_* values in wd.c with ata.c To generate a diff of this commit: cvs rdiff -u -r1.138 -r1

CVS commit: src/sys/dev/ata

2017-10-18 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Oct 18 08:38:35 UTC 2017 Modified Files: src/sys/dev/ata: ata.c Log Message: add newlines to the debug messages To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/sys/dev/ata/ata.c Please note that diffs

CVS commit: src/sys/dev/ata

2017-10-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Oct 15 14:41:07 UTC 2017 Modified Files: src/sys/dev/ata: ata.c Log Message: move the extra thaw for scheduled ata_reset_channel() to the function itself, so it's done regardless if the actual reset is run from thread contex

CVS commit: src/sys/dev/ata

2017-10-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Oct 15 11:27:14 UTC 2017 Modified Files: src/sys/dev/ata: ata_wdc.c Log Message: revert the logic for wdc_wait_for_unbusy() in wdc_ata_bio_intr() to pre-NCQ, wdcintr() and wdctimeout() need that; follows same change in atapi

CVS commit: src/sys/dev/ata

2017-10-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Oct 14 13:20:32 UTC 2017 Modified Files: src/sys/dev/ata: wd.c Log Message: do not use the NCQ priority by default; seems it negatively affects performance at least with some drives, so this needs better understood first T

CVS commit: src/sys/dev/ata

2017-10-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Oct 14 13:15:14 UTC 2017 Modified Files: src/sys/dev/ata: wd.c Log Message: only call drive reset with AT_POLL when the command itself was polled, so that the logic for AT_POLL matches how e.g. ata_dmaerr() is called; this w

CVS commit: src/sys/dev/ata

2017-10-10 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Oct 10 17:19:39 UTC 2017 Modified Files: src/sys/dev/ata: ata.c ataconf.h atavar.h files.ata Added Files: src/sys/dev/ata: ata_subr.c Log Message: split off functions used by 'wd* at umass?' into separate file, unfor

CVS commit: src/sys/dev/ata

2017-10-08 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Oct 8 19:00:29 UTC 2017 Modified Files: src/sys/dev/ata: ata.c ataconf.h files.ata Log Message: as a stopgap measure, include necessary parts of dev/ata/ata.c even if no atabus is configured, so that kernels with just 'wd*

CVS commit: src/sys/dev/ata

2017-10-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 8 13:35:04 UTC 2017 Modified Files: src/sys/dev/ata: ata_wdc.c Log Message: Re-use the err label more so it is not unused for drivers that don't support dma. To generate a diff of this commit: cvs rdiff -u -r1.106 -r1

CVS commit: src/sys/dev/ata

2017-10-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Oct 8 04:52:33 UTC 2017 Modified Files: src/sys/dev/ata: ata.c Log Message: Don't assert channel lock in polled mode. ahcisata (and maybe others) use ata_delay during initialization where lock isn't taken. To generate a d

CVS commit: src/sys/dev/ata

2017-06-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jun 25 12:29:32 UTC 2017 Modified Files: src/sys/dev/ata: ata_raid_subr.c Log Message: dumb instruction To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ata/ata_raid_subr.c Please note that diffs are no

CVS commit: src/sys/dev/ata

2017-05-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 10 08:46:39 UTC 2017 Modified Files: src/sys/dev/ata: sata_subr.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ata/sata_subr.c Please note that diff

CVS commit: src/sys/dev/ata

2017-04-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 24 09:42:52 UTC 2017 Modified Files: src/sys/dev/ata: wd.c Log Message: remove the workaround for Seagate 'mod15write' bug, now driver only prints error on boog; unfortunately the code actually doesn't work, and there is

CVS commit: src/sys/dev/ata

2016-09-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Sep 27 08:05:34 UTC 2016 Modified Files: src/sys/dev/ata: ata_raid.c ld_ataraid.c Log Message: Remove some debug printf's that slipped through. Thanks, wiz! To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 sr

CVS commit: src/sys/dev/ata

2016-08-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Aug 5 06:54:22 UTC 2016 Modified Files: src/sys/dev/ata: wd.c Log Message: CID 1364758: Integer handling issues, avoid sign extension to 64 bits. To generate a diff of this commit: cvs rdiff -u -r1.425 -r1.426 src/sys/de

CVS commit: src/sys/dev/ata

2016-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Fri Jul 22 12:55:34 UTC 2016 Modified Files: src/sys/dev/ata: wd.c Log Message: Space before tab and trailing whitespace fixes. To generate a diff of this commit: cvs rdiff -u -r1.424 -r1.425 src/sys/dev/ata/wd.c Please note

CVS commit: src/sys/dev/ata

2016-07-21 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Fri Jul 22 04:08:10 UTC 2016 Modified Files: src/sys/dev/ata: wd.c wdvar.h Log Message: Add ATA8-ACS Long Logical Sector Feature Set support to wd(4). To generate a diff of this commit: cvs rdiff -u -r1.423 -r1.424 src/sys/dev

CVS commit: src/sys/dev/ata

2016-07-21 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Thu Jul 21 19:05:03 UTC 2016 Modified Files: src/sys/dev/ata: wd.c Log Message: Call wd_params_to_properties() after softc is sufficently initialized. To generate a diff of this commit: cvs rdiff -u -r1.422 -r1.423 src/sys/dev

CVS commit: src/sys/dev/ata

2016-07-21 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Thu Jul 21 18:54:13 UTC 2016 Modified Files: src/sys/dev/ata: wd.c Log Message: Remove unused 'params' argument of local function wd_params_to_properties() To generate a diff of this commit: cvs rdiff -u -r1.421 -r1.422 src/sy

CVS commit: src/sys/dev/ata

2014-10-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Oct 11 14:05:12 UTC 2014 Modified Files: src/sys/dev/ata: wd.c Log Message: The partition size is always computed in native blocks. The code also assumes that native blocks are always DEVB_SIZE (a few lines earlier) which mak

CVS commit: src/sys/dev/ata

2014-09-10 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Sep 10 07:04:48 UTC 2014 Modified Files: src/sys/dev/ata: ata.c ata_raidreg.h ata_wdc.c atavar.h wd.c wdvar.h Log Message: g/u_int[0-9]*_t/ s/u_int/uint/g To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132 src/sys

CVS commit: src/sys/dev/ata

2014-07-25 Thread David A. Holland
Module Name:src Committed By: dholland Date: Fri Jul 25 08:34:27 UTC 2014 Modified Files: src/sys/dev/ata: wd.c Log Message: Drop the old discard/trim ioctls from wd.c. To generate a diff of this commit: cvs rdiff -u -r1.410 -r1.411 src/sys/dev/ata/wd.c Please note that

CVS commit: src/sys/dev/ata

2014-07-25 Thread David A. Holland
Module Name:src Committed By: dholland Date: Fri Jul 25 08:22:08 UTC 2014 Modified Files: src/sys/dev/ata: wd.c Log Message: Implement d_discard for wd. To generate a diff of this commit: cvs rdiff -u -r1.409 -r1.410 src/sys/dev/ata/wd.c Please note that diffs are not p

CVS commit: src/sys/dev/ata

2013-10-30 Thread Matthias Drochner
Module Name:src Committed By: drochner Date: Wed Oct 30 15:41:14 UTC 2013 Modified Files: src/sys/dev/ata: wd.c Log Message: play the addref/delref game on suspend, prevents crash if the disk/CF Card is eg. in a PCMCIA adapter and not mounted To generate a diff of this c

CVS commit: src/sys/dev/ata

2013-08-19 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Aug 19 14:58:57 UTC 2013 Modified Files: src/sys/dev/ata: wd.c Log Message: Don't return EPASSTHROUGH when succeeding in ODIOCGDINFO or ODIOCGDEFLABEL To generate a diff of this commit: cvs rdiff -u -r1.404 -r1.405 src/sys/de

CVS commit: src/sys/dev/ata

2013-08-07 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Wed Aug 7 12:50:17 UTC 2013 Modified Files: src/sys/dev/ata: ata.c Log Message: Make sure a channel has drives attached before resetting it otherwise wdc_reset will panic the kernel due to a null derefrence of ch_drives. To gene

CVS commit: src/sys/dev/ata

2013-05-03 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Fri May 3 20:02:09 UTC 2013 Modified Files: src/sys/dev/ata: satapmp_subr.c Log Message: Wait for DRDY after the PMP commands and don't wait before. Should fix the worst part of PR kern/47793. To generate a diff of this commi

CVS commit: src/sys/dev/ata

2013-04-17 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Apr 17 12:22:44 UTC 2013 Modified Files: src/sys/dev/ata: satapmp_subr.c Log Message: Also print port multiplier port number when register accesses fail. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sy

CVS commit: src/sys/dev/ata

2013-01-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jan 9 22:03:49 UTC 2013 Modified Files: src/sys/dev/ata: wd.c Log Message: Initialize b_resid before biodone in wdioctlstrategy error branch. Otherwise we may panic when physio's biodone callback kasserts something about

CVS commit: src/sys/dev/ata

2013-01-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jan 9 17:55:04 UTC 2013 Modified Files: src/sys/dev/ata: atareg.h Log Message: Name the ATA SECURITY commands. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/ata/atareg.h Please note that diff

CVS commit: src/sys/dev/ata

2012-11-01 Thread David Brownlee
Module Name:src Committed By: abs Date: Thu Nov 1 13:46:52 UTC 2012 Modified Files: src/sys/dev/ata: ata.c Log Message: Allow setting ATADEBUG_MASK to default value of atadebug_mask To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/sys/dev/ata/ata.c P

CVS commit: src/sys/dev/ata

2012-08-04 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Aug 4 21:21:10 UTC 2012 Modified Files: src/sys/dev/ata: ata.c Log Message: If ch_ndrives is > 0, then ch_drive is not supposed to be NULL. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/sys/dev/ata/ata

CVS commit: src/sys/dev/ata

2012-08-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Aug 1 09:38:55 UTC 2012 Modified Files: src/sys/dev/ata: satapmp_subr.c Log Message: Make this compile again after DRIVET rename To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/ata/satapmp_subr.c P

CVS commit: src/sys/dev/ata

2012-08-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Aug 1 09:02:04 UTC 2012 Added Files: src/sys/dev/ata: satapmp_subr.c satapmpvar.h Log Message: Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc cleanup and SATA PMP support), now that I'm back to fi

CVS commit: src/sys/dev/ata

2012-07-29 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 29 21:10:50 UTC 2012 Modified Files: src/sys/dev/ata: ata.c atavar.h Log Message: Remove ata_channel->ata_drives, it's redundant with the pointer in ata_drive_datas. Originally part of a commit by bouyer@. To generate

CVS commit: src/sys/dev/ata

2012-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 22 19:07:34 UTC 2012 Modified Files: src/sys/dev/ata: ata.c Log Message: It turns out my previous commit here was off by one. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/dev/ata/ata.c Pleas

CVS commit: src/sys/dev/ata

2012-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 22 18:42:11 UTC 2012 Modified Files: src/sys/dev/ata: wd.c Log Message: FLUSH CACHE EXT is a 48-bit command, issue as such. Both FLUSH CACHE commands will return the LBA of first failure in the return task file, specifi

CVS commit: src/sys/dev/ata

2012-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 22 18:37:31 UTC 2012 Modified Files: src/sys/dev/ata: wd.c Log Message: ATA-6 and ACS-2 drafts both say the flush cache commands may take longer than 30 seconds to complete. For now assume 5 minutes will always be enoug

CVS commit: src/sys/dev/ata

2012-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 22 18:21:17 UTC 2012 Modified Files: src/sys/dev/ata: satapmp_subr.c Log Message: Port multiplier registers are 64-bits wide (although the ones we need only implement 32-bits). Implement the access routines using 64-bit

CVS commit: src/sys/dev/ata

2012-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 22 18:17:30 UTC 2012 Modified Files: src/sys/dev/ata: satapmp_subr.c Log Message: The vendor and product IDs are 16-bit, print out as such. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ata/sa

CVS commit: src/sys/dev/ata

2012-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 22 18:12:01 UTC 2012 Modified Files: src/sys/dev/ata: satapmp_subr.c Log Message: Correctly issue port multiplier register access commands as LBA48 now that the FIS code doesn't get in the way of doing that. To generat

CVS commit: src/sys/dev/ata

2012-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 22 18:03:34 UTC 2012 Modified Files: src/sys/dev/ata: satapmp_subr.c Log Message: KASSERT if we attempt to access an invalid port. Also, small whitespace change for internal consistency. To generate a diff of this comm

CVS commit: src/sys/dev/ata

2012-07-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 22 17:57:58 UTC 2012 Modified Files: src/sys/dev/ata: satafis_subr.c Log Message: SATA uses the head portion of the device register in the command protocol for port multiplier register access. Thus, in the LBA48 case, p

CVS commit: src/sys/dev/ata

2012-07-15 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Sun Jul 15 15:49:46 UTC 2012 Modified Files: src/sys/dev/ata: ata.c Log Message: Stopgap crash prevention when atadebug_mask includes DEBUG_PROBE bit. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/dev

CVS commit: src/sys/dev/ata

2012-06-26 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jun 26 09:49:25 UTC 2012 Modified Files: src/sys/dev/ata: wd.c Log Message: In some case, when an error is reported by the disk, the ahci controller still reports a number of bytes transfered equal to bcount. This then trigger

CVS commit: src/sys/dev/ata

2012-05-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue May 15 19:01:10 UTC 2012 Modified Files: src/sys/dev/ata: sata_subr.c Log Message: If the PHY reports link up but no communication, wait 5 more seconds for communications to be established. This seems to be needed for some con

  1   2   >