From owner-svn-src-all@FreeBSD.ORG Wed Sep 15 09:27:42 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91816106564A; Wed, 15 Sep 2010 09:27:42 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id F1ADB8FC1B; Wed, 15 Sep 2010 09:27:41 +0000 (UTC) Received: by qwg5 with SMTP id 5so5485136qwg.13 for ; Wed, 15 Sep 2010 02:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7rzyHzRBaC82aRSslMGpMthqwGNGV0KeW+wBAXQu4Dw=; b=Z8IaxwUUBhMdlMdAU1Zv/qOWb/Nhxlc3r5WTNUK+t87j7EeXwCLicCdk8vZsc8vfFL ajlC1iB+RlkUP8WPBiMJDrXRcrm9lGQPSkTCPamWPb0SJZKGT6gCX5zIBAs7mfeOXEc8 X4Xt3cQAslELkv/WZfNQNqEDHH6jA3KQfrveA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LbnNg6E0mdd4Rolb9ELHlHXD+cxurBoh7tjXNMW+xIF/Qv/xDDDy2QpXfwiMhHgdfD GoeDTQKgfSXRFsMBBq+QC2BlhUOTVqt83h5ByKhLuZfSiSMMX8oHJ5BLwInFMADc6VVp yyBNd2E4Tp8yJp3GDpB01tvavNj83qvpV2Ee8= MIME-Version: 1.0 Received: by 10.224.67.82 with SMTP id q18mr868364qai.162.1284542860606; Wed, 15 Sep 2010 02:27:40 -0700 (PDT) Received: by 10.229.19.206 with HTTP; Wed, 15 Sep 2010 02:27:40 -0700 (PDT) In-Reply-To: <201009150119.o8F1JCjW098403@svn.freebsd.org> References: <201009150119.o8F1JCjW098403@svn.freebsd.org> Date: Wed, 15 Sep 2010 13:27:40 +0400 Message-ID: From: pluknet To: Ed Maste Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r212628 - head/sys/dev/aac X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 09:27:42 -0000 On 15 September 2010 05:19, Ed Maste 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