History log of /src/sys/dev/mii/mii_verbose.h |
Revision | | Date | Author | Comments |
1.3 |
| 29-Jun-2021 |
pgoyette | 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.
|
1.2 |
| 06-Jun-2010 |
pgoyette | branches: 1.2.2; 1.2.4; 1.2.6; 1.2.84; Update miiverbose module to use module_autoload() rather than module_load(). Load the module right before each attempt to use its features, and let the module subsystem handle unloading.
|
1.1 |
| 30-May-2010 |
pgoyette | Extract MIIVERBOSE into a kernel module. The module can be builtin by defining 'options MIIVERBOSE' in the kernel config file (no change from current behavior), or it can be loaded at boot time on those architectures that support the boot loader's "load" command.
|
1.2.84.1 |
| 01-Aug-2021 |
thorpej | Sync with HEAD.
|
1.2.6.2 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.2.6.1 |
| 06-Jun-2010 |
uebayasi | file mii_verbose.h was added on branch uebayasi-xip on 2010-08-17 06:46:20 +0000
|
1.2.4.2 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.2.4.1 |
| 06-Jun-2010 |
yamt | file mii_verbose.h was added on branch yamt-nfs-mp on 2010-08-11 22:53:40 +0000
|
1.2.2.2 |
| 03-Jul-2010 |
rmind | sync with head
|
1.2.2.1 |
| 06-Jun-2010 |
rmind | file mii_verbose.h was added on branch rmind-uvmplock on 2010-07-03 01:19:36 +0000
|