Please note that both riastradh@ and dh@ have plans to ride this
version bump.  You might want to delay any ``cvs up'' commands for
a short while.

:)


On Tue, 29 Jun 2021, Paul Goyette wrote:

Module Name:    src
Committed By:   pgoyette
Date:           Tue Jun 29 21:03:37 UTC 2021

Modified Files:
        src/lib/libpci: Makefile
        src/sys/arch/arm/amlogic: gxlphy.c
        src/sys/dev: dev_verbose.c dev_verbose.h devlist2h.awk
        src/sys/dev/hdaudio: hdaudio.c
        src/sys/dev/mii: Makefile.miidevs gentbi.c mii_physubr.c mii_verbose.c
            mii_verbose.h miivar.h ukphy.c
        src/sys/dev/pci: pci_subr.c
        src/sys/dev/pci/ixgbe: ixgbe.c
        src/sys/rump/librump/rumpdev: Makefile.rumpdev
        src/sys/sys: param.h
Removed Files:
        src/sys/dev/mii: devlist2h.awk

Log Message:
Rework the xxxVERBOSE option to share the common module-hook-based
verbose mechanism with MIIVERBOSE.  This reduces some duplicated code
and allows us to once again permit auto-unload of MIIVERBOSE.

Change details:
* Update dev/devlist2h.awk to accomodate miidevs, including generation
 of MII_STR_oui_model definitions and use of oui and model rather than
 vendor and product.  This also changes the compressed data in the
 xxxdevs_data.h files to uint32_t (since mii oui's are up to 6 hex
 digits long)
* Update a couple of phy drivers to use new calls to get verbose data
* Regen all of the xxxdevs{,_data}.h files (separate commit, coming
 very soon)
* Update mii/mii_verbose.[ch] and mii/mii_physubr.c to use the various
 DEV_VERBOSE_xxx macros
* Update the pci, usb, and hdaudio code as needed, to #include the
 xxxdevs.h files (in order to get the proper printf format strings)
* Since dev/dev_verbose.c now uses non-literal printf format strings,
 (to deal with the vendor/product vs oui/model issue), we need to
 make sure it gets compiled with -Wno-error=format-nonliteral, even
 in userland's libpci and librumpdev!
* Bump kernel version for the change in module interfaces

Welcome to 9.99.86!

XXX It might be useful in the future to extend the MII_STR_oui_model
XXX definitions to PCI as well (and perhaps USB and HDAUDIO).  This
XXX would allow for a single centralized location for the products'
XXX descriptions, rather than being dispersed among individual
XXX drivers' xxx_match tables.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libpci/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/amlogic/gxlphy.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/dev_verbose.c src/sys/dev/devlist2h.awk
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/dev_verbose.h
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/hdaudio/hdaudio.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/mii/Makefile.miidevs
cvs rdiff -u -r1.11 -r0 src/sys/dev/mii/devlist2h.awk
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/mii/gentbi.c
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/mii/mii_physubr.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/mii/mii_verbose.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/mii/mii_verbose.h
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/mii/miivar.h
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/mii/ukphy.c
cvs rdiff -u -r1.225 -r1.226 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.284 -r1.285 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.13 -r1.14 src/sys/rump/librump/rumpdev/Makefile.rumpdev
cvs rdiff -u -r1.696 -r1.697 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


!DSPAM:60db8aaf294301898520769!



+--------------------+--------------------------+----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com    |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org  |
|                    |                          | pgoyett...@gmail.com |
+--------------------+--------------------------+----------------------+

Reply via email to