bin/81692: [patch] atacontrol(8) support for disk APM and acoustic management

Gil Kloepfer fgil at kloepfer.org
Mon Jan 16 14:10:28 PST 2006


The following reply was made to PR bin/81692; it has been noted by GNATS.

From: Gil Kloepfer <fgil at kloepfer.org>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: bin/81692: [patch] atacontrol(8) support for disk APM and acoustic management
Date: Mon, 16 Jan 2006 16:02:53 -0600

 Oops...this is also required for the FreeBSD 6.0 patch above.  It is
 the required change to /usr/include/sys/ata.h that provides the
 ATA codes for APM and acoustic management.
 
 
 -- Cut Here -- -- Cut Here -- -- Cut Here -- -- Cut Here -- -- Cut Here --
 --- usr/include/sys/ata.h.ORIG	Thu Nov  3 02:09:29 2005
 +++ usr/include/sys/ata.h	Mon Jan 16 01:06:47 2006
 @@ -267,6 +267,10 @@
  #define         ATA_SF_DIS_RELIRQ       0xdd    /* disable release interrupt */
  #define         ATA_SF_ENAB_SRVIRQ      0x5e    /* enable service interrupt */
  #define         ATA_SF_DIS_SRVIRQ       0xde    /* disable service interrupt */
 +#define		ATA_SF_ENAB_APM		0x05	/* enable adv power mgmt */
 +#define		ATA_SF_DIS_APM		0x85	/* disable adv power mgmt */
 +#define		ATA_SF_ENAB_ACCOUS	0x42	/* enable acoustic mgmt */
 +#define		ATA_SF_DIS_ACCOUS	0xc2	/* disable acoustic mgmt */
  #define ATA_SECURITY_FREEE_LOCK         0xf5    /* freeze security config */
  #define ATA_READ_NATIVE_MAX_ADDDRESS    0xf8    /* read native max address */
  #define ATA_SET_MAX_ADDRESS             0xf9    /* set max address */
 -- Cut Here -- -- Cut Here -- -- Cut Here -- -- Cut Here -- -- Cut Here --


More information about the freebsd-bugs mailing list