Source-Changes archive

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

CVS commit: [netbsd-6] src/sys



Module Name:    src
Committed By:   snj
Date:           Fri Jan 16 08:22:25 UTC 2015

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

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1229):
        sys/arch/x86/pci/ichlpcib.c: revision 1.40, 1.45
        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
Use '\n' at the end of all aprint_error_dev() format strings.
--
Fix a bug that ichlpcib(4) maps I/O area incorrectly and then fails to attach
gpio. It might also fixes 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.34 -r1.34.6.1 src/sys/arch/x86/pci/ichlpcib.c
cvs rdiff -u -r1.11 -r1.11.14.1 src/sys/dev/ic/i82801lpcreg.h
cvs rdiff -u -r1.29 -r1.29.10.1 src/sys/dev/pci/pci_map.c
cvs rdiff -u -r1.98 -r1.98.2.1 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