Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 13:27:40 +0400
From:      pluknet <pluknet@gmail.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r212628 - head/sys/dev/aac
Message-ID:  <AANLkTimYYqhgL6WgebZD3OFKNNML-9JGwKnKFcAq9ZMc@mail.gmail.com>
In-Reply-To: <201009150119.o8F1JCjW098403@svn.freebsd.org>
References:  <201009150119.o8F1JCjW098403@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 September 2010 05:19, Ed Maste <emaste@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:
> =A0Add some enums and constants from Adaptec's latest driver
> =A0(build 17911).
>
> Modified:
> =A0head/sys/dev/aac/aacreg.h
>
> Modified: head/sys/dev/aac/aacreg.h
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/sys/dev/aac/aacreg.h =A0 Wed Sep 15 00:17:52 2010 =A0 =A0 =A0 =
=A0(r212627)
> +++ head/sys/dev/aac/aacreg.h =A0 Wed Sep 15 01:19:11 2010 =A0 =A0 =A0 =
=A0(r212628)
> @@ -306,7 +306,9 @@ struct aac_adapter_init {
> =A0 =A0 =A0 =A0u_int32_t =A0 =A0 =A0 HostElapsedSeconds;
> =A0 =A0 =A0 =A0/* ADAPTER_INIT_STRUCT_REVISION_4 begins here */
> =A0 =A0 =A0 =A0u_int32_t =A0 =A0 =A0 InitFlags; =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0/* flags for supported features */
> -#define AAC_INITFLAGS_NEW_COMM_SUPPORTED =A0 =A0 =A0 1
> +#define =A0 =A0 =A0 =A0AAC_INITFLAGS_NEW_COMM_SUPPORTED =A0 =A0 =A0 =A01
> +#define =A0 =A0 =A0 =A0AAC_INITFLAGS_DRIVER_USES_UTC_TIME =A0 =A0 =A00x1=
0
> +#define =A0 =A0 =A0 =A0AAC_INITFLAGS_DRIVER_SUPPORTS_PM =A0 =A0 =A0 =A00=
x20
> =A0 =A0 =A0 =A0u_int32_t =A0 =A0 =A0 MaxIoCommands; =A0 =A0 =A0 =A0 =A0/*=
 max outstanding commands */
> =A0 =A0 =A0 =A0u_int32_t =A0 =A0 =A0 MaxIoSize; =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0/* largest I/O command */
> =A0 =A0 =A0 =A0u_int32_t =A0 =A0 =A0 MaxFibSize; =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 /* largest FIB to adapter */
> @@ -885,6 +887,17 @@ typedef enum {
> =A0 =A0 =A0 =A0AifEnBatteryNeedsRecond, =A0 =A0 =A0 =A0/* The battery nee=
ds reconditioning */
> =A0 =A0 =A0 =A0AifEnClusterEvent, =A0 =A0 =A0 =A0 =A0 =A0 =A0/* Some clus=
ter event */
> =A0 =A0 =A0 =A0AifEnDiskSetEvent, =A0 =A0 =A0 =A0 =A0 =A0 =A0/* A disk se=
t event occured. */
> + =A0 =A0 =A0 AifEnContainerScsiEvent, =A0 =A0 =A0 =A0/* a container even=
t with no. and scsi id */
> + =A0 =A0 =A0 AifEnPicBatteryEvent, =A0 /* An event gen. by pic_battery.c=
 for an ABM */
> + =A0 =A0 =A0 AifEnExpEvent, =A0 =A0 =A0 =A0 =A0/* Exp. Event Type to rep=
lace CTPopUp messages */
> + =A0 =A0 =A0 AifEnRAID6RebuildDone, =A0/* RAID6 rebuild finished */
> + =A0 =A0 =A0 AifEnSensorOverHeat, =A0 =A0/* Heat Sensor indicate overhea=
t */
> + =A0 =A0 =A0 AifEnSensorCoolDown, =A0 =A0/* Heat Sensor ind. cooled down=
 after overheat */
> + =A0 =A0 =A0 AifFeatureKeysModified, /* notif. of updated feature keys *=
/
> + =A0 =A0 =A0 AifApplicationExpirationEvent, =A0/* notif. on app. expirat=
ion status */
> + =A0 =A0 =A0 AifEnBackgroundConsistencyCheck,/* BCC notif. for NEC - DDT=
S 94700 */
> + =A0 =A0 =A0 AifEnAddJBOD, =A0 =A0 =A0 =A0 =A0 /* A new JBOD type drive =
was created (30) */
> + =A0 =A0 =A0 AifEnDeleteJBOD, =A0 =A0 =A0 =A0/* A JBOD type drive was de=
leted (31) */
> =A0 =A0 =A0 =A0AifDriverNotifyStart=3D199, =A0 =A0 =A0 /* Notifies for ho=
st driver go here */
> =A0 =A0 =A0 =A0/* Host driver notifications start here */
> =A0 =A0 =A0 =A0AifDenMorphComplete, =A0 =A0 =A0 =A0 =A0 =A0/* A morph ope=
ration 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 */
[...]

--=20
wbr,
pluknet



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