svn commit: r212628 - head/sys/dev/aac
pluknet
pluknet at gmail.com
Wed Sep 15 09:27:42 UTC 2010
On 15 September 2010 05:19, Ed Maste <emaste at freebsd.org> wrote:
> Author: emaste
> Date: Wed Sep 15 01:19:11 2010
> New Revision: 212628
> URL: http://svn.freebsd.org/changeset/base/212628
>
> Log:
> Add some enums and constants from Adaptec's latest driver
> (build 17911).
>
> Modified:
> head/sys/dev/aac/aacreg.h
>
> Modified: head/sys/dev/aac/aacreg.h
> ==============================================================================
> --- head/sys/dev/aac/aacreg.h Wed Sep 15 00:17:52 2010 (r212627)
> +++ head/sys/dev/aac/aacreg.h Wed Sep 15 01:19:11 2010 (r212628)
> @@ -306,7 +306,9 @@ struct aac_adapter_init {
> u_int32_t HostElapsedSeconds;
> /* ADAPTER_INIT_STRUCT_REVISION_4 begins here */
> u_int32_t InitFlags; /* flags for supported features */
> -#define AAC_INITFLAGS_NEW_COMM_SUPPORTED 1
> +#define AAC_INITFLAGS_NEW_COMM_SUPPORTED 1
> +#define AAC_INITFLAGS_DRIVER_USES_UTC_TIME 0x10
> +#define AAC_INITFLAGS_DRIVER_SUPPORTS_PM 0x20
> u_int32_t MaxIoCommands; /* max outstanding commands */
> u_int32_t MaxIoSize; /* largest I/O command */
> u_int32_t MaxFibSize; /* largest FIB to adapter */
> @@ -885,6 +887,17 @@ typedef enum {
> AifEnBatteryNeedsRecond, /* The battery needs reconditioning */
> AifEnClusterEvent, /* Some cluster event */
> AifEnDiskSetEvent, /* A disk set event occured. */
> + AifEnContainerScsiEvent, /* a container event with no. and scsi id */
> + AifEnPicBatteryEvent, /* An event gen. by pic_battery.c for an ABM */
> + AifEnExpEvent, /* Exp. Event Type to replace CTPopUp messages */
> + AifEnRAID6RebuildDone, /* RAID6 rebuild finished */
> + AifEnSensorOverHeat, /* Heat Sensor indicate overheat */
> + AifEnSensorCoolDown, /* Heat Sensor ind. cooled down after overheat */
> + AifFeatureKeysModified, /* notif. of updated feature keys */
> + AifApplicationExpirationEvent, /* notif. on app. expiration status */
> + AifEnBackgroundConsistencyCheck,/* BCC notif. for NEC - DDTS 94700 */
> + AifEnAddJBOD, /* A new JBOD type drive was created (30) */
> + AifEnDeleteJBOD, /* A JBOD type drive was deleted (31) */
> AifDriverNotifyStart=199, /* Notifies for host driver go here */
> /* Host driver notifications start here */
> AifDenMorphComplete, /* A morph operation completed */
Hi.
Afaik, these are somewhere from between b15753 and b16119.
Just for possible clarification.
--- 6_b15753/aacreg.h 2010-05-28 12:51:21.000000000 +0400
+++ 6_b16119/aacreg.h 2010-05-28 12:51:22.000000000 +0400
@@ -306,7 +306,9 @@
u_int32_t HostElapsedSeconds;
/* ADAPTER_INIT_STRUCT_REVISION_4 begins here */
u_int32_t InitFlags; /* flags for
supported features */
-#define INITFLAGS_NEW_COMM_SUPPORTED 1
+#define AAC_INITFLAGS_NEW_COMM_SUPPORTED 1
+#define AAC_INITFLAGS_DRIVER_USES_UTC_TIME 0x10
+#define AAC_INITFLAGS_DRIVER_SUPPORTS_PM 0x20
u_int32_t MaxIoCommands; /* max outstanding commands */
u_int32_t MaxIoSize; /* largest I/O
command */
u_int32_t MaxFibSize; /* largest FIB
to adapter */
[...]
--
wbr,
pluknet
More information about the svn-src-head
mailing list