httpd: pass struct server_request to the request handlers
Make handlers and the response writer take the request
instead of the client.
No functional change.
looks fine claudio@, OK rsadowski@
httpd: add struct server_request
Move the request state out of struct client into a new struct
server_request, one allocated per client.
No functional change.
looks fine claudio@, OK rsadowski@
Adjust bitmap_id_get in a similar way bitmap_empty.
Process the first element outside of the loop and then the loop
becomes trivial. Also use a single form to calculate the returned
id and use a goto done to jump there.
OK tb@
Better frame buffer driver for HP Artist (onboard 712) and Visualize EG
(onboard B-class and some C-class, as well as PCI) devices, allowing proper
(currently unaccelerated) X11 support, as well as color, underline and larger
fonts in console.
Ported from NetBSD.
Fix memory leak of the adjout array in pt_free
pt_free needs to free the adjout array, do this with adjout_prefix_free
which takes care of accounting and kind of handles cases where the removed
prefixes are actually still active -- in this case peer prefix counts will
be off.
Create a little helper (adjout_prefix_destroy) to take care of clearing
out a adjout_prefix.
Based on a report by Nate P nate.pusnik gmail com
OK tb@
Take the inline marker check out of the loop in bitmap_empty
Instead of checking on every iteration if this is the first element
handle the first element before the loop and start the loop on the
2nd element.
OK tb@
Remove pcap_fddipad and the PCAP_FDDIPAD define in pcap-int.h
tcpdump on alpha does not build right now because pcap_fddipad is no
longer exported. Nothing in OpenBSD uses DLT_FDDI, in other words no
FDDI padding is done in the kernel.
OK jsg@ miod@
Fix the pinctrl bias setting, since the current OF_getproplen() check
did only match for valueless boolean values. On the SGB4E the i2c20
bus still did work because it has external pull-ups.
While there, add support for the bias-bus-hold field.
Feedback and ok kettenis@