christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
itohy
f87d591722
A little effort against kernel bloat....
...
Exclude ATA DMA support if no ATA DMA capable drivers are compiled in.
2006-09-30 15:56:17 +00:00
xtraeme
9162ad5359
Typo: WCDD_SECURITY_FREEZE -> WDCC_SECURITY_FREEZE
...
Noticed by Sergey Svishchev.
2006-09-24 08:32:17 +00:00
perry
fbae48b901
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@.
2006-02-16 20:17:12 +00:00
perry
93124077ae
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:27:29 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
drochner
10e5ded54b
add definition for "security freeze"
2005-04-12 11:45:40 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
he
764115cc85
Put an #ifdef _KERNEL around inline functions using panic().
...
Fixes compile problem for the atactl program for the vax target.
2004-08-23 10:08:48 +00:00
thorpej
5373bdd103
- Move to48() to atareg.h and rename it atacmd_to48().
...
- Add an atacmd_tosataq() that converts a 32-bit command to a Native
SATA Queued command.
2004-08-21 02:17:07 +00:00
thorpej
f45b99ef1d
Add SATA queued read/write commands.
2004-08-12 04:26:06 +00:00
bouyer
aaf27601c3
When using LBA48, use Flush cache extended command if supported.
...
From Christos Zoulas in PR 25366, with minor adjustements from me.
2004-05-03 20:11:40 +00:00
wiz
4fdf521f76
It's extension, not extention. From Miod Vallat (miod at online fr).
2004-03-14 20:11:24 +00:00
thorpej
3787a92812
Move the register definitions for ATA Task File registers to atareg.h;
...
they are also used by controllers that do not map the registers into the
system address space, and are thus distinct from the "controller" registers.
2003-12-30 19:30:13 +00:00
thorpej
3695c4271b
SMART info is logically part of the register set; move it from atavar.h
...
to atareg.h
2003-12-30 19:12:24 +00:00
yamt
c64b77bad6
add definitions of new feature bits.
2003-11-30 14:05:47 +00:00
yamt
b9bb4e3f05
- rename WDC_CAP_LBA48 to ATA_CMD2_LBA48.
...
- remove WDC_CAP_QUEUE. (there's already ATA_CMD2_RWQ.)
as discussed on tech-kern@.
2003-11-30 13:57:12 +00:00
yamt
d1e85f1677
remove ATA_CMD2_SMART, which seems wrong and isn't used.
2003-11-26 15:03:14 +00:00
wiz
0aca09fbc0
Fix two typos. From Tom Cosgrove via jmc@openbsd.
2003-11-02 09:49:20 +00:00
skd
f3de6832d9
Additional definitions as per SATA specifications.
...
Approved by Manuel Bouyer.
2003-09-23 03:55:59 +00:00
soren
9e129fde67
Add ATA SMART reporting support from Ben Collver in kern/12787.
2002-08-05 23:29:27 +00:00
christos
f9b7ffe292
Add LBA48 support based on patches from Keisuke YOSHIDA. KNF a bit while
...
I am there.
2002-01-13 17:24:28 +00:00
toshii
4866f1a22b
Fix typo. s/extention/extension/
2001-07-05 08:38:24 +00:00
augustss
c62698f733
Fix a couple of misspelled comments.
2000-03-29 23:16:48 +00:00
bouyer
a1471db64a
move wd.c:print_wderror() to ata.c:ata_perror().
...
In wdc_probe_caps() add code to guess the ATA revision supported (if
ATA4 if Ultra-DMA, ATA2 if PIO mode > 2). We can't rely on param.atap_ata_major
here, at last one Ultra-DMA drive claims to support only ATA-3.
Use the ATA version in ata_perror(), and to try a flush cache command
in a shutdown hook for IDE drives.
1999-01-18 20:06:24 +00:00
tsubai
75ed099b01
struct ataparam has endian dependence, so add big-endian case.
1998-12-01 13:06:37 +00:00
kenh
7faa4da4bc
Don't protect this with #ifdef _KERNEL
1998-11-18 16:32:29 +00:00
bouyer
19fddaeeb5
Merge bouyer-ide
1998-10-12 16:09:10 +00:00