summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rijndael-alg-fst.[ch]:ume2003-11-104-1634/+1332
| | | | | | | | | | | - redo updating. rijndael-api-fst.[ch]: - switch to use new low level rijndael api. - stop using u8, u16 and u32. - space cleanup. Tested by: gbde(8) and phk's test program
* When the P flag is set (i.e. Overwrite regular files before deleting them),guido2003-11-101-8/+14
| | | | | | | | | do only unlink the file if we could indeed overwrite the file. Old behaviour: rm -P /tmp/foo (foo mode 0444) would NOT overwrite foo, but still delete it (with a warning: rm: foo: Permission denied) New behaviour: Just the EPERM warning, but no deletion Reviewed by: bde
* Link the SNMP daemon for NgATM to the build.harti2003-11-101-0/+1
|
* Add the build infrastructure for the SNMP daemon that is the baseharti2003-11-108-0/+202
| | | | for the NgATM ILMI daemon and for the tree parsing helper program.
* Link libbsnmp to the build.harti2003-11-101-1/+1
|
* Add build infrastructure for libbsnmp and the modules. Add theharti2003-11-1029-0/+5951
| | | | netgraph module for the SNMP daemon.
* Add a define for libbsnmp.harti2003-11-101-0/+1
|
* Create sub-directories under share for bsnmp tree definition and MIB files.harti2003-11-101-0/+6
|
* Create a subdirectory where bsnmp include files will be stuffed to.harti2003-11-101-0/+2
|
* Make two directories under usr/share/bsnmp that are needed duringharti2003-11-101-1/+1
| | | | | | library build to install tree definition files and MIBS. Okay'ed by: ru
* Add update instructions for bsnmp. Bsnmp is the base for the NgATMharti2003-11-101-0/+25
| | | | ILMI daemon.
* This commit was generated by cvs2svn to compensate for changes in r122394,harti2003-11-1050-0/+21792
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of bsnmp 1.4harti2003-11-1050-0/+21792
|
* The current Perl 5.8 version is 5.8.1; 5.8.2 is right around the corner.des2003-11-101-1/+3
|
* Document EINVAL for len == 0.des2003-11-101-1/+1
|
* When there are no free sem_undo structs available in semu_alloc(), onlytjr2003-11-101-3/+4
| | | | | | | | | | | | | free one sem_undo with un_cnt == 0 instead of all of them. This is a temporary workaround until the SLIST_FOREACH_PREVPTR loop gets fixed so that it doesn't cause cycles in semu_list when removing multiple adjacent items. It might be easier to just use (doubly-linked) LISTs here instead of complicated SLIST code to achieve O(1) removals. This bug manifested itself as a complete lockup under heavy semaphore use by multiple processes with the SEM_UNDO flag set. PR: 58984
* In get_mcontext(), do not update bspstore and ndirty in the trapframe.marcel2003-11-101-5/+9
| | | | | | | | | | | | Only update them in the newly created context to reflect the state after copying the dirty registers onto the user stack. If we were to update the trapframe, we lose the state at entry into the kernel. We may need that after we create the context, such as for KSE upcalls. We have to update the trapframe after writing the dirty registers to the user stack for signal delivery to work. But this is best done in sendsig() itself where it applies, not in get_mcontext() where it's done unconditionally.
* Document KTR_DROP.jkoshy2003-11-101-0/+9
|
* * Improve sbp device probe in boot process.simokawa2003-11-101-15/+50
| | | | | | | | | - Notify BUS RESET to CAM in sbp_attach(). - Use last bus reset time to determine login delay. Tested by: imura * Add some sysctl MIB and tunables.
* If a thread masks all its signal, in cursig(), no signal will be exchangeddavidxu2003-11-101-2/+1
| | | | | | with debugger, so testing P_TRACED in SIGPENDING is useless. This test also is the culprit which causes lots of 'failed to set signal flags properly for ast()' to be printed on console which is just a false complaint.
* Move 'guessing' code from the probe into the identify routine where it moreimp2003-11-102-160/+106
| | | | properly belongs.
* - The Open Group Base Specifications Issue 6 specifies that an munmap(2)alc2003-11-103-20/+18
| | | | | | | | must return EINVAL if size is zero. Submitted by: tegge - In order to avoid a race condition in multithreaded applications, the check and removal operations by munmap(2) must be in the same critical section. To accomodate this, vm_map_check_protection() is modified to require its caller to obtain at least a read lock on the map.
* NFC: Update stale comments.mini2003-11-102-4/+4
| | | | Reviewed by: alc
* MFNetBSD:joe2003-11-102-6/+5
| | | | | | date: 2003/10/18 04:50:35; author: simonb Remove assigned-to but otherwise unused variables. Remove unreachable break after return statements.
* MFNetBSD:joe2003-11-101-1/+2
| | | | | | | | | | revision 1.142 date: 2003/10/11 03:04:26; author: toshii Fix a done list handling bug which exhibits under high shared interrupt rate and bus traffic. As the interrupt register is read after checking hcca_done_head, there was a small chance of dropping a done list. Ignore OHCI_WDH interrupt bit if hcca_done_head is zero so that OHCI_WDH is processed later.
* MFNetBSD:joe2003-11-101-8/+11
| | | | | | | revision 1.141 date: 2003/09/10 20:08:29; author: mycroft; Update actlen even in the case where a TD returns an error -- this is critical for the umass bulk-only STALL case.
* MFNetBSD:joe2003-11-101-0/+10
| | | | | | | revision 1.176 date: 2003/11/04 19:11:21; author: mycroft; Ignore a CRCTO error on a SETUP transaction in combination with STALLED or NAK. This fixes problems with the GL641.
* MFNetBSD:joe2003-11-091-1/+2
| | | | | date: 2003/09/12 16:18:08; author: mycroft; Tweak a debugging printf().
* Revise the NetBSD revision control strings.joe2003-11-093-29/+3
|
* MFNetBSD:joe2003-11-096-15/+10
| | | | | | - remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD(). this mirrors the functionality of SLIST_REMOVE_HEAD() (the other singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
* Reorganize and trim devices from the aic(4), aha(4), ahb(4), andbmah2003-11-092-306/+18
| | | | | | | | | | | | ahc(4) sections. Trim devices from sis(4), de(4), and ex(4). Don't bother saying what standards are supported by the ATM stack; this list is kind of misplaced here (and may not even be accurate anymore). Delete mention of pca; this driver has been removed.
* fix typo that broke AP scanning by BSSIDsam2003-11-091-2/+1
| | | | Submitted by: Len Widra
* When a thread is being swapped-out, save the high FP registers. Wemarcel2003-11-091-0/+2
| | | | | have a pointer in the PCPU to the PCB of the thread that currently has its high FP registers loaded.
* Trim device entries for sym(4)/ncr(4).simon2003-11-092-72/+4
|
* Add some pc98-specific devices from the hardware notes.bmah2003-11-092-0/+7
|
* Add two PC-98 devices, from the hardware notes, which was missed insimon2003-11-091-0/+4
| | | | | | the last commit. MFC after: 1 week
* - Sync the list of supported device with the hardware notes and thesimon2003-11-091-4/+41
| | | | | | | driver source code. - Use a mdoc list for the list of supported devices. MFC after: 1 week
* Use get_mcontext() to construct the signal context in sendsig() andmarcel2003-11-093-109/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use set_mcontext() to restore the context in sigreturn(). Since we put the syscall number and the syscall arguments in the trapframe (we don't save the scratch registers for syscalls, which allows us to reuse the space to our advantage), create a MD specific flag so that we save the scratch registers even for syscalls. We would not be able to restart a syscall otherwise. The signal trampoline does not need to flush the regiters anymore, because get_mcontext() already handles that. In fact, if we set up the context correctly, we do not need to have a trampoline at all. This change however only minimally changes the trampoline code. In follow-up commits this can be further optimized. Note that normally we preserve cfm and iip in the trapframe created by the EPC syscall path when we restore a context in set_mcontext() because those fields are not normally set for a synchronuous context. The kernel puts the return address and frame info of the syscall stub in there. By preserving these fields we hide this detail from userland which allows us to use setcontext(2) for user created contexts. However, sigreturn() is commonly called from the trampoline, which means that if we preserve cfm and iip in all cases, we would return to the trampoline after the sigreturn(), which means we hit the safety net: we call exit(2). So, we do not preserve cfm and iip when we have a synchronous context that also has scratch registers (the uncommon context created by sendsig() only), under the assumption that if such a context is created in userland, something special is going on and the use of cfm and iip is then just another quirk. All this is invisible in the common case.
* - Remove Giant from msync(2). Giant is still acquired by the lower layersalc2003-11-092-27/+10
| | | | | | | | | | if we drop into the pmap or vnode layers. - Migrate the handling of zero-length msync(2)s into vm_map_sync() so that multithread applications can't change the map between implementing the zero-length hack in msync(2) and reacquiring the map lock in vm_map_sync(). Reviewed by: tegge
* Free the ata_request struct after we are done using it. This should stopscottl2003-11-091-2/+9
| | | | the memory leak seen when using ATAPICAM.
* make minimum column size for interrupt name be the heading (depends uponjmg2003-11-091-1/+1
| | | | | | Total being shorter than interrupt).. Pointed out by: bde
* Change the clear_ret argument of get_mcontext() to be a flags argument.marcel2003-11-0911-20/+27
| | | | | | | | | | Since all callers either passed 0 or 1 for clear_ret, define bit 0 in the flags for use as clear_ret. Reserve bits 1, 2 and 3 for use by MI code for possible (but unlikely) future use. The remaining bits are for use by MD code. This change is triggered by a need on ia64 to have another knob for get_mcontext().
* Tweak the front end driver file listimp2003-11-091-31/+26
| | | | Also some minor whitespace nits.
* Add my copyright to aha_isa.c to make it crystal clear its licenseimp2003-11-091-1/+25
|
* Let bus space manage softc.imp2003-11-094-56/+23
|
* Minor tweaks to make it behave better:imp2003-11-091-8/+18
| | | | | | | | | | | | | | o When we're resetting the board, make sure that we error out the pending CCBs first. Otherwise the aha_cmd won't accept further commands, such as those that are used to reset the card (AOP_INITIALIZE_MBOX). This appears to cause a cascade failure where no more commands are possible to the card. o Reduce from 10s down to 1s the amount of time we're willing to tolerate the card being awol. This helps the above case. o Add some error checking to two commands issued in the probe. I have a dim memory of gibbs@ trying to tell me about this problem a few years ago, so pointy hat to imp@ for sitting on it so long.
* Minor comment smithingimp2003-11-091-4/+4
|
* Use kern_sendit rather than sendit for the Linux send* syscalls.dwmalone2003-11-091-144/+105
| | | | | This means we can avoid using the stack gap for most send* syscalls now (it is still used in the IP_HDRINCL case).
* Sync the sym(4) manual page with the hardware notes, and change thesimon2003-11-091-17/+61
| | | | | | | | | | | | | list of supported controllers into a list. Note that the 53C875A has not been included in the list of supported devices, since this controller does not seem to be supported by the version of the sym(4) driver currently in FreeBSD. PR: docs/55557 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> (original version) MFC after: 1 week 53C875A omission reviewed by: silence from -scsi and groudier
* Increase MAXDEV up to 10.simokawa2003-11-091-1/+1
|
OpenPOWER on IntegriCloud