summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-18Move Buffer bignum functions into their own file, bufbn.c. This means thatDarren Tucker
sftp and sftp-server (which use the Buffer functions in bufaux.c but not the bignum ones) no longer need to be linked with libcrypto. ok markus@
2006-04-18Add () to function names to make it more clear what is happeningChad Loder
2006-04-18Print a usefull diagnostic message if we fail to transition between statesGordon Willem Klok
like the K8 driver for i386. Fix some indentation. ok dlg@
2006-04-18Display logical disk status in sysctl. Now one can use sensorsd toMarco Peereboom
monitor disks on ami. Ex.: hw.sensors.0=sd2, logical disk, WARNING, drive, degraded Requested deraadt@ ok dlg@
2006-04-18For prototype argument conversions, include both "from" and "to" types.Chad Loder
2006-04-18For all warnings involving prototypes, print the function name and theChad Loder
argument number.
2006-04-18Combine code to prompt user for input into a shared function,Ray Lai
reducing some complex fats from ci.c. OK joris@
2006-04-18Correct the heuristic to determin Cool`n'Quiet vs. Powernow! spotted inGordon Willem Klok
the linux driver. Correct the the cpu signature used to determin if the chip is affected by errata a0, verified in the linux driver. Some demagification and KNF. ok dlg@
2006-04-18Add a funcname() function, which returns the name of a function given aChad Loder
CALL or AMPER or NAME node to a function or pointer to a function. This will come in handy later.
2006-04-18Discussed with jason@ that pfail means "partial fail". Now it translatesMarco Peereboom
to "degraded". ok jason@
2006-04-18The old way of passing function argument information was to pass an intChad Loder
which corresponded to the argument # (1-based, with 0 meaning it is not an argument). This sucked because it is impossible to include the function name or argument name in warnings when all you have is an argument number. Introduce a new type farg_t which represents a passed function argument. struct farg contains argument number, function name, and argument symbol information from the prototype).
2006-04-18Clarify strlcpy code by explicitly naming variable `len' andRay Lai
separating out each step. Inspired during miscommunication with tedu@. OK deraadt@
2006-04-18/* FALLTHROUGH */ to share code between the -N and -n flags.Ray Lai
OK joris@
2006-04-18Removes memory leaks when flags are called multiple times. ThisRay Lai
is the easy way out. The code should be able to handle having pb.author, pb.description, and pb.symbol as const char * strings pointing to rcs_optarg values without using xstrdup at all. The code is a bit hairy so it's difficult to verify that it's done correctly, so that'll be a plan for another day. In the meantime, this works. OK joris@
2006-04-18Remove -h flag from rcs_getopt loop, which is not in GNU.Ray Lai
OK xsa@
2006-04-18Ensure that we check if the transition succeeded before we adjustGordon Willem Klok
pentium_mhz on K7, and print a usefull diagnostic message if it does not on K7 and K8. "makes sense to me" dlg@
2006-04-18Actually add ccbs to the queue.Marco Peereboom
Fix the error path for mfi_init_ccb. Alter dmamap for io.
2006-04-17initialize program_name before we privsep, otherwise the child does notTheo de Raadt
know our name
2006-04-17Remove unused struct mdproc fields.Miod Vallat
2006-04-17more signal handler cleaningTheo de Raadt
2006-04-17solve half of the signal race issuesTheo de Raadt
2006-04-17prettier code; ok pedroTheo de Raadt
2006-04-17Remove 'ipc' in PLT message and replace it with current hostname.Mats O Jansson
Some more code cleanup and make lint happier. -moj
2006-04-17Reorganize the 0xfe vendor register block, adding new devices and tighteningMark Kettenis
checks on existing devices. "slap it in" deraadt@
2006-04-17Do not mask the MVME188 abort button interrupt at splhigh(), similar to MVME197.Miod Vallat
2006-04-17On MVME188, clear SYSFAIL and set up a decent VME data transfer timeout,Miod Vallat
instead of relying on what the BUG leaves us with.
2006-04-17Better constant names for the MVME188 GCSR set.Miod Vallat
2006-04-17fix badly broken code. okay millert@, deraadt@Marc Espie
2006-04-17Sprinkle more debug. Remove 64 byte boundary; it doesn't seem to like it.Marco Peereboom
Hack around 64 byte boundary for the frames for now.
2006-04-17When linting, #define __dead /* NORETURN */, which allows lint to detectChad Loder
dead code and avoid false positives
2006-04-17Pass -CC to cpp, which preserves comments in macros. This gets us __deadChad Loder
code detection and later on, other things.
2006-04-17more cleanupTheo de Raadt
2006-04-17mark signal raceTheo de Raadt
2006-04-17Save pointers to up to four CMMU PFSR registers into the cpu_info structure.Miod Vallat
This allows the exception handling code to skip the PFSR address computations. The net result is that the PFSR_SAVE code becomes much simpler and smaller, and that all processors will now spend time in PFSR_SAVE - previously, cpu0 was favored and other processors took a bit more time. Note that 8:1 configurations do not use these fields - but then this is a fixed monoprocessor configuration, for which the existing code was already doing The Right Thing. Tested on luna88k (2:1) by aoyama@, and on mvme88k (2:1 and 4:1) by me.
2006-04-17quiet a bit more test-rcs-iflag;Xavier Santolaria
2006-04-17fd(4) -> fdc(4). ok jmc@Steven Mestdagh
2006-04-17Revert previous - causes misaligned exceptions in ip4_input()...Miod Vallat
2006-04-17Oops, removed a safety check in dartopen() in previous commit by mistake.Miod Vallat
2006-04-17Make the code lint friendly. -mojMats O Jansson
2006-04-17plug memory leak; OK ray@.Xavier Santolaria
2006-04-17Relieve checkin_update and checkin_init of the responsibility ofRay Lai
calling rcs_close() so we don't try to rcs_close() the same file twice if the working file does not exist, resulting in a core dump. The current code also returns the status of the last file, so if we do: $ touch file $ ci nonexistent file that will return 0. GNU returns 1. Fix that. Additionally, it returns -1 on error, which turns into 255. It should return 1. OK niallo@
2006-04-17Only show a interface once. Some cleanup and silence lint. -mojMats O Jansson
2006-04-17If there is a timeout while writing to the PHY inBrad Smith
sk_marv_miibus_writereg() then print a message indicating so, as done in the XMAC case.
2006-04-17Three undocumented options got lost in the conversion to getopt(3).Moritz Jodeit
Remove their remaining code, since they were not working before. Initial diff from Steffen Wendzel. ok millert@
2006-04-17Remove useless "h" and "?" from getopt(3) string.Moritz Jodeit
From Steffen Wendzel. ok marius@
2006-04-17Remove "l:" from getopt(3) string, since the option wasMoritz Jodeit
removed long ago. From Steffen Wendzel. ok pedro@
2006-04-17setjmp.h not usedTheo de Raadt
2006-04-17spaces.Theo de Raadt
can someone please rewrite this to not use setjmp(), but instead a poll() loop? please & thank you
2006-04-17Remove unused variable.Ray Lai
Found by lint. OK joris@
2006-04-17looks like 0x20 on sch5017 is a 5v input, not 2.5vTheo de Raadt