svn commit: r212368 - head/sys/dev/pci

John Baldwin jhb at freebsd.org
Fri Sep 10 03:00:51 UTC 2010


On Thursday, September 09, 2010 4:10:55 pm mdf at freebsd.org wrote:
> On Thu, Sep 9, 2010 at 11:19 AM, John Baldwin <jhb at freebsd.org> wrote:
> > Author: jhb
> > Date: Thu Sep  9 18:19:15 2010
> > New Revision: 212368
> > URL: http://svn.freebsd.org/changeset/base/212368
> >
> > Log:
> >  - Rename the constant for the Master Data Parity Error flag in the
> >    PCI status register to map its current name.
> >  - Use PCIM_* rather than PCIR_* for constants for fields in various AER
> >    registers.  I got about half of them right in the previous commit.
> >
> >  MFC after:    1 week
> >
> > Modified:
> >  head/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)

My bad, I will fix.  Surprised a driver is even messing with this bit as only
the PCI bus driver should really be doing so (if it grows error handling 
ability).

-- 
John Baldwin


More information about the svn-src-head mailing list