Source-Changes archive

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

CVS commit: src/sys/arch/mips/alchemy/dev



Module Name:    src
Committed By:   gdamore
Date:           Mon Oct  2 07:32:16 UTC 2006

Modified Files:
        src/sys/arch/mips/alchemy/dev: aupsc.c aupscreg.h aupscvar.h

Log Message:
Make PSC better able to support different protocols, as developed for SPI.
The main changes needed are:

        1) pass address and IRQ information from aubus (auspi uses interrupts)

        2) all Au1550 PSC protocols have the same status and register bits
           for enable, so clean that up (clock registers could be different)

        3) improve timeout logic on enable (a fixed delay isn't good enough)

        4) make aupsc_print return QUIET, as it is annoying to see messages
           for unconfigured protocols.  This whole mechanism should be re-
           engineered, to either use indirect configuration or provide more
           detailed board-driven configuration.  A comment to that effect is
           placed in the source.

This is shown to work on DBAU1550.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/mips/alchemy/dev/aupsc.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/mips/alchemy/dev/aupscreg.h \
    src/sys/arch/mips/alchemy/dev/aupscvar.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