libata: remove libata.spindown_compat
With STANDBYDOWN tracking added, libata.spindown_compat isn't necessary anymore. If userspace shutdown(8) issues STANDBYNOW, libata warns. If userspace shutdown(8) doesn't issue STANDBYNOW, libata does the right thing. Userspace can tell whether kernel supports spindown by testing whether sysfs node manage_start_stop exists as before. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
1daf9ce74e
commit
d9aca22cf4
4 changed files with 16 additions and 25 deletions
|
@ -58,7 +58,6 @@ extern int atapi_enabled;
|
|||
extern int atapi_dmadir;
|
||||
extern int libata_fua;
|
||||
extern int libata_noacpi;
|
||||
extern int ata_spindown_compat;
|
||||
extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev);
|
||||
extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev,
|
||||
u64 block, u32 n_block, unsigned int tf_flags,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue