OpenBSD cvs log

created 2019-01-31T09:47:27Z
begin 2018-01-03T00:00:00Z
end 2018-01-04T00:00:00Z
path src/sys
commits 9

date 2018-01-03T04:15:51Z
author kettenis
files src/sys/dev/ofw/ofw_misc.c log diff annotate
src/sys/dev/ofw/ofw_misc.h log diff annotate
message Add remap_bynode() since I use it in the rkpcie(4) implementation.

date 2018-01-03T06:27:42Z
author dlg
files src/sys/sys/_endian.h log diff annotate
message remove __swap16_multi because endian.h provides swap16_multi without it

ok guenther@

date 2018-01-03T08:43:10Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message Add size for free(9) in the bwfm(4) PCI attachment code.

From Michael W. Bombardieri

date 2018-01-03T19:39:36Z
author denis
files src/sys/net/if_ethersubr.c log diff annotate
message Add support for IPv6 over MPLS pseudowire aka mpw(4)

OK claudio@ jca@

date 2018-01-03T20:10:40Z
author kettenis
files src/sys/dev/pci/ahci_pci.c log diff annotate
message Add ASMedia ASM1061 SATA to the list of devices as it is an AHCI controller
but doesn't advertise itself as such.

ok dlg@, jmatthew@

date 2018-01-03T20:41:31Z
author kettenis
files src/sys/dev/fdt/rkclock.c log diff annotate
message Instead of adding each and every clock to the list of clocks that are enabled
by default, simply assume they are. But do check for this when we attach.

date 2018-01-03T21:01:16Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmvar.h log diff annotate
src/sys/dev/pci/if_bwfm_pci.c log diff annotate
src/sys/dev/usb/if_bwfm_usb.c log diff annotate
message Since the PCI attachment code already uses mbufs for RX packets, we can
push the mbuf allocation down into the USB attachment code and now pass
an mbuf to the bwfm(4) receive function.

date 2018-01-03T23:11:06Z
author dlg
files src/sys/dev/ic/malo.c log diff annotate
message assign 1 instead of the result of htole16(1) to a uint8_t.

on big endian archs the 1 is shifted to the high byte, which then
gets lost when it's assigned to the uint8_t. at worst we lose the
value, at best the compiler has a teary and fixes it.

this is the fix for a compiler teary.

ok claudio@

date 2018-01-03T23:20:10Z
author dlg
files src/sys/sys/_endian.h log diff annotate
message rework __swapXX to avoid the use of __statement.

the primary motivation of this was to allow the use of things like
htons() and htole16() as case labels. previously gcc would vomit
with "expression is not an integer constant expression" if you tried

ok guenther@