#
4cddd20e |
| 19-May-2024 |
Warner Losh <imp@FreeBSD.org> |
loader/ofw: Style(9) pass over return statements
Make these consistent. Some files weren't even consistent with themselves. Make them all either return <space> ( <value> ); or return;
Sponsored by:
loader/ofw: Style(9) pass over return statements
Make these consistent. Some files weren't even consistent with themselves. Make them all either return <space> ( <value> ); or return;
Sponsored by: Netflix
show more ...
|
Revision tags: release/13.3.0 |
|
#
7c43148a |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
stand: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Rem
stand: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0 |
|
#
f9ce8da8 |
| 30-Nov-2022 |
Warner Losh <imp@FreeBSD.org> |
stand/ofw: Refactor ofw parsedev
Both ofw_disk and ofw_net use the same parsedev routine, except for the string passed in to match the ofw device node's type. Create a routine to do that and connect
stand/ofw: Refactor ofw parsedev
Both ofw_disk and ofw_net use the same parsedev routine, except for the string passed in to match the ofw device node's type. Create a routine to do that and connect these two users up to that.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D37560
show more ...
|
#
b8ff248f |
| 30-Nov-2022 |
Warner Losh <imp@FreeBSD.org> |
stand/ofw: Subclass devnet to cope with ofw's unique needs
We need to match devices in a slightly special way: We have to look up the path and see if the device is a 'network' device in order to use
stand/ofw: Subclass devnet to cope with ofw's unique needs
We need to match devices in a slightly special way: We have to look up the path and see if the device is a 'network' device in order to use it.
Sponsored by: Netflix Tested by: grehan@ (with tweaks to my original patch) Differential Revision: https://reviews.freebsd.org/D37557
show more ...
|
Revision tags: release/12.4.0 |
|
#
4c4563e3 |
| 29-Nov-2022 |
Warner Losh <imp@FreeBSD.org> |
ofw_net: Use c99 initializers
Update to use c99 initializers, although there's no plans to change anything that this would make easier...
Sponsored by: Netflix Reviewed by: zlei Differential Revi
ofw_net: Use c99 initializers
Update to use c99 initializers, although there's no plans to change anything that this would make easier...
Sponsored by: Netflix Reviewed by: zlei Differential Revision: https://reviews.freebsd.org/D37442
show more ...
|
#
9f715656 |
| 27-Nov-2022 |
Warner Losh <imp@FreeBSD.org> |
ofw: Remove old K&R function declaration
We don't need to forward declar strchr anymore.
Sponsored by: Netflix
|
Revision tags: release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0 |
|
#
272a882b |
| 01-May-2020 |
Warner Losh <imp@FreeBSD.org> |
Redo r360540 to retain the ifndef sparc code, not delete it.
Also undo the BROKEN stuff, since it was based on the same misreading.
Noticed by: Jens Schweikhardt
|
#
9053d5b7 |
| 01-May-2020 |
Warner Losh <imp@FreeBSD.org> |
Remove more stray sparc64 ifdefs.
Also, dmabuf appears to only be set for sparc64 case, but there was a comment at its only use that says it was broken for some apple adapters. #ifdef it all of that
Remove more stray sparc64 ifdefs.
Also, dmabuf appears to only be set for sparc64 case, but there was a comment at its only use that says it was broken for some apple adapters. #ifdef it all of that out now that nothing sets it.
show more ...
|
#
aaeffe5b |
| 13-Jan-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
Backout 356693. The libsa malloc does provide necessary alignment and memalign by 4 will reduce alignment for some platforms. Thanks for Ian for pointing this out.
|
#
659bf32d |
| 13-Jan-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: allocate properly aligned buffer for network packet
Use memalign(4, size) to ensure we have properly aligned buffer.
MFC after: 2 weeks
|
#
475008d6 |
| 02-Jan-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
Move stand/ofw/libofw to stand/libofw.
Since rS330365, there has been no particular reason for libofw to be in a subdirectory of ofw. Move libofw up a level to make it fit in better with the other t
Move stand/ofw/libofw to stand/libofw.
Since rS330365, there has been no particular reason for libofw to be in a subdirectory of ofw. Move libofw up a level to make it fit in better with the other top level libraries.
Also add a LIBOFWSRC to stand/defs.mk to match what all the other libraries are doing.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D23000
show more ...
|