Source-Changes-HG archive

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

[src/thorpej_scsipi]: src/sys Sync with HEAD.



details:   https://anonhg.NetBSD.org/src/rev/ff4d32637bf0
branches:  thorpej_scsipi
changeset: 477418:ff4d32637bf0
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Mar 27 15:30:05 2001 +0000

description:
Sync with HEAD.

diffstat:

 sys/arch/alpha/alpha/conf.c                   |    52 +-
 sys/arch/alpha/alpha/dec_2100_a50.c           |   321 +-
 sys/arch/alpha/alpha/machdep.c                |     6 +-
 sys/arch/alpha/alpha/pmap.c                   |    31 +-
 sys/arch/alpha/alpha/trap.c                   |    14 +-
 sys/arch/alpha/common/bus_dma.c               |     6 +-
 sys/arch/alpha/include/logout.h               |   122 +-
 sys/arch/alpha/pci/pci_550.c                  |    20 +-
 sys/arch/amiga/amiga/amiga_bus_simple_0x800.c |    41 +
 sys/arch/amiga/amiga/conf.c                   |    37 +-
 sys/arch/amiga/amiga/genassym.cf              |     4 +-
 sys/arch/amiga/amiga/machdep.c                |     4 +-
 sys/arch/amiga/amiga/pmap.c                   |    21 +-
 sys/arch/amiga/amiga/trap.c                   |    31 +-
 sys/arch/amiga/conf/files.amiga               |     5 +-
 sys/arch/amiga/dev/clock.c                    |     6 +-
 sys/arch/amiga/dev/gayle_pcmcia.c             |     4 +-
 sys/arch/amiga/dev/isic_supio.c               |    14 +-
 sys/arch/amiga/include/conf.h                 |    27 +-
 sys/arch/amigappc/amigappc/machdep.c          |     4 +-
 sys/arch/amigappc/include/conf.h              |    28 +-
 sys/arch/arc/arc/conf.c                       |    62 +-
 sys/arch/arc/arc/machdep.c                    |     4 +-
 sys/arch/arm/arm/undefined.c                  |   119 +-
 sys/arch/arm/arm32/db_interface.c             |     3 +-
 sys/arch/arm/arm32/pmap.c                     |     8 +-
 sys/arch/arm/conf/files.arm                   |     6 +-
 sys/arch/arm/mainbus/cpu.c                    |     9 +-
 sys/arch/arm26/arm26/bus.c                    |    14 +-
 sys/arch/arm26/arm26/conf.c                   |    10 +-
 sys/arch/arm26/arm26/cpu.c                    |    82 +-
 sys/arch/arm26/arm26/db_interface.c           |     5 +-
 sys/arch/arm26/arm26/except.c                 |    17 +-
 sys/arch/arm26/arm26/fpu.c                    |     9 +-
 sys/arch/arm26/arm26/machdep.c                |     6 +-
 sys/arch/arm26/arm26/pmap.c                   |     6 +-
 sys/arch/arm26/arm26/start.c                  |     8 +-
 sys/arch/arm26/conf/files.arm26               |    16 +-
 sys/arch/arm26/include/param.h                |     6 +-
 sys/arch/arm26/include/podulebus_machdep.h    |   127 +
 sys/arch/arm26/iobus/iobus.c                  |    12 +-
 sys/arch/arm26/iobus/upc_iobus.c              |     4 +-
 sys/arch/arm26/podulebus/asc.c                |    11 +-
 sys/arch/arm26/podulebus/ascvar.h             |     4 +-
 sys/arch/arm26/podulebus/dtide.c              |    18 +-
 sys/arch/arm26/podulebus/if_ea.c              |   157 -
 sys/arch/arm26/podulebus/if_eareg.h           |    48 -
 sys/arch/arm26/podulebus/if_eh.c              |    20 +-
 sys/arch/arm26/podulebus/if_ei.c              |   380 --
 sys/arch/arm26/podulebus/if_eireg.h           |    62 -
 sys/arch/arm26/podulebus/podulebus.c          |    21 +-
 sys/arch/arm26/podulebus/podulebus.h          |   108 +-
 sys/arch/arm32/arm32/blockio.S                |   250 +-
 sys/arch/arm32/arm32/bus_dma.c                |     4 +-
 sys/arch/arm32/arm32/conf.c                   |    42 +-
 sys/arch/arm32/arm32/fault.c                  |    14 +-
 sys/arch/arm32/arm32/machdep.c                |    45 +-
 sys/arch/arm32/conf/RPC_WSCONS                |   304 +
 sys/arch/arm32/conf/files.arm32               |    38 +-
 sys/arch/arm32/dev/kbd.c                      |     6 +-
 sys/arch/arm32/dev/pms.c                      |    10 +-
 sys/arch/arm32/dev/rpckbd.c                   |   637 +++
 sys/arch/arm32/dev/rpckbdvar.h                |    83 +
 sys/arch/arm32/dev/wskbdmap_mfii.c            |   553 +++
 sys/arch/arm32/dev/wskbdmap_mfii.h            |    40 +
 sys/arch/arm32/include/bootconfig.h           |     4 +-
 sys/arch/arm32/include/conf.h                 |    71 +-
 sys/arch/arm32/include/podulebus_machdep.h    |   166 +
 sys/arch/arm32/include/vidc.h                 |     6 +-
 sys/arch/arm32/iomd/iomd.c                    |    12 +-
 sys/arch/arm32/iomd/rpckbd_iomd.c             |   123 +
 sys/arch/arm32/podulebus/Makefile             |     7 -
 sys/arch/arm32/podulebus/amps.c               |    13 +-
 sys/arch/arm32/podulebus/asc.c                |    23 +-
 sys/arch/arm32/podulebus/ascvar.h             |     5 +-
 sys/arch/arm32/podulebus/cosc.c               |    19 +-
 sys/arch/arm32/podulebus/coscvar.h            |     5 +-
 sys/arch/arm32/podulebus/csa.c                |    13 +-
 sys/arch/arm32/podulebus/csc.c                |    19 +-
 sys/arch/arm32/podulebus/icside.c             |    34 +-
 sys/arch/arm32/podulebus/if_ea.c              |    74 +-
 sys/arch/arm32/podulebus/if_eb.c              |     8 +-
 sys/arch/arm32/podulebus/if_ie.c              |    28 +-
 sys/arch/arm32/podulebus/if_ne_pbus.c         |    14 +-
 sys/arch/arm32/podulebus/oak.c                |     6 +-
 sys/arch/arm32/podulebus/podule_data.h        |   256 -
 sys/arch/arm32/podulebus/podulebus.c          |    47 +-
 sys/arch/arm32/podulebus/podulebus.h          |   150 +-
 sys/arch/arm32/podulebus/podulebus_io.c       |    78 +-
 sys/arch/arm32/podulebus/podulelist2h.awk     |   210 -
 sys/arch/arm32/podulebus/podules              |   169 -
 sys/arch/arm32/podulebus/podules.h            |   176 -
 sys/arch/arm32/podulebus/ptsc.c               |    20 +-
 sys/arch/arm32/podulebus/rapide.c             |     6 +-
 sys/arch/arm32/podulebus/sfasvar.h            |     5 +-
 sys/arch/arm32/podulebus/simide.c             |     5 +-
 sys/arch/arm32/riscpc/rpc_machdep.c           |   315 +-
 sys/arch/arm32/vidc/console/console.c         |     7 +-
 sys/arch/arm32/vidc/console/vidcrender.c      |    67 +-
 sys/arch/arm32/vidc/vidc20config.c            |   812 ++++
 sys/arch/arm32/vidc/vidc20config.h            |    64 +
 sys/arch/arm32/vidc/vidcvideo.c               |   835 ++++
 sys/arch/arm32/vidc/vidcvideo.h               |    43 +
 sys/arch/atari/atari/bus.c                    |     4 +-
 sys/arch/atari/atari/conf.c                   |    85 +-
 sys/arch/atari/atari/locore.s                 |    11 +-
 sys/arch/atari/atari/machdep.c                |     9 +-
 sys/arch/atari/atari/pmap.c                   |    19 +-
 sys/arch/atari/atari/trap.c                   |    12 +-
 sys/arch/atari/atari/vectors.s                |    35 +-
 sys/arch/atari/conf/files.atari               |    13 +-
 sys/arch/atari/isa/fdcisa.c                   |   207 +
 sys/arch/bebox/bebox/bus_dma.c                |     4 +-
 sys/arch/bebox/bebox/conf.c                   |    71 +-
 sys/arch/bebox/bebox/machdep.c                |     4 +-
 sys/arch/bebox/include/conf.h                 |     8 +-
 sys/arch/cobalt/cobalt/bus.c                  |     4 +-
 sys/arch/cobalt/cobalt/conf.c                 |    37 +-
 sys/arch/cobalt/cobalt/machdep.c              |     4 +-
 sys/arch/dnard/conf/files.dnard               |     6 +-
 sys/arch/dreamcast/dev/maple/maple.c          |   547 +++
 sys/arch/dreamcast/include/conf.h             |     8 +-
 sys/arch/evbsh3/include/conf.h                |     8 +-
 sys/arch/hp300/dev/grf.c                      |     7 +-
 sys/arch/hp300/hp300/conf.c                   |    23 +-
 sys/arch/hp300/hp300/machdep.c                |     9 +-
 sys/arch/hp300/hp300/pmap.c                   |    23 +-
 sys/arch/hp300/hp300/trap.c                   |    16 +-
 sys/arch/hpc/conf/platid.def                  |    21 +-
 sys/arch/hpc/hpc/platid.h                     |     6 +-
 sys/arch/hpc/hpc/platid_mask.c                |    42 +-
 sys/arch/hpc/hpc/platid_name.c                |    24 +-
 sys/arch/hpc/include/platid_generated.h       |    46 +-
 sys/arch/hpc/include/platid_mask.h            |    42 +-
 sys/arch/hpc/stand/Makefile                   |     7 +-
 sys/arch/hpc/stand/binary/ARM/hpcboot.exe.uu  |  3562 ++++++++++---------
 sys/arch/hpc/stand/binary/MIPS/hpcboot.exe.uu |  4511 ++++++++++++------------
 sys/arch/hpc/stand/binary/SH3/hpcboot.exe.uu  |  3354 +++++++++---------
 sys/arch/hpc/stand/dspgen/Makefile            |     4 +-
 sys/arch/hpc/stand/dspgen/do_subst.awk        |     4 +-
 sys/arch/hpc/stand/hpcboot/arch.cpp           |    27 +-
 sys/arch/hpc/stand/hpcboot/arch.h             |     3 +-
 sys/arch/hpc/stand/hpcboot/arm/arm.asm        |    21 +-
 sys/arch/hpc/stand/hpcboot/arm/arm_arch.cpp   |     4 +-
 sys/arch/hpc/stand/hpcboot/console.cpp        |    26 +-
 sys/arch/hpc/stand/hpcboot/console.h          |     7 +-
 sys/arch/hpc/stand/hpcboot/file_http.cpp      |    12 +-
 sys/arch/hpc/stand/hpcboot/framebuffer.cpp    |   103 +-
 sys/arch/hpc/stand/hpcboot/hpcboot.config     |     3 +-
 sys/arch/hpc/stand/hpcboot/hpcboot.cpp        |     4 +-
 sys/arch/hpc/stand/hpcboot/hpcdefs.h          |     4 +-
 sys/arch/hpc/stand/hpcboot/hpcmenu.cpp        |   308 +-
 sys/arch/hpc/stand/hpcboot/hpcmenu.h          |    22 +-
 sys/arch/hpc/stand/hpcboot/load.cpp           |    34 +-
 sys/arch/hpc/stand/hpcboot/load.h             |     3 +-
 sys/arch/hpc/stand/hpcboot/load_elf.cpp       |    68 +-
 sys/arch/hpc/stand/hpcboot/load_elf.h         |     3 +-
 sys/arch/hpc/stand/hpcboot/machine_config.cpp |   142 +
 sys/arch/hpc/stand/hpcboot/memory.cpp         |    21 +-
 sys/arch/hpc/stand/hpcboot/memory.h           |     5 +-
 sys/arch/hpc/stand/hpcboot/res/hpcmenu.rc     |    14 +-
 sys/arch/hpc/stand/hpcboot/res/resource.h     |     5 +-
 sys/arch/hpc/stand/hpcboot/sh3/hd64461.h      |    27 +-
 sys/arch/hpc/stand/hpcboot/sh3/scifreg.h      |    14 +-
 sys/arch/hpc/stand/hpcboot/sh3/sh3.h          |    99 +-
 sys/arch/hpc/stand/hpcboot/sh3/sh_arch.cpp    |    76 +-
 sys/arch/hpc/stand/hpcboot/sh3/sh_arch.h      |     6 +-
 sys/arch/hpc/stand/hpcboot/sh3/sh_console.cpp |    87 +-
 sys/arch/hpc/stand/hpcboot/sh3/sh_console.h   |    37 +-
 sys/arch/hpcarm/conf/files.hpcarm             |     4 +-
 sys/arch/hpcarm/hpcarm/fault.c                |    14 +-
 sys/arch/hpcarm/hpcarm/hpc_machdep.c          |    88 +-
 sys/arch/hpcarm/hpcarm/locore.S               |    20 +-
 sys/arch/hpcarm/hpcarm/machdep.c              |    13 +-
 sys/arch/hpcarm/include/conf.h                |    21 +-
 sys/arch/hpcarm/include/db_machdep.h          |     5 +-
 sys/arch/hpcarm/include/disklabel.h           |    58 +-
 sys/arch/hpcarm/include/disklabel_acorn.h     |     3 -
 sys/arch/hpcarm/sa11x0/sa1111.c               |    48 +-
 sys/arch/hpcarm/sa11x0/sa1111_var.h           |     6 +-
 sys/arch/hpcarm/sa11x0/sa11x0.c               |    16 +-
 sys/arch/hpcarm/sa11x0/sa11x0_reg.h           |    10 +-
 sys/arch/hpcarm/sa11x0/sa11x0_var.h           |     3 +-
 sys/arch/hpcarm/sa11x0/sa11x1_pcic.c          |    10 +-
 sys/arch/hpcarm/sa11x0/sa11xx_pcic.c          |     9 +-
 sys/arch/hpcmips/conf/GENERIC                 |     9 +-
 sys/arch/hpcmips/conf/files.hpcmips           |     6 +-
 sys/arch/hpcmips/dev/ite8181.c                |   186 +-
 sys/arch/hpcmips/dev/ite8181var.h             |    16 +-
 sys/arch/hpcmips/dev/mq200.c                  |   272 +-
 sys/arch/hpcmips/dev/mq200debug.c             |   547 +++
 sys/arch/hpcmips/dev/mq200machdep.c           |   233 +
 sys/arch/hpcmips/dev/mq200priv.h              |   156 +
 sys/arch/hpcmips/dev/mq200reg.h               |    28 +-
 sys/arch/hpcmips/dev/mq200subr.c              |   371 ++
 sys/arch/hpcmips/dev/mq200var.h               |    30 +-
 sys/arch/hpcmips/hpcmips/bus_dma.c            |     4 +-
 sys/arch/hpcmips/hpcmips/conf.c               |    43 +-
 sys/arch/hpcmips/hpcmips/machdep.c            |    39 +-
 sys/arch/hpcmips/vr/button_vrgiu.c            |    29 +-
 sys/arch/hpcmips/vr/pwctl_vrgiu.c             |    28 +-
 sys/arch/hpcmips/vr/vrc4172pwm.c              |    22 +-
 sys/arch/hpcmips/vr/vrc4172pwmvar.h           |    12 +-
 sys/arch/hpcsh/conf/GENERIC                   |   149 +
 sys/arch/hpcsh/conf/JORNADA690                |     3 +-
 sys/arch/hpcsh/conf/RAMDISK                   |     4 +-
 sys/arch/hpcsh/conf/files.hpcsh               |    12 +-
 sys/arch/hpcsh/conf/ioconf.incl.hpcsh         |    11 +
 sys/arch/hpcsh/conf/shl-coff.x                |    44 +
 sys/arch/hpcsh/conf/shl-elf.x                 |    50 +
 sys/arch/hpcsh/conf/shl.x                     |    44 -
 sys/arch/hpcsh/conf/std.hpcsh.el              |    12 +
 sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c    |    43 +-
 sys/arch/hpcsh/dev/hd64461/hd64461uart.c      |   218 +
 sys/arch/hpcsh/dev/hd64461/hd64461uartreg.h   |    66 +
 sys/arch/hpcsh/dev/hd64461/hd64461uartvar.h   |    39 +
 sys/arch/hpcsh/hpcsh/bus_space.c              |   266 +-
 sys/arch/hpcsh/hpcsh/conf.c                   |   294 +
 sys/arch/hpcsh/hpcsh/console.c                |   190 +
 sys/arch/hpcsh/hpcsh/machdep.c                |   115 +-
 sys/arch/hpcsh/hpcsh/mainbus.c                |    86 +-
 sys/arch/hpcsh/hpcsh/shb.c                    |    17 +-
 sys/arch/hpcsh/include/bootinfo.h             |     8 +
 sys/arch/hpcsh/include/bus.h                  |  1173 +++---
 sys/arch/hpcsh/include/conf.h                 |    41 +
 sys/arch/i386/conf/CARDBUS                    |    31 +-
 sys/arch/i386/conf/LAMB                       |     4 +-
 sys/arch/i386/conf/PS2                        |    32 +-
 sys/arch/i386/conf/files.i386                 |     7 +-
 sys/arch/i386/i386/apm.c                      |    36 +-
 sys/arch/i386/i386/conf.c                     |    75 +-
 sys/arch/i386/i386/locore.s                   |    29 +-
 sys/arch/i386/i386/machdep.c                  |     4 +-
 sys/arch/i386/i386/pmap.c                     |    13 +-
 sys/arch/i386/i386/trap.c                     |    25 +-
 sys/arch/i386/include/apmvar.h                |     4 +-
 sys/arch/i386/include/conf.h                  |     8 +-
 sys/arch/i386/isa/clock.c                     |     4 +-
 sys/arch/i386/pci/pcmb.c                      |   149 +
 sys/arch/luna68k/luna68k/machdep.c            |    10 +-
 sys/arch/luna68k/luna68k/pmap.c               |    19 +-
 sys/arch/luna68k/luna68k/trap.c               |    14 +-
 sys/arch/mac68k/dev/grf_compat.c              |     9 +-
 sys/arch/mac68k/mac68k/machdep.c              |     4 +-
 sys/arch/mac68k/mac68k/pmap.c                 |    19 +-
 sys/arch/mac68k/mac68k/trap.c                 |    12 +-
 sys/arch/macppc/conf/INSTALL                  |    11 +-
 sys/arch/macppc/dev/awacs.c                   |    30 +-
 sys/arch/macppc/dev/ofb.c                     |    17 +-
 sys/arch/macppc/include/cpu.h                 |    12 +-
 sys/arch/macppc/include/intr.h                |    18 +-
 sys/arch/macppc/include/vmparam.h             |     9 +-
 sys/arch/macppc/macppc/bus_dma.c              |     4 +-
 sys/arch/macppc/macppc/conf.c                 |    42 +-
 sys/arch/macppc/macppc/cpu.c                  |   206 +-
 sys/arch/macppc/macppc/extintr.c              |   336 +-
 sys/arch/macppc/macppc/locore.S               |    21 +-
 sys/arch/macppc/macppc/machdep.c              |    62 +-
 sys/arch/mips/include/pte.h                   |     9 +-
 sys/arch/mips/mips/pmap.c                     |    12 +-
 sys/arch/mips/mips/trap.c                     |    23 +-
 sys/arch/mipsco/mipsco/machdep.c              |     6 +-
 sys/arch/mmeye/include/conf.h                 |     8 +-
 sys/arch/mvme68k/mvme68k/bus_dma.c            |     6 +-
 sys/arch/mvme68k/mvme68k/conf.c               |     7 +-
 sys/arch/mvme68k/mvme68k/genassym.cf          |     4 +-
 sys/arch/mvme68k/mvme68k/machdep.c            |     8 +-
 sys/arch/mvme68k/mvme68k/pmap.c               |    23 +-
 sys/arch/mvme68k/mvme68k/trap.c               |    16 +-
 sys/arch/news68k/conf/GENERIC                 |     6 +-
 sys/arch/news68k/conf/GENERIC_TINY            |   184 +
 sys/arch/news68k/conf/LIBERO                  |     4 +-
 sys/arch/news68k/conf/NEWS1200                |     4 +-
 sys/arch/news68k/conf/std.news68k             |     3 +-
 sys/arch/news68k/news68k/conf.c               |     8 +-
 sys/arch/news68k/news68k/machdep.c            |     9 +-
 sys/arch/news68k/news68k/pmap.c               |    23 +-
 sys/arch/news68k/news68k/trap.c               |    16 +-
 sys/arch/newsmips/newsmips/bus.c              |     4 +-
 sys/arch/newsmips/newsmips/machdep.c          |     6 +-
 sys/arch/next68k/dev/bus_dma.c                |     6 +-
 sys/arch/next68k/next68k/machdep.c            |     8 +-
 sys/arch/next68k/next68k/pmap.c               |    27 +-
 sys/arch/next68k/next68k/trap.c               |    16 +-
 sys/arch/ofppc/ofppc/conf.c                   |     9 +-
 sys/arch/ofppc/ofppc/machdep.c                |     4 +-
 sys/arch/pc532/dev/lpt.c                      |     4 +-
 sys/arch/pc532/include/conf.h                 |     9 +-
 sys/arch/pc532/pc532/machdep.c                |     6 +-
 sys/arch/pc532/pc532/pmap.c                   |    13 +-
 sys/arch/pc532/pc532/trap.c                   |    10 +-
 sys/arch/pmax/pmax/bus_dma.c                  |     4 +-
 sys/arch/pmax/pmax/conf.c                     |    11 +-
 sys/arch/pmax/pmax/machdep.c                  |     6 +-
 sys/arch/powerpc/include/pcb.h                |     3 +-
 sys/arch/powerpc/powerpc/fpu.c                |     4 +-
 sys/arch/powerpc/powerpc/pmap.c               |    17 +-
 sys/arch/powerpc/powerpc/trap.c               |    30 +-
 sys/arch/powerpc/powerpc/vm_machdep.c         |    22 +-
 sys/arch/prep/include/conf.h                  |     8 +-
 sys/arch/prep/prep/bus_dma.c                  |     4 +-
 sys/arch/prep/prep/conf.c                     |    70 +-
 sys/arch/prep/prep/machdep.c                  |     4 +-
 sys/arch/sandpoint/conf/files.sandpoint       |    14 +-
 sys/arch/sandpoint/include/conf.h             |     8 +-
 sys/arch/sandpoint/sandpoint/bus_dma.c        |     4 +-
 sys/arch/sandpoint/sandpoint/conf.c           |    64 +-
 sys/arch/sandpoint/sandpoint/machdep.c        |     4 +-
 sys/arch/sgimips/sgimips/bus.c                |     4 +-
 sys/arch/sgimips/sgimips/conf.c               |    37 +-
 sys/arch/sgimips/sgimips/machdep.c            |     4 +-
 sys/arch/sh3/conf/Makefile.sh3                |     4 +-
 sys/arch/sh3/sh3/pmap.c                       |    12 +-
 sys/arch/sh3/sh3/sh3_machdep.c                |     4 +-
 sys/arch/sh3/sh3/trap.c                       |    20 +-
 sys/arch/sparc/conf/files.sparc               |     3 +-
 sys/arch/sparc/dev/if_ie_obio.c               |     7 +-
 sys/arch/sparc/include/conf.h                 |    22 +-
 sys/arch/sparc/include/cpu.h                  |     5 +-
 sys/arch/sparc/include/frame.h                |    81 +-
 sys/arch/sparc/include/pmap.h                 |     6 +-
 sys/arch/sparc/include/psl.h                  |   213 +-
 sys/arch/sparc/sparc/bsd_fdintr.s             |     3 +-
 sys/arch/sparc/sparc/conf.c                   |    43 +-
 sys/arch/sparc/sparc/cpu.c                    |    33 +-
 sys/arch/sparc/sparc/cpuvar.h                 |     5 +-
 sys/arch/sparc/sparc/db_interface.c           |   229 +-
 sys/arch/sparc/sparc/in_cksum.c               |    73 +-
 sys/arch/sparc/sparc/intr.c                   |    24 +-
 sys/arch/sparc/sparc/locore.s                 |    31 +-
 sys/arch/sparc/sparc/machdep.c                |     4 +-
 sys/arch/sparc/sparc/memreg.c                 |    14 +-
 sys/arch/sparc/sparc/openfirm.c               |    17 +-
 sys/arch/sparc/sparc/pmap.c                   |   301 +-
 sys/arch/sparc/sparc/trap.c                   |   106 +-
 sys/arch/sparc64/conf/EVERGLADES32            |     6 +-
 sys/arch/sparc64/dev/pci_machdep.c            |    15 +-
 sys/arch/sparc64/dev/psycho.c                 |    27 +-
 sys/arch/sparc64/dev/sbus.c                   |    36 +-
 sys/arch/sparc64/include/conf.h               |    15 +-
 sys/arch/sparc64/sparc64/conf.c               |    41 +-
 sys/arch/sparc64/sparc64/db_interface.c       |    71 +-
 sys/arch/sparc64/sparc64/machdep.c            |     8 +-
 sys/arch/sparc64/sparc64/pmap.c               |     8 +-
 sys/arch/sparc64/sparc64/trap.c               |    41 +-
 sys/arch/sun3/stand/Makefile.inc              |    22 +-
 sys/arch/sun3/stand/bootxx/Makefile           |     3 +-
 sys/arch/sun3/stand/installboot/Makefile      |    10 +-
 sys/arch/sun3/stand/libsa/Makefile            |    13 +-
 sys/arch/sun3/stand/libsa/version             |     3 +-
 sys/arch/sun3/stand/libsa/xxboot.c            |    21 +-
 sys/arch/sun3/stand/netboot/Makefile          |     3 +-
 sys/arch/sun3/stand/tapeboot/Makefile         |     3 +-
 sys/arch/sun3/stand/ufsboot/Makefile          |     3 +-
 sys/arch/sun3/sun3/conf.c                     |    10 +-
 sys/arch/sun3/sun3/machdep.c                  |     6 +-
 sys/arch/sun3/sun3/pmap.c                     |    10 +-
 sys/arch/sun3/sun3/trap.c                     |    12 +-
 sys/arch/sun3/sun3x/machdep.c                 |     6 +-
 sys/arch/sun3/sun3x/pmap.c                    |     8 +-
 sys/arch/vax/boot/boot/devopen.c              |     6 +-
 sys/arch/vax/include/sid.h                    |     4 +-
 sys/arch/vax/vax/bus_dma.c                    |     4 +-
 sys/arch/vax/vax/conf.c                       |    40 +-
 sys/arch/vax/vax/machdep.c                    |     4 +-
 sys/arch/vax/vax/pmap.c                       |    12 +-
 sys/arch/vax/vax/trap.c                       |     6 +-
 sys/arch/x68k/conf/files.x68k                 |     6 +-
 sys/arch/x68k/dev/grf.c                       |     7 +-
 sys/arch/x68k/x68k/bus.c                      |     4 +-
 sys/arch/x68k/x68k/clock.c                    |     6 +-
 sys/arch/x68k/x68k/conf.c                     |    87 +-
 sys/arch/x68k/x68k/genassym.cf                |     4 +-
 sys/arch/x68k/x68k/kgdb_glue.c                |    10 +-
 sys/arch/x68k/x68k/machdep.c                  |    13 +-
 sys/arch/x68k/x68k/pmap.c                     |    23 +-
 sys/arch/x68k/x68k/trap.c                     |    16 +-
 sys/compat/linux/arch/powerpc/linux_machdep.c |    12 +-
 sys/compat/linux/common/linux_emuldata.h      |    10 +-
 sys/compat/linux/common/linux_exec.c          |    34 +-
 sys/compat/linux/common/linux_misc.c          |    22 +-
 sys/compat/netbsd32/netbsd32_sysctl.c         |     9 +-
 sys/compat/svr4/svr4_misc.c                   |    23 +-
 sys/compat/svr4_32/svr4_32_misc.c             |    23 +-
 sys/compat/vax1k/vax1k_subr.c                 |    11 +-
 sys/conf/files                                |     9 +-
 sys/conf/osrelease.sh                         |     4 +-
 sys/dev/DEVNAMES                              |    11 +-
 sys/dev/cardbus/cardbusdevs                   |     3 +-
 sys/dev/cardbus/cardbusdevs.h                 |     5 +-
 sys/dev/cardbus/cardbusdevs_data.h            |    10 +-
 sys/dev/cardbus/cardslot.c                    |   499 +-
 sys/dev/cardbus/if_tlp_cardbus.c              |     5 +-
 sys/dev/hpc/bivideo.c                         |   183 +-
 sys/dev/hpc/hpcfb.c                           |    53 +-
 sys/dev/hpc/hpckbdkeymap.h                    |   102 +-
 sys/dev/i2o/Makefile                          |     4 +-
 sys/dev/i2o/TODO                              |    12 +-
 sys/dev/i2o/i2o.h                             |   220 +-
 sys/dev/i2o/iop.c                             |  1744 +++++----
 sys/dev/i2o/iopio.h                           |    78 +
 sys/dev/i2o/iopsp.c                           |   302 +-
 sys/dev/i2o/iopspvar.h                        |     5 +-
 sys/dev/i2o/iopvar.h                          |   144 +-
 sys/dev/i2o/ld_iop.c                          |   337 +-
 sys/dev/ic/dpt.c                              |     4 +-
 sys/dev/ic/elink3.c                           |   137 +-
 sys/dev/ic/elink3var.h                        |     4 +-
 sys/dev/ic/hscx.c                             |    26 +-
 sys/dev/ic/i82595reg.h                        |     9 +-
 sys/dev/ic/isac.c                             |    17 +-
 sys/dev/ic/isic.c                             |     5 +-
 sys/dev/ic/isic_bchan.c                       |    83 +-
 sys/dev/ic/isic_l1.c                          |   148 +-
 sys/dev/ic/isic_l1.h                          |   215 +-
 sys/dev/ic/isic_l1fsm.c                       |    59 +-
 sys/dev/ic/isp.c                              |   209 +-
 sys/dev/ic/isp_inline.h                       |    90 +-
 sys/dev/ic/isp_netbsd.c                       |    60 +-
 sys/dev/ic/isp_netbsd.h                       |    34 +-
 sys/dev/ic/isp_target.c                       |   102 +-
 sys/dev/ic/isp_target.h                       |   303 +-
 sys/dev/ic/isp_tpublic.h                      |    16 +-
 sys/dev/ic/ispvar.h                           |    42 +-
 sys/dev/ic/rrunner.c                          |    36 +-
 sys/dev/ic/seeq8005.c                         |   830 ++-
 sys/dev/ic/seeq8005reg.h                      |   234 +-
 sys/dev/ic/seeq8005var.h                      |    35 +-
 sys/dev/ic/siopvar.h                          |     6 +-
 sys/dev/ic/smc83c170.c                        |     6 +-
 sys/dev/ic/wdc.c                              |     3 +-
 sys/dev/ic/we.c                               |   624 +++
 sys/dev/ic/wereg.h                            |   231 +
 sys/dev/ic/wevar.h                            |    34 +
 sys/dev/ic/z8530tty.c                         |     5 +-
 sys/dev/ieee1394/fwohci.c                     |   163 +-
 sys/dev/ieee1394/fwohcireg.h                  |    15 +-
 sys/dev/ieee1394/fwohcivar.h                  |     8 +-
 sys/dev/isa/Makefile                          |     4 +-
 sys/dev/isa/fd.c                              |    38 +-
 sys/dev/isa/files.isa                         |     8 +-
 sys/dev/isa/if_iy.c                           |    70 +-
 sys/dev/isa/if_we.c                           |  1016 -----
 sys/dev/isa/if_we_isa.c                       |   541 ++
 sys/dev/isa/if_wereg.h                        |   231 -
 sys/dev/isa/isic_isa.c                        |    24 +-
 sys/dev/isapnp/isic_isapnp.c                  |    15 +-
 sys/dev/mca/3c523reg.h                        |    69 +
 sys/dev/mca/TODO                              |     3 +-
 sys/dev/mca/com_mca.c                         |   262 +
 sys/dev/mca/files.mca                         |    29 +-
 sys/dev/mca/if_elmc_mca.c                     |   455 ++
 sys/dev/mca/if_ep_mca.c                       |   263 +
 sys/dev/mca/if_we_mca.c                       |   357 +
 sys/dev/mca/mca.c                             |    24 +-
 sys/dev/mca/mcadevs                           |    82 +-
 sys/dev/mca/mcadevs.h                         |    44 +-
 sys/dev/mca/mcadevs_data.h                    |    29 +-
 sys/dev/mii/mii.c                             |     5 +-
 sys/dev/pci/ahc_pci.c                         |     7 +-
 sys/dev/pci/bktr/bktr_os.c                    |     7 +-
 sys/dev/pci/bktr/bktr_os.h                    |    14 +-
 sys/dev/pci/com_puc.c                         |     4 +-
 sys/dev/pci/files.pci                         |     4 +-
 sys/dev/pci/fwohci_pci.c                      |    60 +-
 sys/dev/pci/if_sip.c                          |     8 +-
 sys/dev/pci/iop_pci.c                         |     3 +-
 sys/dev/pci/isic_pci.c                        |    13 +-
 sys/dev/pci/isic_pci_avm_fritz_pci.c          |   118 +-
 sys/dev/pci/isp_pci.c                         |    90 +-
 sys/dev/pci/neo.c                             |    10 +-
 sys/dev/pci/pcidevs                           |    63 +-
 sys/dev/pci/pcidevs.h                         |    65 +-
 sys/dev/pci/pcidevs_data.h                    |    70 +-
 sys/dev/pci/pciide.c                          |    10 +-
 sys/dev/pci/pucdata.c                         |     6 +-
 sys/dev/pci/siop_pci_common.c                 |     4 +-
 sys/dev/pcmcia/if_wi.c                        |     8 +-
 sys/dev/pcmcia/isic_pcmcia.c                  |    11 +-
 sys/dev/pcmcia/pcmciadevs                     |     4 +-
 sys/dev/pcmcia/pcmciadevs.h                   |     8 +-
 sys/dev/pcmcia/pcmciadevs_data.h              |    18 +-
 sys/dev/sbus/be.c                             |     4 +-
 sys/dev/sbus/isp_sbus.c                       |    58 +-
 sys/dev/scsipi/atapiconf.c                    |     5 +-
 sys/dev/scsipi/scsipiconf.h                   |     7 +-
 sys/dev/scsipi/sd_atapi.c                     |     8 +-
 sys/dev/usb/if_aue.c                          |     4 +-
 sys/dev/usb/uhci.c                            |     5 +-
 sys/dev/usb/umass.c                           |     3 +-
 sys/dev/usb/umodem.c                          |    80 +-
 sys/dev/usb/uplcom.c                          |   257 +-
 sys/dev/usb/usb_port.h                        |     3 +-
 sys/dev/usb/usbdevs                           |    21 +-
 sys/dev/usb/usbdevs.h                         |    23 +-
 sys/dev/usb/usbdevs_data.h                    |    58 +-
 sys/dev/usb/uscanner.c                        |     7 +-
 sys/dev/vme/if_ie_vme.c                       |     7 +-
 sys/dev/vme/xy.c                              |     5 +-
 sys/dev/wscons/wsconsio.h                     |     3 +-
 sys/dev/wscons/wskbd.c                        |    18 +-
 sys/isofs/cd9660/cd9660_vfsops.c              |     5 +-
 sys/kern/exec_subr.c                          |    61 +-
 sys/kern/init_main.c                          |     5 +-
 sys/kern/kern_physio.c                        |    41 +-
 sys/kern/kern_sysctl.c                        |     9 +-
 sys/kern/sys_process.c                        |     4 +-
 sys/kern/sysv_shm.c                           |    29 +-
 sys/kern/tty.c                                |   295 +-
 sys/kern/uipc_socket.c                        |     5 +-
 sys/lkm/compat/aout/Makefile                  |     4 +-
 sys/lkm/compat/aoutm68k/Makefile              |     5 +-
 sys/lkm/compat/hpux/Makefile                  |     4 +-
 sys/lkm/compat/osf1/Makefile                  |     4 +-
 sys/lkm/compat/ultrix/Makefile                |     4 +-
 sys/net/if_sppp.h                             |     6 +-
 sys/net/if_spppsubr.c                         |     6 +-
 sys/netccitt/ccitt_proto.c                    |     4 +-
 sys/netinet/fil.c                             |   170 +-
 sys/netinet/in.h                              |     6 +-
 sys/netinet/in_proto.c                        |     6 +-
 sys/netinet/ip_auth.c                         |     8 +-
 sys/netinet/ip_auth.h                         |     6 +-
 sys/netinet/ip_compat.h                       |    62 +-
 sys/netinet/ip_fil.c                          |    40 +-
 sys/netinet/ip_fil.h                          |     7 +-
 sys/netinet/ip_frag.c                         |    12 +-
 sys/netinet/ip_frag.h                         |     7 +-
 sys/netinet/ip_ftp_pxy.c                      |    56 +-
 sys/netinet/ip_input.c                        |    32 +-
 sys/netinet/ip_log.c                          |     6 +-
 sys/netinet/ip_nat.c                          |   548 ++-
 sys/netinet/ip_nat.h                          |    24 +-
 sys/netinet/ip_proxy.h                        |     5 +-
 sys/netinet/ip_raudio_pxy.c                   |     7 +-
 sys/netinet/ip_rcmd_pxy.c                     |     7 +-
 sys/netinet/ip_state.c                        |   171 +-
 sys/netinet/ip_state.h                        |     5 +-
 sys/netinet/ipl.h                             |     6 +-
 sys/netinet/tcp_input.c                       |    53 +-
 sys/netinet/tcp_output.c                      |     6 +-
 sys/netinet/tcp_subr.c                        |   168 +-
 sys/netinet/tcp_usrreq.c                      |     4 +-
 sys/netinet/tcp_var.h                         |    15 +-
 sys/netinet6/icmp6.c                          |     9 +-
 sys/netinet6/in6_prefix.c                     |     8 +-
 sys/netinet6/in6_proto.c                      |     4 +-
 sys/netinet6/ip6_input.c                      |    39 +-
 sys/netinet6/ip6_mroute.c                     |    17 +-
 sys/netinet6/ip6_output.c                     |    11 +-
 sys/netinet6/nd6.c                            |    18 +-
 sys/netisdn/i4b_ctl.c                         |    23 +-
 sys/netisdn/i4b_global.h                      |     4 +-
 sys/netisdn/i4b_i4bdrv.c                      |    22 +-
 sys/netisdn/i4b_iframe.c                      |    12 +-
 sys/netisdn/i4b_ipr.c                         |     6 +-
 sys/netisdn/i4b_isppp.c                       |     6 +-
 sys/netisdn/i4b_l1l2.c                        |    83 +
 sys/netisdn/i4b_l1l2.h                        |   131 +-
 sys/netisdn/i4b_l2.c                          |   168 +-
 sys/netisdn/i4b_l2.h                          |    57 +-
 sys/netisdn/i4b_l2fsm.c                       |   114 +-
 sys/netisdn/i4b_l2if.c                        |   170 +-
 sys/netisdn/i4b_l2l3.h                        |   118 -
 sys/netisdn/i4b_l2timer.c                     |    25 +-
 sys/netisdn/i4b_l3.h                          |     9 +-
 sys/netisdn/i4b_l3fsm.c                       |    20 +-
 sys/netisdn/i4b_l3l4.h                        |    85 +-
 sys/netisdn/i4b_l3timer.c                     |     3 +-
 sys/netisdn/i4b_l4.c                          |    38 +-
 sys/netisdn/i4b_l4if.c                        |    95 +-
 sys/netisdn/i4b_l4mgmt.c                      |    26 +-
 sys/netisdn/i4b_lme.c                         |     7 +-
 sys/netisdn/i4b_q931.c                        |    18 +-
 sys/netisdn/i4b_q932fac.c                     |     3 +-
 sys/netisdn/i4b_rbch.c                        |     6 +-
 sys/netisdn/i4b_sframe.c                      |    26 +-
 sys/netisdn/i4b_tei.c                         |    32 +-
 sys/netisdn/i4b_tel.c                         |     6 +-
 sys/netisdn/i4b_trace.c                       |   274 +-
 sys/netisdn/i4b_trace.h                       |     8 +-
 sys/netisdn/i4b_uframe.c                      |    20 +-
 sys/netisdn/i4b_util.c                        |     9 +-
 sys/netiso/iso_proto.c                        |     6 +-
 sys/netns/ns_proto.c                          |     4 +-
 sys/nfs/nfs.h                                 |     6 +-
 sys/nfs/nfs_subs.c                            |     5 +-
 sys/sys/conf.h                                |   328 +-
 sys/sys/disklabel.h                           |     7 +-
 sys/sys/exec_elf.h                            |    14 +-
 sys/sys/param.h                               |    46 +-
 sys/sys/protosw.h                             |     4 +-
 sys/ufs/ext2fs/ext2fs_vnops.c                 |     5 +-
 sys/ufs/ffs/ffs_alloc.c                       |    71 +-
 sys/ufs/ufs/ufs_readwrite.c                   |    20 +-
 sys/ufs/ufs/ufs_vnops.c                       |     6 +-
 sys/uvm/uvm_bio.c                             |    42 +-
 sys/uvm/uvm_device.c                          |     4 +-
 sys/uvm/uvm_extern.h                          |     6 +-
 sys/uvm/uvm_fault.c                           |   101 +-
 sys/uvm/uvm_glue.c                            |    18 +-
 sys/uvm/uvm_io.c                              |    11 +-
 sys/uvm/uvm_km.c                              |    21 +-
 sys/uvm/uvm_loan.c                            |    28 +-
 sys/uvm/uvm_map.c                             |   166 +-
 sys/uvm/uvm_map.h                             |     6 +-
 sys/uvm/uvm_map_i.h                           |     8 +-
 sys/uvm/uvm_mmap.c                            |   316 +-
 sys/uvm/uvm_pager.c                           |     8 +-
 sys/uvm/uvm_param.h                           |    18 +-
 sys/uvm/uvm_unix.c                            |    30 +-
 sys/uvm/uvm_user.c                            |    14 +-
 612 files changed, 29586 insertions(+), 19147 deletions(-)

diffs (truncated from 74002 to 300 lines):

diff -r 3f0a59b059f2 -r ff4d32637bf0 sys/arch/alpha/alpha/conf.c
--- a/sys/arch/alpha/alpha/conf.c       Tue Mar 27 13:16:20 2001 +0000
+++ b/sys/arch/alpha/alpha/conf.c       Tue Mar 27 15:30:05 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.41.2.5 2001/02/11 19:08:31 bouyer Exp $ */
+/* $NetBSD: conf.c,v 1.41.2.6 2001/03/27 15:30:05 bouyer Exp $ */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.41.2.5 2001/02/11 19:08:31 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.41.2.6 2001/03/27 15:30:05 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -96,19 +96,6 @@
 };
 int    nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
 
-/* open, close, write, ioctl */
-#define cdev_lpt_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
-       dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
-       0, seltrue, (dev_type_mmap((*))) enodev }
-
-/* open, close, read, ioctl, poll */
-#define cdev_satlink_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
-       (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
-       (dev_type_mmap((*))) enodev }
-
 cdev_decl(cn);
 cdev_decl(ctty);
 #define        mmread  mmrw
@@ -209,41 +196,6 @@
 #include "uscanner.h"
 cdev_decl(uscanner);
 
-/* open, close, ioctl */
-#define cdev_i4bctl_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
-       (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
-       (dev_type_stop((*))) enodev, 0, seltrue, \
-       (dev_type_mmap((*))) enodev }
-
-/* open, close, read, write, poll */
-#define        cdev_i4brbch_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       dev_init(c,n,write), dev_init(c,n,ioctl), \
-       (dev_type_stop((*))) enodev, \
-       0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev }
-
-/* open, close, read, write, poll */
-#define        cdev_i4btel_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       dev_init(c,n,write), (dev_type_ioctl((*))) enodev, \
-       (dev_type_stop((*))) enodev, \
-       0, dev_init(c,n,poll), (dev_type_mmap((*))) enodev, D_TTY }
-
-/* open, close, read, ioctl */
-#define cdev_i4btrc_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
-       (dev_type_stop((*))) enodev, 0, (dev_type_poll((*))) enodev, \
-       (dev_type_mmap((*))) enodev }
-
-/* open, close, read, ioctl, poll */
-#define cdev_i4b_init(c,n) { \
-       dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
-       (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
-       (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \
-       (dev_type_mmap((*))) enodev }   
-
 #include "i4b.h"
 #include "i4bctl.h"
 #include "i4btrc.h"
diff -r 3f0a59b059f2 -r ff4d32637bf0 sys/arch/alpha/alpha/dec_2100_a50.c
--- a/sys/arch/alpha/alpha/dec_2100_a50.c       Tue Mar 27 13:16:20 2001 +0000
+++ b/sys/arch/alpha/alpha/dec_2100_a50.c       Tue Mar 27 15:30:05 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dec_2100_a50.c,v 1.41.2.2 2000/11/20 19:56:23 bouyer Exp $ */
+/* $NetBSD: dec_2100_a50.c,v 1.41.2.3 2001/03/27 15:30:05 bouyer Exp $ */
 
 /*
  * Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
@@ -31,7 +31,7 @@
  */
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.41.2.2 2000/11/20 19:56:23 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.41.2.3 2001/03/27 15:30:05 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -40,6 +40,7 @@
 #include <dev/cons.h>
 
 #include <machine/rpb.h>
+#include <machine/alpha.h>
 #include <machine/autoconf.h>
 #include <machine/conf.h>
 #include <machine/bus.h>
@@ -56,6 +57,7 @@
 
 #include <alpha/pci/apecsreg.h>
 #include <alpha/pci/apecsvar.h>
+#include <machine/logout.h>
 
 #include <dev/scsipi/scsi_all.h>
 #include <dev/scsipi/scsipi_all.h>
@@ -72,6 +74,13 @@
 static void dec_2100_a50_cons_init __P((void));
 static void dec_2100_a50_device_register __P((struct device *, void *));
 
+static void dec_2100_a50_mcheck_handler
+       __P((unsigned long, struct trapframe *, unsigned long, unsigned long));
+
+static void dec_2100_a50_mcheck __P((unsigned long, unsigned long,
+                                    unsigned long, struct trapframe *));
+
+
 const struct alpha_variation_table dec_2100_a50_variations[] = {
        { SV_ST_AVANTI, "AlphaStation 400 4/233 (\"Avanti\")" },
        { SV_ST_MUSTANG2_4_166, "AlphaStation 200 4/166 (\"Mustang II\")" },
@@ -103,6 +112,8 @@
        platform.iobus = "apecs";
        platform.cons_init = dec_2100_a50_cons_init;
        platform.device_register = dec_2100_a50_device_register;
+       platform.mcheck_handler = dec_2100_a50_mcheck_handler;
+
 }
 
 static void
@@ -282,3 +293,309 @@
                }
        }
 }
+
+
+static void
+dec_2100_a50_mcheck(mces, type, logout, framep)
+       unsigned long mces;
+       unsigned long type;
+       unsigned long logout;
+       struct trapframe *framep;
+{
+       struct mchkinfo *mcp;
+       static const char *fmt1 = "        %-25s = 0x%016lx\n";
+       int i, sysaddr; 
+       mc_hdr_avanti *hdr;
+       mc_uc_avanti *ptr;
+
+       /*
+        * If we expected a machine check, just go handle it in common code.
+        */
+       mcp  = &curcpu()->ci_mcinfo;
+       if (mcp->mc_expected) {
+               machine_check(mces, framep, type, logout);
+               return;
+       }
+
+       hdr = (mc_hdr_avanti *) logout;
+       ptr = (mc_uc_avanti *) (logout + sizeof (*hdr));
+
+       printf("      Processor Machine Check (%lx), Code 0x%lx\n",
+                  type, hdr->mcheck_code);
+       printf("CPU state:\n");
+       /* Print PAL fields */
+       for (i = 0; i < 32; i += 2) {
+               printf("\tPAL temp[%d-%d]\t\t= 0x%16lx 0x%16lx\n", i, i+1,
+                   ptr->paltemp[i], ptr->paltemp[i+1]);
+       }
+       printf(fmt1, "Excepting Instruction Addr", ptr->exc_addr);
+       printf(fmt1, "Summary of arithmetic traps", ptr->exc_sum);
+       printf(fmt1, "Exception mask", ptr->exc_mask);
+       printf(fmt1, "ICCSR", ptr->iccsr);
+       printf(fmt1, "Base address for PALcode", ptr->pal_base);
+       printf(fmt1, "HIER", ptr->hier);
+       printf(fmt1, "HIRR", ptr->hirr);
+       printf(fmt1, "MM_CSR", ptr->mm_csr);
+       printf(fmt1, "DC_STAT", ptr->dc_stat);
+       printf(fmt1, "DC_ADDR", ptr->dc_addr);
+       printf(fmt1, "ABOX_CTL", ptr->abox_ctl);
+       printf(fmt1, "Bus Interface Unit status", ptr->biu_stat);
+       printf(fmt1, "Bus Interface Unit addr", ptr->biu_addr);
+       printf(fmt1, "Bus Interface Unit control", ptr->biu_ctl);
+       printf(fmt1, "Fill Syndrome", ptr->fill_syndrome);
+       printf(fmt1, "Fill Address", ptr->fill_addr);
+       printf(fmt1, "Effective VA", ptr->va);
+       printf(fmt1, "BC_TAG", ptr->bc_tag);
+
+       printf("\nCache and Memory Controller (21071-CA) state:\n");
+       printf(fmt1, "COMA_GCR", ptr->coma_gcr);
+       printf(fmt1, "COMA_EDSR", ptr->coma_edsr);
+       printf(fmt1, "COMA_TER", ptr->coma_ter);
+       printf(fmt1, "COMA_ELAR", ptr->coma_elar);
+       printf(fmt1, "COMA_EHAR", ptr->coma_ehar);
+       printf(fmt1, "COMA_LDLR", ptr->coma_ldlr);
+       printf(fmt1, "COMA_LDHR", ptr->coma_ldhr);
+       printf(fmt1, "COMA_BASE0", ptr->coma_base0);
+       printf(fmt1, "COMA_BASE1", ptr->coma_base1);
+       printf(fmt1, "COMA_BASE2", ptr->coma_base2);
+       printf(fmt1, "COMA_CNFG0", ptr->coma_cnfg0);
+       printf(fmt1, "COMA_CNFG1", ptr->coma_cnfg1);
+       printf(fmt1, "COMA_CNFG2", ptr->coma_cnfg2);
+
+       printf("\nPCI bridge (21071-DA) state:\n");
+
+       printf(fmt1, "EPIC Diag. control/status", ptr->epic_dcsr);
+       printf(fmt1, "EPIC_PEAR", ptr->epic_pear);
+       printf(fmt1, "EPIC_SEAR", ptr->epic_sear);
+       printf(fmt1, "EPIC_TBR1", ptr->epic_tbr1);
+       printf(fmt1, "EPIC_TBR2", ptr->epic_tbr2);
+       printf(fmt1, "EPIC_PBR1", ptr->epic_pbr1);
+       printf(fmt1, "EPIC_PBR2", ptr->epic_pbr2);
+       printf(fmt1, "EPIC_PMR1", ptr->epic_pmr1);
+       printf(fmt1, "EPIC_PMR2", ptr->epic_pmr2);
+       printf(fmt1, "EPIC_HARX1", ptr->epic_harx1);
+       printf(fmt1, "EPIC_HARX2", ptr->epic_harx2);
+       printf(fmt1, "EPIC_PMLT", ptr->epic_pmlt);
+       printf(fmt1, "EPIC_TAG0", ptr->epic_tag0);
+       printf(fmt1, "EPIC_TAG1", ptr->epic_tag1);
+       printf(fmt1, "EPIC_TAG2", ptr->epic_tag2);
+       printf(fmt1, "EPIC_TAG3", ptr->epic_tag3);
+       printf(fmt1, "EPIC_TAG4", ptr->epic_tag4);
+       printf(fmt1, "EPIC_TAG5", ptr->epic_tag5);
+       printf(fmt1, "EPIC_TAG6", ptr->epic_tag6);
+       printf(fmt1, "EPIC_TAG7", ptr->epic_tag7);
+       printf(fmt1, "EPIC_DATA0", ptr->epic_data0);
+       printf(fmt1, "EPIC_DATA1", ptr->epic_data1);
+       printf(fmt1, "EPIC_DATA2", ptr->epic_data2);
+       printf(fmt1, "EPIC_DATA3", ptr->epic_data3);
+       printf(fmt1, "EPIC_DATA4", ptr->epic_data4);
+       printf(fmt1, "EPIC_DATA5", ptr->epic_data5);
+       printf(fmt1, "EPIC_DATA6", ptr->epic_data6);
+       printf(fmt1, "EPIC_DATA7", ptr->epic_data7);
+
+       printf("\n");
+
+       if (type == ALPHA_SYS_MCHECK) {
+         printf("\nPCI bridge fault\n");
+         switch(hdr->mcheck_code) {
+         case AVANTI_RETRY_TIMEOUT:
+           printf("\tRetry timeout error accessing 0x%08lx.\n",
+                  ptr->epic_pear & 0xffffffff);
+           break;
+
+         case AVANTI_DMA_DATA_PARITY:
+           printf("\tDMA data parity error accessing 0x%08lx.\n",
+                  ptr->epic_pear & 0xffffffff);
+           break;
+
+         case AVANTI_IO_PARITY:
+           printf("\tI/O parity error at 0x%08lx during PCI cycle 0x%0lx.\n",
+                  ptr->epic_pear & 0xffffffff, 
+                  (ptr->epic_dcsr >> 18) & 0xf);
+           break;
+
+         case AVANTI_TARGET_ABORT:
+           printf("\tPCI target abort at 0x%08lx during PCI cycle 0x%0lx.\n",
+                  ptr->epic_pear & 0xffffffff, 
+                  (ptr->epic_dcsr >> 18) & 0xf);
+           break;
+
+         case AVANTI_NO_DEVICE:
+           printf("\tNo device responded at 0x%08lx during PCI cycle 0x%0lx\n.",
+                  ptr->epic_pear & 0xffffffff, 
+                  (ptr->epic_dcsr >> 18) & 0xf);
+           break;
+
+         case AVANTI_CORRRECTABLE_MEMORY:
+           printf("\tCorrectable memory error reported.\n"
+                  "\tWARNING ECC not implemented on this system!\n"
+                  "\tError is incorrect.\n");
+           break;
+
+         case AVANTI_UNCORRECTABLE_PCI_MEMORY:
+           printf("\tUncorrectable memory error at %016lx reported "
+                  "during DMA read.\n",
+                  (ptr->epic_sear & 0xfffffff0) << 2);
+           break;
+
+         case AVANTI_INVALID_PT_LOOKUP:
+           printf("\tInvalid page table lookup during scatter/gather.\n" );
+           if (ptr->epic_dcsr & 0xf20)
+             printf("\tAddress lost.\n");
+           else
+             printf("\tBus address to 0x%08lx, PCI cycle 0x%0lx\n",
+                    ptr->epic_pear & 0xffffffff, 
+                    (ptr->epic_dcsr >> 18) & 0xf);
+           break;
+
+         case AVANTI_MEMORY:
+           printf("\tMemory error at %016lx, ",
+                  (ptr->epic_sear & 0xfffffff0) << 2);
+           sysaddr = (ptr->epic_sear & 0xffffffff) >> 21;




Home | Main Index | Thread Index | Old Index