Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys

Module Name:    src
Committed By:   dyoung
Date:           Wed Aug 17 00:59:48 UTC 2011

Modified Files:
        src/sys/arch/powerpc/booke/pci: pq3pci.c
        src/sys/arch/x86/pci: pci_intr_machdep.c
        src/sys/dev/pci: pci_subr.c pcireg.h ppb.c

Log Message:
Redefine PCI_MSI_* and PCI_PCIE_* constants in terms of bits(3).

Use named constants and more conventional variable names in
pci_msi_establish() and pci_msi_disestablish().  Fix a couple of bugs:
pci_msi_establish() returned a pointer to the struct intrhand instead of
to the struct msi_hdl as it was intended to, and pci_msi_disestablish()
did not free(9) the msi_hdl.

To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/booke/pci/pq3pci.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/x86/pci/pci_intr_machdep.c
cvs rdiff -u -r1.87 -r1.88 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/pcireg.h
cvs rdiff -u -r1.45 -r1.46 src/sys/dev/pci/ppb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index