History log of /netbsd/sys/dev/ata/atareg.h (Results 1 – 25 of 45)
Revision Date Author Comments
# 81007714 05-Jul-2022 andvar <andvar@NetBSD.org>

s/retrys/retries/ in comments.


# a3579352 15-May-2020 jdolecek <jdolecek@NetBSD.org>

remove unused atacmd_tostatq()


# 7db1d345 07-Oct-2017 jdolecek <jdolecek@NetBSD.org>

Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch

ATA subsystem was changed to support several outstanding commands, and use
NCQ xfers if supported by both the controller

Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch

ATA subsystem was changed to support several outstanding commands, and use
NCQ xfers if supported by both the controller and the disk, including NCQ
error recovery. Set NCQ high priority for BPRIO_TIMECRITICAL xfers
if supported. Added FUA support.

Done some work towards MP-safe, all ATA code tsleep()/wakeup() replaced
by condvars, and switched most code from spl* to mutexes (separate
wd(4) and ata channel lock).

Introduced new option WD_CHAOS_MONKEY to facilitate testing of error
handling, fixed several uncovered issues. Also fixed several problems
with kernel dump to wd(4) disk.

Tested with ahcisata(4), mvsata(4), siisata(4), piixide(4) on amd64,
with and without port multiplier, both disk and ATAPI devices; other
drivers and archs mechanically adjusted and compile-tested. NCQ is
supported for ahcisata(4) and siisata(4) for any controller, for
mvsata(4) only Gen IIe ones for now. Also enabled ATAPI support in
mvsata(4).

Thanks to Matt Thomas for initial ATA infrastructure patch, and
Jonathan A.Kollasch for siisata(4) NCQ changes and general testing.

Also fixes PR kern/43169 (wd(4)); and PR kern/11811, PR kern/47041,
PR kern/51979 (kernel dump)

show more ...


# 5366e9ef 30-Oct-2013 drochner <drochner@NetBSD.org>

-recognize CF cards by the magic value in inquiry data
-kill CFG_ATAPI_MASK, didn't see anything in the specs supporting
that it exists


# ebaa977d 09-Jan-2013 riastradh <riastradh@NetBSD.org>

Name the ATA SECURITY commands.


# 8feb2e9e 19-Oct-2012 drochner <drochner@NetBSD.org>

Implement experimental support to pass notifications that a file
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for

Implement experimental support to pass notifications that a file
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for now.
This is what was posted here:
http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html
with minor cleanup, and the global switch replaced by a mount option.

show more ...


# 6d2d3913 24-Oct-2011 jakllsch <jakllsch@NetBSD.org>

SATA_SIGNAL_GEN3 definition for Serial ATA capabilities word in
IDENTIFY DEVICE structure.


# 212975f1 24-Oct-2011 jakllsch <jakllsch@NetBSD.org>

Add defines for SET FEATURES for the SATA, PUIS and AAM feature sets.


# 0da2c5fc 25-Jan-2010 jakllsch <jakllsch@NetBSD.org>

Add some more elements to struct ataparams.

These mostly concern the new Long Physical Sectors
and Long Logical Sectors feature sets.

Information from a draft of ACS-2, with some additional
in-betw

Add some more elements to struct ataparams.

These mostly concern the new Long Physical Sectors
and Long Logical Sectors feature sets.

Information from a draft of ACS-2, with some additional
in-between members and bits being borrowed from OpenBSD.

There's lots more in ACS-2 we could add, but for the most
part it would be superfluous.

XXX: Some elements marked as reserved no longer are,
and some elements we still reference are now obsolete.

show more ...


# 6b47b91e 22-Jan-2010 jakllsch <jakllsch@NetBSD.org>

Correct an error in previous commit.


# 6f6dd47b 21-Jan-2010 jakllsch <jakllsch@NetBSD.org>

Convert to C99 types. Make whitespace more consistent.


# a11ec02c 10-Jan-2010 tsutsui <tsutsui@NetBSD.org>

Provide atacmd_to48() in case of #if defined(_STANDALONE) too
because standalone wdc driver in cobalt bootloader requires it
for LBA48 support.


# 6d07b400 19-Oct-2009 bouyer <bouyer@NetBSD.org>

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !


# 5aaada1b 08-Jun-2009 jakllsch <jakllsch@NetBSD.org>

Add atap_max_lba member to ataparams for LBA48 Maximum Address. From OpenBSD.
While here, renumber some __reserved member names to be sequential.
Also, add a member for the World Wide Name.

Use atap

Add atap_max_lba member to ataparams for LBA48 Maximum Address. From OpenBSD.
While here, renumber some __reserved member names to be sequential.
Also, add a member for the World Wide Name.

Use atap_max_lba in wd.c instead of offsets into a __reserved member.

show more ...


# b6a2ef75 25-Dec-2007 perry <perry@NetBSD.org>

Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h


# eb90df68 18-Nov-2007 christos <christos@NetBSD.org>

From Marco Trillo (marcotrillo at gmail dot com):
Add Advanced power management in atactl(8)


# bd627359 21-Aug-2007 bouyer <bouyer@NetBSD.org>

Improved SATA support, from Jonathan A. Kollasch in PR bin/36772:
* use full 5-bit command queue depth that SATA supports
* decode SATA bits


# 168cd830 16-Nov-2006 christos <christos@NetBSD.org>

__unused removal on arguments; approved by core.


# f87d5917 30-Sep-2006 itohy <itohy@NetBSD.org>

A little effort against kernel bloat....
Exclude ATA DMA support if no ATA DMA capable drivers are compiled in.


# 9162ad53 24-Sep-2006 xtraeme <xtraeme@NetBSD.org>

Typo: WCDD_SECURITY_FREEZE -> WDCC_SECURITY_FREEZE

Noticed by Sergey Svishchev.


# fbae48b9 16-Feb-2006 perry <perry@NetBSD.org>

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.


# 93124077 24-Dec-2005 perry <perry@NetBSD.org>

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 10e5ded5 12-Apr-2005 drochner <drochner@NetBSD.org>

add definition for "security freeze"


# f31bd063 27-Feb-2005 perry <perry@NetBSD.org>

nuke trailing whitespace


12