#
3e15b01d |
| 22-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
libsa: Remove redundant sys/cdefs.h
Sponsored by: Netflix
|
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, release/12.4.0 |
|
#
c4f4a6c9 |
| 24-Jul-2022 |
Warner Losh <imp@FreeBSD.org> |
stand: Use c99 structure initialization for network device
Use c99 structure init for devsw.
Sponsored by: Netflix
|
Revision tags: release/13.1.0, release/12.3.0 |
|
#
98e805b4 |
| 24-Sep-2021 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: net_open() should not replace f->f_devdata
net_open() does replace f_devdata with pointer to netdev_sock, this will cause memory leak when device is closed, but also does alter the devopen()
loader: net_open() should not replace f->f_devdata
net_open() does replace f_devdata with pointer to netdev_sock, this will cause memory leak when device is closed, but also does alter the devopen() logic.
We should store &netdev_sock to dev->d_opendata instead, this would preserve and follow the devopen() logic.
Fixes network boot on aarch64 (tested by bz).
Reviewed-by: imp MFC After: 2 weeks Differential Revision: https://reviews.freebsd.org/D32227
show more ...
|
#
1a25c51e |
| 24-Sep-2021 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: dev_net.c should use __func__ with printf
We have printf calls with function name hardwired to string, sometimes wrong name. Use __func__ instead.
MFC after: 1 week
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
#
30e009fc |
| 19-Feb-2019 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r344270
|
#
c981cbbd |
| 15-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r343956 through r344177.
|
#
e49f2c66 |
| 15-Feb-2019 |
Kyle Evans <kevans@FreeBSD.org> |
stand: dev_net: correct net_open's interpretation of params
net_open previously casted the first vararg to a char * and this was half-OK: at first, it is passed to netif_open, which would cast it ba
stand: dev_net: correct net_open's interpretation of params
net_open previously casted the first vararg to a char * and this was half-OK: at first, it is passed to netif_open, which would cast it back to the struct devdesc * that it really is and use it properly. It is then strdup()d and used as the netdev_name, which is objectively wrong.
Correct it so that the first vararg is properly casted to a struct devdesc * and the netdev_name gets set properly to make it more clear at a glance that it's not doing something horribly wrong.
Reported by: mmel Reviewed by: imp, mmel, tsoome MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D19206
show more ...
|
Revision tags: release/12.0.0, release/11.2.0 |
|
#
09001b5c |
| 10-May-2018 |
Warner Losh <imp@FreeBSD.org> |
Revert r333365
Even though we don't use it, it appears something else requires it to be != 0 to work. This breaks tftp boot in loader.efi, so revert until that can be sorted out.
|
#
a1947307 |
| 08-May-2018 |
Warner Losh <imp@FreeBSD.org> |
We don't use f_devdata, so don't set it. Should that need to change later, we can. This leaves ZFS as the only irregular f_devdata user in the tree.
|
#
82725ba9 |
| 23-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325999 through r326131.
|
#
a9abb859 |
| 22-Nov-2017 |
Toomas Soome <tsoome@FreeBSD.org> |
net_parse_rootpath() has no parameters
Add void for parameter list.
|
#
55b1c6e7 |
| 15-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325663 through r325841.
|
#
ca987d46 |
| 15-Nov-2017 |
Warner Losh <imp@FreeBSD.org> |
Move sys/boot to stand. Fix all references to new location
Sponsored by: Netflix
|