summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-11A zero-length partition is a non-partition, so reject a partitionKenneth R Westerback
length of 0. And anyway PRT_fix_CHS() writes garbage when length is zero. Refresh the in-memory copy to reflect any data that was written out, so you can see that your changes have taken effect. Surprise behaviours noted by matthew@ at c2k11.
2011-11-11Remove a bogus check which dereferences an uninitialised pointer.Joel Sing
From Pedro Martelletto. ok krw@ mikeb@
2011-11-11When rebuilding check the size of the replacement chunk against theJoel Sing
coerced size rather than the physical size of another chunk.
2011-11-11hppa64 uses binutils 2.17.Joel Sing
ok kettenis@
2011-11-11Remove unused sv_sensor_valid variable.Joel Sing
2011-11-11When setting up a bootable softraid volume, do not try to save the bootJoel Sing
blocks or boot loader to chunks that are not online. ok mikeb@
2011-11-11Allow 64bit -> arm cross compilation as it appears safe (amd64 -> arm at least)Dale Rahn
include bsd.own.mk to get the correct compiler architectures (if only Makefile.cross is used)
2011-11-11Re-add overro board support. ok drahn@Matthieu Herrb
2011-11-11regenGleydson Soares
2011-11-11add support for HUAWEI Mobile E173sGleydson Soares
tested by me ok jsg@ sthen@ jmc@
2011-11-10Assert copyright; spotted by drahn@Uwe Stuehler
2011-11-10Missing UART irqs.Dale Rahn
2011-11-10Eliminate more useless differences between hppa and hppa64Theo de Raadt
2011-11-10setting COM_FREQ here is very wrongTheo de Raadt
2011-11-10Missing interrupts on gpio.Dale Rahn
2011-11-10mindless unification with hppa64; remove meaningless differences beforeTheo de Raadt
attacking the complicated stuff
2011-11-10Reduce autoconf(4) overuse on beagleUwe Stuehler
Renamed `ahb' to `omap' and extended it to configure the on-chip devices directly, based a board-specific table instead of trying to maintain addresses, interrupt numbers and such for two OMAP variants in the same config file. This may be an intermediate step, but should provide us some relief already. :) Suggestions from deraadt and drahn; ok drahn@
2011-11-10Recognize a few more v6 and v7 instructions.Miod Vallat
2011-11-10Use STDIN_FILENO instead of magic constant 0Charles Longeau
ok gilles@
2011-11-10Remove unused %s from a printf(), properly cast const void* to constKenneth R Westerback
int*. From Marco Trillo via tech@ long ago.
2011-11-10Fix bug where 'now' recomputation was incorrect,Dale Rahn
do not bother subtracting the old 'now' from the 64bit counters to determine which was sooner, add event counters for the clock/stat Do not have timers unless debugging the driver. Switch statclock to multiple of hz;
2011-11-10Fixed config_pending calls in sdmmc(4)Uwe Stuehler
Root on SD/MMC card did not work reliably because the config_pending state was cleared too early. This change will clear config_pending only after the card discovery has actually completed once. ok deraadt@ drahn@
2011-11-10Death to inappropriate whitespace. First one pointed out by Brad.Kenneth R Westerback
2011-11-10Deal with the register offset on omap4430 where the registers moved by 0x100.Dale Rahn
2011-11-10Add gumstix overo support. It's very similar to be beagleboard at thisMatthieu Herrb
point. So add it's card id and handle it like the beagleboard. ok drahn@, miod@
2011-11-09List some devices now supported by cdce(4).Stuart Henderson
2011-11-09Add support for UISUBCLASS_MOBILE_DIRECT_LINE_MODEL to cdce(4).Stuart Henderson
This is available with at least Ericsson-derived HSPA cards (e.g. Dell 5530/5540) and provides a nice alternative to using them in ppp mode. From Rivo Nurges (rix at estpak ee), ok jsg@
2011-11-09Change fork1() and kthread_create() to match the rest of the treePhilip Guenthe
and use curp vs p instead of p1 vs p2. Add curpr and pr variables for the respective struct processes. Make sigactsshare() return the shared sigacts intead of taking the struct proc to update. ok deraadt@
2011-11-09Add the __cerror asm bits for per-thread errno support for powerpc.Mark Kettenis
ok guenther@
2011-11-09Add magic to use %r2 as the userland thread register.Mark Kettenis
ok guenther@
2011-11-09getcwd() buffer's length can be smaller than 1024. In that case it willFederico G. Schwindt
fail with errno set to ERANGE if not enough room is provided. Similar for getlogin_r() so remove minbytes enforcement attribute. ok kettenis@ guenther@ deraadt@ on getcwd, deraadt@ on getlogin_r.
2011-11-09openbsd will never support __ARMEB__, so remove it hereJasper Lievisse Adriaanse
ok deraadt@
2011-11-09If directly open /dev/wskbdX, then wskbdX be removed from mux wskbd,Alexandr Shadchin
but if close wskbdX, wskbdX not returned to mux. Fix it. ok miod@
2011-11-09Auto-repeat keys in WSKBD_RAW mode is not needed.Alexandr Shadchin
WSKBD_RAW mode used in X, but X independently implements auto-repeat keys. ok miod@
2011-11-09State expire time is a baseline time ("last active") for expiryCamiel Dobbelaar
calculations, and does _not_ denote the time when to expire. So it should never be added to (set into the future). Try to reconstruct it with an educated guess on state import and just set it to the current time on state updates. This fixes a problem on pfsync listeners where the expiry time could be double the expected value and cause a lot more states to linger. Timeout code from mikeb. Found and testing by Maxim Bourmistrov. ok mikeb dlg
2011-11-09Fix manual wfi instruction encoding.Miod Vallat
2011-11-09Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.Nicholas Marriott
2011-11-09syncTheo de Raadt
2011-11-09Oh yeah, with TLS-lite we can get the thread handle without walking thePhilip Guenthe
thread list reminded by dhill@
2011-11-09Missing argument to error printf()Miod Vallat
2011-11-09In pmap_remove(), don't forget to do tlb flushes even in the !pmap_cachevivtMiod Vallat
case. ok drahn@
2011-11-09Use the new priority as the priority to check against,Dale Rahn
not the current (not yet lowered) priority. problem spotted by miod.
2011-11-09External ampintc interrupts need to add 32 to the interrupt number,Dale Rahn
while 'internal' should not. no complaints uwe@ miod@
2011-11-08Regress for -z initfirst supportPhilip Guenthe
2011-11-08ld.so initfirst regress testPhilip Guenthe
2011-11-08Cookies? Beagle don't need no stinkin' cookies. To get boot paramsKenneth R Westerback
anyways. ok (sight unseen) deraadt@ drahn@
2011-11-08Make the userland bits actually compile.Mark Kettenis
ok guenther@
2011-11-08Let beagle GENERIC work as 'swap generic'.Kenneth R Westerback
ok deraadt@ drahn@
2011-11-08Now that the code is well tested, don't ask the firmware questionTheo de Raadt
anymore. Saves 141 precious bytes on the inside of the media. ok krw
2011-11-08consistant "config bsd" lines; ok miodTheo de Raadt