History log of /src/sys/dev/dev_verbose.h |
Revision | | Date | Author | Comments |
1.8 |
| 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.7 |
| 15-Jun-2021 |
riastradh | dev_verbose(9): Use a comma expression, not an expression block.
Should pacify clang's -Wcompound-token-split-by-macro.
|
1.6 |
| 09-Jun-2021 |
pgoyette | Use the localcount(9)-based module_hook mechanism to prevent the verbose modules' code and data being unloaded while in use. Should prevent some crashes reported by Riastradh@ to occur during suspend/resume operation.
|
1.5 |
| 01-Jun-2021 |
riastradh | dev_verbose(9): Prohibit autounloading modules.
This logic is not safe for autounload right now -- there's no mechanism by which to block new users and wait for existing users to drain when unloading. To be remedied!
|
1.4 |
| 11-Aug-2020 |
uwe | branches: 1.4.6; DEV_VERBOSE_DEFINE - use MODULE_CLASS_DRIVER to match the definition.
Catch up with previous to unbreak autoloading of verbose modules. PR kern/55535
CVS: ---------------------------------------------------------------------- CVS: CVSROOT cvs.NetBSD.org:/cvsroot CVS: please use "PR category/123" to have the commitmsg appended to PR 123 CVS: CVS: Please evaluate your changes and consider the following. CVS: Abort checkin if you answer no. CVS: => For all changes: CVS: Do the changed files compile? CVS: Has the change been tested? CVS: => If you are not completely familiar with the changed components: CVS: Has the change been posted for review? CVS: Have you allowed enough time for feedback? CVS: => If the change is major: CVS: => If the change adds files to, or removes files from $DESTDIR: CVS: => If you are changing a library or kernel interface: CVS: Have you successfully run "./build.sh release"?
|
1.3 |
| 03-Aug-2020 |
uwe | DEV_VERBOSE_MODULE_DEFINE - use MODULE_CLASS_DRIVER.
This makes built-in verbose modules available before the start of the autoconfiguration, when they are needed. From pgoyette@
PR kern/55535
|
1.2 |
| 13-Nov-2015 |
christos | branches: 1.2.10; 1.2.16; 1.2.26; remove extra semicolons.
|
1.1 |
| 21-Sep-2014 |
christos | branches: 1.1.2; Merge the 3 copies of devlist2h.awk that deal with 16 bit key and value pairs to the compressed one that matt wrote.
|
1.1.2.1 |
| 27-Dec-2015 |
skrll | Sync with HEAD (as of 26th Dec)
|
1.2.26.2 |
| 11-Aug-2020 |
martin | Additionally pull up following revision(s) (requested by uwe in ticket #1037):
sys/dev/dev_verbose.h: revision 1.4
DEV_VERBOSE_DEFINE - use MODULE_CLASS_DRIVER to match the definition. Catch up with previous to unbreak autoloading of verbose modules. PR kern/55535
|
1.2.26.1 |
| 05-Aug-2020 |
martin | Pull up following revision(s) (requested by uwe in ticket #1037):
sys/dev/dev_verbose.h: revision 1.3
DEV_VERBOSE_MODULE_DEFINE - use MODULE_CLASS_DRIVER.
This makes built-in verbose modules available before the start of the autoconfiguration, when they are needed. From pgoyette@
PR kern/55535
|
1.2.16.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.2.16.1 |
| 13-Nov-2015 |
jdolecek | file dev_verbose.h was added on branch tls-maxphys on 2017-12-03 11:36:58 +0000
|
1.2.10.2 |
| 11-Aug-2020 |
martin | Additionally pull up following revision(s) (requested by uwe in ticket #1584):
sys/dev/dev_verbose.h: revision 1.4
DEV_VERBOSE_DEFINE - use MODULE_CLASS_DRIVER to match the definition. Catch up with previous to unbreak autoloading of verbose modules. PR kern/55535
|
1.2.10.1 |
| 05-Aug-2020 |
martin | Pull up following revision(s) (requested by uwe in ticket #1584):
sys/dev/dev_verbose.h: revision 1.3
DEV_VERBOSE_MODULE_DEFINE - use MODULE_CLASS_DRIVER.
This makes built-in verbose modules available before the start of the autoconfiguration, when they are needed. From pgoyette@
PR kern/55535
|
1.4.6.2 |
| 01-Aug-2021 |
thorpej | Sync with HEAD.
|
1.4.6.1 |
| 17-Jun-2021 |
thorpej | Sync w/ HEAD.
|