What is this function?? When it is not from group of standard PM callbacks.
Mistake fallacy between HDD spin down programs and... hibernation?? Windows Revo Sleep app in subconscious!!!! Bugs origin from bad religion in hearts, not (generatively) from spoken (not so much in media...) laziness (it is a derivative-only — see they can't use categorial logic when programming!!:::) — they psycho-compensate it with „means” of prolonged categorial bias fallacies, when using too-scattered procedures of different name elements. What is role of ata_dev_power_standby function?? Fully manual standby of DISK-ONLY (as one of functions of old Win' Revo Sleep for example), -or- SYSTEM-WIDE??
Original libata-core.c code nano's (additionally, HTML is gnome-term... not from quick roxterm app!!!!) view - see how many „Torvaldic” logical fallacies we have inside (ver 6.11.0-....-MANJARO)
1999 void ata_dev_power_set_standby(struct ata_device *dev) 2000 { 2001 unsigned long ap_flags = dev->link->ap->flags; 2002 struct ata_taskfile tf; 2003 unsigned int err_mask; 2004 2005 /* If the device is already sleeping or in standby, do nothing. */ 2006 if ((dev->flags & ATA_DFLAG_SLEEPING) || 2007 !ata_dev_power_is_active(dev)) 2008 return; 2009 2010 /* 2011 * Some odd clown BIOSes issue spindown on power off (ACPI S4 or S> 2012 * causing some drives to spin up and down again. For these, do no> 2013 * if we are being called on shutdown. 2014 */ 2015 if ((ap_flags & ATA_FLAG_NO_POWEROFF_SPINDOWN) && 2016 system_state == SYSTEM_POWER_OFF) 2017 return; 2018 2019 if ((ap_flags & ATA_FLAG_NO_HIBERNATE_SPINDOWN) && 2020 system_entering_hibernation()) 2021 return;
No comments:
Post a Comment