Source-Changes archive

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

CVS commit: src/sys/arch/cobalt

Module Name:    src
Committed By:   tsutsui
Date:           Sat Mar 22 18:32:21 UTC 2008

Modified Files:
        src/sys/arch/cobalt/cobalt: autoconf.c machdep.c
        src/sys/arch/cobalt/conf: files.cobalt
        src/sys/arch/cobalt/dev: com_mainbus.c panel.c
        src/sys/arch/cobalt/include: Makefile cpu.h intr.h
        src/sys/arch/cobalt/pci: pci_machdep.c
Added Files:
        src/sys/arch/cobalt/cobalt: interrupt.c
Removed Files:
        src/sys/arch/cobalt/include: leds.h

Log Message:
Reorganize interrupt handling on cobalt and allow multiple interrupts on
each icu irq to support multi function PCI devices in the Qube's PCI slot:

- split out interrupt stuff from machdep.c into new interrupt.c
- prepare struct *_intrhead to handle cpu and icu interrupts
- use LIST and malloc(9) to handle multiple interrupts per icu irq
  (mostly taken from algor/pci/pcib.c and evbmips/malta/pci/pcib.c)
- move evcnt(9) stuff into *_intrhead from cobalt_intrhand
  (i.e. make it per interrupt rather than per handler)
- in pci_intr_map(9) handle CPU interrupt separately and add a sanity check
- fixup interrupt lines for devices on the PCI slot in pci_conf_interrupt(9)
- move some device address definitions into <machine/cpu.h> and
  remove <machine/leds.h>
- misc cosmetics

No objection on port-cobalt for three weeks.

To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/arch/cobalt/cobalt/autoconf.c
cvs rdiff -r0 -r1.1 src/sys/arch/cobalt/cobalt/interrupt.c
cvs rdiff -r1.93 -r1.94 src/sys/arch/cobalt/cobalt/machdep.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/cobalt/conf/files.cobalt
cvs rdiff -r1.15 -r1.16 src/sys/arch/cobalt/dev/com_mainbus.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/cobalt/dev/panel.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/cobalt/include/Makefile
cvs rdiff -r1.11 -r1.12 src/sys/arch/cobalt/include/cpu.h
cvs rdiff -r1.30 -r1.31 src/sys/arch/cobalt/include/intr.h
cvs rdiff -r1.1 -r0 src/sys/arch/cobalt/include/leds.h
cvs rdiff -r1.25 -r1.26 src/sys/arch/cobalt/pci/pci_machdep.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