tools - Generate valid embedded newlines in strings* Use the posix string concat instead of actually escaping a hard newline inside the string. This is not legal in C any more (it used to be,
tools - Generate valid embedded newlines in strings* Use the posix string concat instead of actually escaping a hard newline inside the string. This is not legal in C any more (it used to be, ages ago): "abc\ def" Instead we have to use: "abc\n" "def"* Fixes the awk scripts to generate valid C strings.Reported-by: zrj
show more ...
fw_stub.awk: correct usage message* Add information about optional version and parent for the firmware image.* Show that the -m option is mandatory.
fw_stub.awk: fix processing of values for the options when separated by space
Remove advertising header from sys/Correct BSD License clause numbering from 1-2-4 to 1-2-3.Some less clear cases taken as it was done of FreeBSD.
sound: Import latest code from FreeBSD* As of 1bac48ea8f21c4121f1c45311ec4f05577c58abc (SVN id r275101) "Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets."* Do not import isa, ma
sound: Import latest code from FreeBSD* As of 1bac48ea8f21c4121f1c45311ec4f05577c58abc (SVN id r275101) "Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets."* Do not import isa, macio, sbus and usb drivers* snd_au88x0 has been removed. According to the FreeBSD commit message, it never even got compiled into the kernel or as a module.* Drop the ds1, csa and maestro3 drivers due to restrictive license terms or the need to use binary blobs. These drivers are not built by default on FreeBSD.
kernel/acpi: Add quirks framework (and some quirks) from FreeBSD.I don't know how common the signatures from the supplied quirksare nowadays (the last addition was in 2005) but the frameworkcould
kernel/acpi: Add quirks framework (and some quirks) from FreeBSD.I don't know how common the signatures from the supplied quirksare nowadays (the last addition was in 2005) but the frameworkcould nevertheless be useful.For now, the ACPI_Q_MADT_IRQ0 quirk remains unimplemented becauseof the way the associated code is implemented in DragonFly. Thiswill need further work in the future.In-discussion-with: sephe
kernel: Generate miidevs.h, pccarddevs.h and pcidevs.h on the fly.It removes the need to regenerate those header file after first editingthe associated list of IDs (miidevs, pccarddevs or pcidevs)
kernel: Generate miidevs.h, pccarddevs.h and pcidevs.h on the fly.It removes the need to regenerate those header file after first editingthe associated list of IDs (miidevs, pccarddevs or pcidevs). After thiscommit, editing the list alone is enough to add IDs.We already did it like that for usb4bsd's usbdevs.h before. This commitadjusts things for the remaining ID lists.
kernel/usb4bsd: Switch to generating usbdevs{,_data}.h during the build.Taken-from: FreeBSD
tools/fw: Fix set-but-unused gcc47 warning in generated C fileOnly generate parent and the assignment code, if there are morethen 1 input firmware files.
makeobjops.awk: Fix comment, it's actually doxygen comments we skip here.
makeobjops.awk: Skip C comments (it helps us deal with newer .m files).Reported-by: ftigeot
kernel/kobj: Put the default kobj_method inside the kobjop_desc struct.Also, make kobj_methods constant. See FreeBSD's r227343 and r227384 formore information.This change reduces the size of a L
kernel/kobj: Put the default kobj_method inside the kobjop_desc struct.Also, make kobj_methods constant. See FreeBSD's r227343 and r227384 formore information.This change reduces the size of a LINT64 kernel by 18KB and our sourceby 7 lines!Taken-from: FreeBSD
sys/tools/fw_stub.awk: Change printf to kprintf as this is kernel code.Submitted-by: Johannes Hofmann <johannes.hofmann@gmx.de>Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1794>
firmware(9): GC our old firmware framework in favor of the one from FreeBSD.* Move the helper module to kern/firmware and name it firmware.ko. Also make it buildable into the kernel. Add it to GE
firmware(9): GC our old firmware framework in favor of the one from FreeBSD.* Move the helper module to kern/firmware and name it firmware.ko. Also make it buildable into the kernel. Add it to GENERIC.* Adjust mxge(4) to use the new framework, too. Therefore, bring in firmware modules from FreeBSD.* Update the firmware(9) manual page.* Bring in other missing bits and pieces (share/examples/kld/firmware).* Adjust 'make upgrade'.
firmware - Import FreeBSD's firmware API.This should be considered experimental. When porting code fromFreeBSD instances of #include <sys/firmware.h> should be convertedto #include <sys/fbsd_fir
firmware - Import FreeBSD's firmware API.This should be considered experimental. When porting code fromFreeBSD instances of #include <sys/firmware.h> should be convertedto #include <sys/fbsd_firmware.h>. I have also taken out some ofthe firmware file locking code.
Remove handling of CVS IDs.
Say hello to a sound system update from FreeBSD. This includes the longawaited Intel High Definition Audio (HDA) a.k.a. Azalia support.The generic sound support module has been renamed to sound.k
Say hello to a sound system update from FreeBSD. This includes the longawaited Intel High Definition Audio (HDA) a.k.a. Azalia support.The generic sound support module has been renamed to sound.ko and the"everything included" module is called snd_driver.ko now. Apart fromthat, everything should continue working as normal, just better.
Add a space to the output for legibility.
The VFS work has made vnode_if.awk obsolete.
KObj extension stage IIIa/IIIMerge inheritance support from FreeBSD: * Add multiple inheritance to kobj. Each class can have zero or more base classes and if a method is not found in a given
KObj extension stage IIIa/IIIMerge inheritance support from FreeBSD: * Add multiple inheritance to kobj. Each class can have zero or more base classes and if a method is not found in a given class, its base classes are searched (in the order they were declared). This search is recursive, i.e. a method may be define in a base class of a base class.
Remove perl from the i386 kernel build.
Change $FreeBSD$ to $DragonFly$ on the output files.
Also revert the VI_UNLOCKED damage.
Remove KTR damage.
Add two more awk kernel build scripts from FreeBSD.
12