Source-Changes archive

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

CVS commit: [netbsd-7] src/sys



Module Name:    src
Committed By:   martin
Date:           Thu Jan  8 11:39:38 UTC 2015

Modified Files:
        src/sys/arch/x86/pci [netbsd-7]: ichlpcib.c
        src/sys/dev/ic [netbsd-7]: i82801lpcreg.h
        src/sys/dev/pci [netbsd-7]: pci_map.c pcivar.h

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #394):
        sys/dev/pci/pcivar.h: revision 1.101
        sys/dev/pci/pci_map.c: revision 1.32
        sys/dev/ic/i82801lpcreg.h: revision 1.12
        sys/arch/x86/pci/ichlpcib.c: revision 1.45
Fix a bug that ichlpcib(4) maps I/O area incorrectly and then fails to attach
gpio. It might also fix ACPI related problem described in PR#48960:
  - The LPCIB_PCI_PMBASE and LPCIB_PCI_GPIO register are alike PCI BAR but not
    completely compatible with it. It's ok because the registers' addresses are
    out of BAR0-BAR5(0x10-0x24) and are located in the device-dependent header.
    The PMBASE and GPIO registers define the base address and the type but not
    describe the size. The size is fixed to 128bytes. So use
    pci_mapreg_submap().
  - Make pci_mapreg_submap() extern again.
  - Fix the calculation of the map size in pci_mapreg_submap().


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.43.4.1 src/sys/arch/x86/pci/ichlpcib.c
cvs rdiff -u -r1.11 -r1.11.34.1 src/sys/dev/ic/i82801lpcreg.h
cvs rdiff -u -r1.30.12.1 -r1.30.12.2 src/sys/dev/pci/pci_map.c
cvs rdiff -u -r1.99.4.1 -r1.99.4.2 src/sys/dev/pci/pcivar.h

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