summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-06Simplify LDAP URL handling (currently unused):Bret Lambert
instead of strdup()'ing multiple values from an already strdup'ed buffer (none of which were checked for NULL upon return, which is also fixed in this), just use a buffer attached to the aldap_url struct. Add an aldap_search_url() function, which is a wrapper around aldap_parse_url and aldap_search. Finally, since the URL bits are unused, wrap them in #if 0 for now. ok pyr@, whose heart was a little broken by the #if 0 (temporary, I swear!)
2010-02-05Force MACHINE_CPU when building cross-toolchain or cross-building. This allowsMiod Vallat
loongson cross-tools to be configured correctly.
2010-02-05tweak cdboot slightly upwards so all files can fitTodd T. Fries
2010-02-05Now that the BTB errata are out of the way, enable the CS5536 timecounter again,Miod Vallat
albeit at a lower quality level than on x86, so that the cpu counter-timer gets preferred by default.
2010-02-05add some USB hardware verified to work; ok miod@Otto Moerbeek
2010-02-05add uaudio; ok miod@Otto Moerbeek
2010-02-05Blind support for SM501 model. This should give the Gdium Liberty a working,Miod Vallat
accelerated console. No regression on Lemote Yeelong.
2010-02-05regenMiod Vallat
2010-02-05Add SiliconMotion Voyager GX, reportedly found in Gdium Liberty.Miod Vallat
2010-02-05Add a set of functions to access PCI configuration space before bonito(4)Miod Vallat
attaches, and use it to walk the PCI bus to figure out where the onboard frame buffer device lies, if any; and get the frame buffer memory address from reading the proper PCI BAR instead of hardcoding it; this should allow the Gdium Liberty to configure its console correctly.
2010-02-05Blind support for the EMTEC Gdium Liberty netbook. Per-platform configurationMiod Vallat
is moved to specific files, and a pointer to the key configuration structure is now kept in struct sys_config. bonito(4) interrupt handling is split, to allow PCI+Legacy interrupt systems (Lemote Yeelong) and PCI-only Legacy-free systems (Gdium) to coexist peacefully.
2010-02-05Compute and pass resource extents to the MI pci code when attaching pci@bonito.Miod Vallat
2010-02-05When setting up memory regions on Loongson 2F-based machines, make sure weMiod Vallat
reprogram the existing windows to our needs, in case the PCI->DDR window does not span the whole memory size. While there, introduce a function to reprogram a window for code clarity.
2010-02-05When faking the glxpcib(4) BARs, do not mask the low 12 bits, but only asMiod Vallat
many bits as necessary to match the alignment requirements. This prevents all the I/O BARs to end up using the same address.
2010-02-05regenJasper Lievisse Adriaanse
2010-02-05- fix doublesJasper Lievisse Adriaanse
2010-02-05Use correct format specifiers for 'show bcstats'.Joel Sing
ok beck@ krw@
2010-02-05Header_lines always has the same value as y_procs; so zap the former;Otto Moerbeek
from Mark Lumsden.
2010-02-05regenJasper Lievisse Adriaanse
2010-02-05- add few new devices found in dmesglogJasper Lievisse Adriaanse
2010-02-05- mention boot.elfJasper Lievisse Adriaanse
ok kettenis@ (some time ago)
2010-02-04xargs -I and -L are XPG4, not POSIX; ok jmc@Ingo Schwarze
2010-02-04- fix tyops.Jasper Lievisse Adriaanse
ok otto@
2010-02-04vi-style B, W and E keys in copy mode to navigate between words treating onlyNicholas Marriott
spaces as word separators. Also add . to the list of word separators for standard word navigation. From Micah Cowan, tweaked slightly by me.
2010-02-04no need for bsd.binOtto Moerbeek
2010-02-04Read the path from $TMUX if it is present and -L and -S are not given. Based onNicholas Marriott
a diff from Micah Cowan.
2010-02-04Option to display the active pane in a different colour with the display-panesNicholas Marriott
command. From Paul Hoffman, thanks.
2010-02-04kind of revert previous: above mentioned -> aforementionedJason McIntyre
requested by cnst
2010-02-04basic bootpath -> bootdev translation; ok miod@Otto Moerbeek
2010-02-04some more details which are now relavant but should disappear once aOtto Moerbeek
native bootloader exists; ok miod@
2010-02-04add a few USB devices known to work; ok miod@Otto Moerbeek
2010-02-04pf_get_sport() picks a random port from the port range specified in aStuart Henderson
nat rule. It should check to see if it's in-use (i.e. matches an existing PF state), if it is, it cycles sequentially through other ports until it finds a free one. However the check was being done with the state keys the wrong way round so it was never actually finding the state to be in-use. - switch the keys to correct this, avoiding random state collisions with nat. Fixes PR 6300 and problems reported by robert@ and viq. - check pf_get_sport() return code in pf_test(); if port allocation fails the packet should be dropped rather than sent out untranslated. Help/ok claudio@.
2010-02-04remove assumption that internal IFSD_LINK* defines are the same asKevin Steves
LINK_STATE* defines in <net/if.h>, which were changed Sep 14. this fixes link state down being treated as up. ok claudio@ henning@
2010-02-04In event_again() call event_del() before calling event_set() so weJonathan Gray
don't get into a situation where we are calling event_set() on an event that was already added. ok claudio@
2010-02-04no -S option; from Daniel DickmanJason McIntyre
2010-02-04MACHINE_CPU here too;Jason McIntyre
2010-02-04Added optimization for XY reads, requires only one temp bufferJordan Hargrave
2010-02-04Optimized failure handing for Read with X/P failuresJordan Hargrave
Does not require additional temporary buffer
2010-02-03Fix divide by zero on small windows with main-* layouts.Nicholas Marriott
2010-02-03syncMiod Vallat
2010-02-03loongson relese building bits; ok miod@Otto Moerbeek
2010-02-03Remove memory limitation to the low 256MB. With the -mfix-loongson2f-btbMiod Vallat
workaround in place, the kernel can make use of the whole memory without freezing.
2010-02-03There is no need to compile this code with .set noat, really.Miod Vallat
2010-02-03Build the kernel with -mfix-loongson2f-btb. Requires up-to-date binutils.Miod Vallat
2010-02-03Add a new option to the mips64 gas, -mfix-loongson2f-btb. This optionMiod Vallat
is intended to be used when compiling kernel code which will run on a Loongson 2E or 2F processor, and inserts an explicit BTB clear operation before every jump through a register (jr or jalr instructions), unless that register is k0 or k1, or we are in .set noat. This is a reliable, although aggressive, workaround for the misbehaviour of the branch prediction engine of many Loongson 2F processors with regard to the Branch Translation Buffer, for which an official errata has yet to be published, and for which the Loongson suggested workaround apparently only works due to pipeline side effects, but requires all the executable kernel code to be located in CKSEG0/CKSEG1. These changes are inspired by a backport of the Loongson binutils 2.19 patch to binutils 2.18; the idea of doing an aggressive BTB clear is mine. This causes no functional change to code compiled without the -mfix-loongson2f-btb option. ``looks reasonable'' kettenis@
2010-02-03add loongson cachflush.0; ok miod@Otto Moerbeek
2010-02-03syncOtto Moerbeek
2010-02-03sync to new realityOtto Moerbeek
2010-02-03Provide a value for MACHINE_CPU, to let the build machinery reuse the existingMiod Vallat
mips64 (big endian) code. Endian-specific differences are handled within mips64 code with proper cpp tests.
2010-02-03MACHINE_ARCH -> MACHINE_CPU when applicable.Miod Vallat
** it is necessary to update make(1) before building now **