Source-Changes archive

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

CVS commit: [netbsd-11] src



Module Name:    src
Committed By:   martin
Date:           Sat Sep 19 16:05:29 UTC 2026

Modified Files:
        src/etc/etc.sparc64 [netbsd-11]: MAKEDEV.conf
        src/share/man/man4 [netbsd-11]: mpt.4
        src/sys/arch/sparc64/conf [netbsd-11]: GENERIC
        src/sys/dev/ic [netbsd-11]: mpt_mpilib.h mpt_netbsd.c

Log Message:
Pull up following revision(s) (requested by jdc in ticket #477):

        sys/dev/ic/mpt_netbsd.c: revision 1.41
        sys/dev/ic/mpt_netbsd.c: revision 1.42
        sys/dev/ic/mpt_netbsd.c: revision 1.43
        sys/dev/ic/mpt_netbsd.c: revision 1.44
        sys/dev/ic/mpt_netbsd.c: revision 1.45
        sys/arch/sparc64/conf/GENERIC: revision 1.249
        sys/dev/ic/mpt_mpilib.h: revision 1.7
        share/man/man4/mpt.4: revision 1.8
        etc/etc.sparc64/MAKEDEV.conf: revision 1.21

Add some more definitions for the integrated RAID statuses.

Parse the information for integrated RAID events.  We now print (e.g.):
  mpt2: Integrated RAID Event: volume 0 status: optimal, enabled
  mpt2: Integrated RAID Event: volume 2 status: missing, enabled, inactive
instead of the cryptic:
  mpt2: Unknown async event: 0xb000000

Also byte swap the Unknown async event output to make it less cryptic on
big-endian hosts.

Add the bio pseudo device for RAID control.

Needed for Sun V245 mpt(4) which has integrated RAID.

dev/ic/mpt_netbsd.c - Add { } around block with decls for clang builds

dev/ic/mpt_netbsd.c - another clang appeasement attempt
and change all strncat() (which were not what was intended)
into strlcat() which implement the original intent.

Always use snprintf for MPI_EVENT_INTEGRATED_RAID output.  Keep better
track of the amount that we've already printed and increase the max
length to handle all string combinations (even if they shouldn't happen).

>From a suggestion by kre.

Note SAS1064 support.  Add a paragraph about Integrated RAID.

Mention bioctl 8.

Really protect against raid status message length overflow.

Display a summary message if we would have overflowed.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.10.1 src/etc/etc.sparc64/MAKEDEV.conf
cvs rdiff -u -r1.7 -r1.7.2.1 src/share/man/man4/mpt.4
cvs rdiff -u -r1.243.2.3 -r1.243.2.4 src/sys/arch/sparc64/conf/GENERIC
cvs rdiff -u -r1.6 -r1.6.4.1 src/sys/dev/ic/mpt_mpilib.h
cvs rdiff -u -r1.40 -r1.40.4.1 src/sys/dev/ic/mpt_netbsd.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