From owner-svn-src-all@FreeBSD.ORG Thu Sep 9 20:10:57 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 247DD10656C4; Thu, 9 Sep 2010 20:10:57 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 766D58FC1B; Thu, 9 Sep 2010 20:10:56 +0000 (UTC) Received: by yxn35 with SMTP id 35so934495yxn.13 for ; Thu, 09 Sep 2010 13:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=R3iaQODg/0O55j8j/ChY8/gYFQ8s9eZZeUqVhDEsfjY=; b=si3q8Ador01bnVeUSDBcyxa9hulKw4nxl8d4s+rVbOobms2i59oznbsRbwpcjVZsix N3Igyq/Qjthxa+0OylKsKzcNc2sNoL3glydNwhqujD2XGGI0xHVO+7dcHznDjmuu8hO4 8KJ4EpEYzlIDehuAaImf8kqEtn6UiXAZxT86M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=qf440tUNj8/4bCXTsx2Udt5VYbTIsIT/7ocf7/V1xemxtV3em4m7K9j2HdUyn0N4xb DuwFlM01zlo7RgWcR7R/Txih5Phslb0f1rL0+974f0+NobPM05inuADdazuPOR0wnmaD eA8yZIwmU6zn/ZhCcfDCtGoyIkCFqEWifvLCQ= MIME-Version: 1.0 Received: by 10.101.26.21 with SMTP id d21mr576629anj.177.1284063055333; Thu, 09 Sep 2010 13:10:55 -0700 (PDT) Sender: mdf356@gmail.com Received: by 10.100.126.20 with HTTP; Thu, 9 Sep 2010 13:10:55 -0700 (PDT) In-Reply-To: <201009091819.o89IJGLr015797@svn.freebsd.org> References: <201009091819.o89IJGLr015797@svn.freebsd.org> Date: Thu, 9 Sep 2010 13:10:55 -0700 X-Google-Sender-Auth: GDvYHbAmtyVza1mfTpUjoAlhxf4 Message-ID: From: mdf@FreeBSD.org To: John Baldwin 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: r212368 - head/sys/dev/pci 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: Thu, 09 Sep 2010 20:10:57 -0000 On Thu, Sep 9, 2010 at 11:19 AM, John Baldwin wrote: > Author: jhb > Date: Thu Sep =A09 18:19:15 2010 > New Revision: 212368 > URL: http://svn.freebsd.org/changeset/base/212368 > > Log: > =A0- Rename the constant for the Master Data Parity Error flag in the > =A0 =A0PCI status register to map its current name. > =A0- Use PCIM_* rather than PCIR_* for constants for fields in various AE= R > =A0 =A0registers. =A0I got about half of them right in the previous commi= t. > > =A0MFC after: =A0 =A01 week > > Modified: > =A0head/sys/dev/pci/pcireg.h This seems to break building CURRENT with this error: /data/sb/bsd.git/sys/dev/msk/if_msk.c: In function 'mskc_reset': /data/sb/bsd.git/sys/dev/msk/if_msk.c:1337: error: 'PCIM_STATUS_PERRREPORT' undeclared (first use in this function) /data/sb/bsd.git/sys/dev/msk/if_msk.c:1337: error: (Each undeclared identifier is reported only once /data/sb/bsd.git/sys/dev/msk/if_msk.c:1337: error: for each function it appears in.) /data/sb/bsd.git/sys/dev/msk/if_msk.c: In function 'msk_intr_hwerr': /data/sb/bsd.git/sys/dev/msk/if_msk.c:3408: error: 'PCIM_STATUS_PERRREPORT' undeclared (first use in this function) Thanks, matthew > > Modified: head/sys/dev/pci/pcireg.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/pci/pcireg.h =A0 Thu Sep =A09 17:49:18 2010 =A0 =A0 =A0 = =A0(r212367) > +++ head/sys/dev/pci/pcireg.h =A0 Thu Sep =A09 18:19:15 2010 =A0 =A0 =A0 = =A0(r212368) > @@ -67,7 +67,7 @@ > =A0#define =A0 =A0 =A0 =A0PCIM_STATUS_CAPPRESENT =A00x0010 > =A0#define =A0 =A0 =A0 =A0PCIM_STATUS_66CAPABLE =A0 0x0020 > =A0#define =A0 =A0 =A0 =A0PCIM_STATUS_BACKTOBACK =A00x0080 > -#define =A0 =A0 =A0 =A0PCIM_STATUS_PERRREPORT =A00x0100 > +#define =A0 =A0 =A0 =A0PCIM_STATUS_MDPERR =A0 =A0 =A00x0100 > =A0#define =A0 =A0 =A0 =A0PCIM_STATUS_SEL_FAST =A0 =A00x0000 > =A0#define =A0 =A0 =A0 =A0PCIM_STATUS_SEL_MEDIMUM 0x0200 > =A0#define =A0 =A0 =A0 =A0PCIM_STATUS_SEL_SLOW =A0 =A00x0400 > @@ -689,18 +689,18 @@ > > =A0/* Advanced Error Reporting */ > =A0#define =A0 =A0 =A0 =A0PCIR_AER_UC_STATUS =A0 =A0 =A00x04 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_TRAINING_ERROR =A0 =A0 =A00x00000001 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_DL_PROTOCOL_ERROR =A0 0x00000010 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_POISONED_TLP =A0 =A0 =A0 =A00x0000100= 0 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_FC_PROTOCOL_ERROR =A0 0x00002000 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_COMPLETION_TIMEOUT =A00x00004000 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_COMPLETER_ABORT =A0 =A0 0x00008000 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_UNEXPECTED_COMPLETION 0x00010000 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_RECEIVER_OVERFLOW =A0 0x00020000 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_MALFORMED_TLP =A0 =A0 =A0 0x00040000 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_ECRC_ERROR =A0 =A0 =A0 =A0 =A00x00080= 000 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_UNSUPPORTED_REQUEST 0x00100000 > -#define =A0 =A0 =A0 =A0PCIR_AER_UC_ACS_VIOLATION =A0 =A0 =A0 0x00200000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_TRAINING_ERROR =A0 =A0 =A00x00000001 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_DL_PROTOCOL_ERROR =A0 0x00000010 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_POISONED_TLP =A0 =A0 =A0 =A00x0000100= 0 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_FC_PROTOCOL_ERROR =A0 0x00002000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_COMPLETION_TIMEOUT =A00x00004000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_COMPLETER_ABORT =A0 =A0 0x00008000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_UNEXPECTED_COMPLETION 0x00010000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_RECEIVER_OVERFLOW =A0 0x00020000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_MALFORMED_TLP =A0 =A0 =A0 0x00040000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_ECRC_ERROR =A0 =A0 =A0 =A0 =A00x00080= 000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_UNSUPPORTED_REQUEST 0x00100000 > +#define =A0 =A0 =A0 =A0PCIM_AER_UC_ACS_VIOLATION =A0 =A0 =A0 0x00200000 > =A0#define =A0 =A0 =A0 =A0PCIR_AER_UC_MASK =A0 =A0 =A0 =A00x08 =A0 =A0/* = Shares bits with UC_STATUS */ > =A0#define =A0 =A0 =A0 =A0PCIR_AER_UC_SEVERITY =A0 =A00x0c =A0 =A0/* Shar= es bits with UC_STATUS */ > =A0#define =A0 =A0 =A0 =A0PCIR_AER_COR_STATUS =A0 =A0 0x10 > @@ -718,18 +718,18 @@ > =A0#define =A0 =A0 =A0 =A0PCIM_AER_ECRC_CHECK_ENABLE =A0 =A0 =A00x0000010= 0 > =A0#define =A0 =A0 =A0 =A0PCIR_AER_HEADER_LOG =A0 =A0 0x1c > =A0#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_CMD =A0 =A00x2c =A0 =A0/* Only= for root complex ports */ > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_COR_ENABLE =A0 =A0 0x00000001 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_NF_ENABLE =A0 =A0 =A00x00000002 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_F_ENABLE =A0 =A0 =A0 0x00000004 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_COR_ENABLE =A0 =A0 0x00000001 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_NF_ENABLE =A0 =A0 =A00x00000002 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_F_ENABLE =A0 =A0 =A0 0x00000004 > =A0#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_STATUS 0x30 =A0 =A0/* Only for= root complex ports */ > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_COR_ERR =A0 =A0 =A0 =A00x0000000= 1 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_MULTI_COR_ERR =A00x00000002 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_UC_ERR =A0 =A0 =A0 =A0 0x0000000= 4 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_MULTI_UC_ERR =A0 0x00000008 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_FIRST_UC_FATAL 0x00000010 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_NF_ERR =A0 =A0 =A0 =A0 0x0000002= 0 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_F_ERR =A0 =A0 =A0 =A0 =A00x00000= 040 > -#define =A0 =A0 =A0 =A0PCIR_AER_ROOTERR_INT_MESSAGE =A0 =A00xf8000000 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_COR_ERR =A0 =A0 =A0 =A00x0000000= 1 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_MULTI_COR_ERR =A00x00000002 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_UC_ERR =A0 =A0 =A0 =A0 0x0000000= 4 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_MULTI_UC_ERR =A0 0x00000008 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_FIRST_UC_FATAL 0x00000010 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_NF_ERR =A0 =A0 =A0 =A0 0x0000002= 0 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_F_ERR =A0 =A0 =A0 =A0 =A00x00000= 040 > +#define =A0 =A0 =A0 =A0PCIM_AER_ROOTERR_INT_MESSAGE =A0 =A00xf8000000 > =A0#define =A0 =A0 =A0 =A0PCIR_AER_COR_SOURCE_ID =A00x34 =A0 =A0/* Only f= or root complex ports */ > =A0#define =A0 =A0 =A0 =A0PCIR_AER_ERR_SOURCE_ID =A00x36 =A0 =A0/* Only f= or root complex ports */ > >