10 Jan, 2006

2 commits


09 Jan, 2006

6 commits

  • include/asm-ppc/ had #ifdef __KERNEL__ in all header files that
    are not meant for use by user space, include/asm-powerpc does
    not have this yet.

    This patch gets us a lot closer there. There are a few cases
    where I was not sure, so I left them out. I have verified
    that no CONFIG_* symbols are used outside of __KERNEL__
    any more and that there are no obvious compile errors when
    including any of the headers in user space libraries.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Paul Mackerras

    Arnd Bergmann
     
  • This fixes pci_address_to_pio() to return an unsigned long (to be safe)
    and fixes a bug in the implementation that caused it to return a bogus
    IO port number

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     
  • There is code in the RPAPHP directory that is identical to this routine;
    I'll be removing that code in an upcoming patch, but this patch is needed
    to expose the function to make it callable.

    Signed-off-by: Linas Vepstas
    Signed-off-by: Paul Mackerras

    linas
     
  • This updates the OF address parsers to return the IO flags
    indicating the type of address obtained. It also adds a PCI
    call for converting physical addresses that hit IO space into
    into IO tokens, and add routines that return the translated
    addresses into struct resource

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     
  • 23-rpaphp-migrate.patch (parts)

    This patch moves some pci device add & remove code from the PCI
    hotplug directory to the arch/powerpc/kernel directory, and cleans
    it up a tad. The primary reason for this is that the code performs
    some fairly generic operations that are shared with the PCI error
    recovery code (living in the arch/powerpc/kernel directory).

    Signed-off-by: Linas Vepstas
    Signed-off-by: Paul Mackerras

    Linas Vepstas
     
  • This moves the discovery of legacy serial ports to a separate file,
    makes it common to ppc32 and ppc64, and reworks it to use the new OF
    address translators to get to the ports early. This new version can also
    detect some PCI serial cards using legacy chips and will probably match
    those discovered port with the default console choice.

    Only ppc64 gets udbg still yet, unifying udbg isn't finished yet.

    It also adds some speed-probing code to udbg so that the default console
    can come up at the same speed it was set to by the firmware.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

19 Nov, 2005

1 commit