Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2006 22:10:10 GMT
From:      Gil Kloepfer <fgil@kloepfer.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/81692: [patch] atacontrol(8) support for disk APM and acoustic management
Message-ID:  <200601162210.k0GMAAWG037478@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/81692; it has been noted by GNATS.

From: Gil Kloepfer <fgil@kloepfer.org>
To: bug-followup@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 --



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601162210.k0GMAAWG037478>