summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Replace PG_BUSY with VPO_BUSY. In other words, changes to the page'salc2006-10-2212-57/+65
| | | | | busy flag, i.e., VPO_BUSY, are now synchronized by the per-vm object lock instead of the global page queues lock.
* Eliminate unnecessary PG_BUSY tests.alc2006-10-223-3/+3
|
* Initialize T1 to silent gcc warning.kevlo2006-10-221-1/+1
| | | | Approved by: cognet
* Use macro TAILQ_FOREACH_SAFE instead of expanding it.davidxu2006-10-221-6/+3
|
* Since revision 1.333 of kern_sig.c no longer uses P_WEXIT, the changedavidxu2006-10-211-2/+8
| | | | | | opened a race window which can cause memory leak in signal queue. Here we free memory for signal queue when process state is set to PRS_ZOMBIE.
* MFp4: default to not loading the fpgaimp2006-10-215-5/+170
|
* MFp4: Update to smaller code footprint.imp2006-10-215-17/+67
|
* MFp4: Move to smaller code footprint.imp2006-10-212-20/+20
|
* MFp4: Move to smaller code. This was somehow forgotten before.imp2006-10-211-5/+5
|
* Eliminate unnecessary PG_BUSY tests. They originally served a purposealc2006-10-212-2/+2
| | | | that is now handled by vm object locking.
* There seems to be a problem with txcsum and UDP. Turn it off until it isscottl2006-10-211-0/+5
| | | | understood better. This fixes timeout problems with NFS.
* MFi386: 1.13: Fix booting with ps2 keyboards.ru2006-10-211-1/+0
|
* Fix error in rev. 1.68. The intention was to break out the switch(){},glebius2006-10-211-1/+1
| | | | | | | | but actually exited from the for(){} loop. This fixes the PPPIOCSCOMPRESS ioctl. PR: kern/101333 Submitted by: Igor Popov <igorpopov newmail.ru>
* Fake the link count until we have no choice but to load data from thetrhodes2006-10-211-1/+1
| | | | | | | MFT. PR: 86965 Submitted by: Lowell Gilbert <lgfbsd@be-well.ilk.org>
* Be more like the BGE driver. Ensure that at least 16 TX descriptors arescottl2006-10-211-8/+11
| | | | | | | | | | kept unused in the ring. This check should probably be moved up to bce_start_locked at some point, as it'll make the loop up there slightly more efficient, and will eliminate a costly set of busdma operations when the ring is full. But this works for now. This makes all of my UDP torture tests work. I'll cautiously say that it might even work for other users now. Feedback is appreciated.
* style(9) cleanup.kevlo2006-10-219-12/+0
| | | | Approved by: cognet
* Fix whitespacescottl2006-10-211-1/+1
|
* Ok I am an idiot. On 32 bits big-endian systems, it is needed to handle thecognet2006-10-211-2/+17
| | | | | | | | | | syscalls using __syscall but only actually returning 32bits, such as mmap(), specially : they set the return value in td->td_retval[0], but the userland functions will expect this in r1, and not in r0 as it is normally done, as it is the LSB. So add a special case for all these syscalls (all except lseek, which truly returns 64bits). Many thanks to Peter Grehan for his patience while explaining me the issue.
* revert last change.. premature.. need to wait until if_ethersubr.cjulian2006-10-212-8/+12
| | | | uses pfil to get to ipfw.
* Use __QUAD_LOWWORD for __syscall, to always use the good word, whatever thecognet2006-10-201-2/+2
| | | | endianness is.
* fix tab indentation for CP and RV...jmg2006-10-201-7/+51
| | | | | | | | | | | If the length is zero, catch this early, instead of making dflen go negative and letting bad things happen... We also check to see if RV (checksum) is 0, and handle that has a checksum failure... Properly handle checksum failures by not processing read-write VPD data, and removing all the found read-only data... Tested by: oleg (dflen going negative)
* Move some variables to a more likely placejulian2006-10-202-12/+8
| | | | and remove "temporary" stuff that is not needed any more.
* There's no fpga.c, so omit it.imp2006-10-201-1/+1
|
* Remove the check that prevented signals from being delivered to exitingjhb2006-10-201-3/+1
| | | | | | | | | | | | | | processes. It was originally added back when support for Linux threads (and thus shared sigacts objects) was added, but no one knows why. My guess is that at some point during the Linux threads patches, the sigacts object was torn down during exit1(), so this check was added to prevent a panic for that race. However, the stuff that was actually committed to the tree doesn't teardown sigacts until wait() making the above race moot. Re-allowing signals here lets one interrupt a NFS request during process teardown (such as closing descriptors) on an interruptible mount. Requested by: kib (long time ago) MFC after: 1 week
* - MFi386: Remove 'device io'.nyan2006-10-201-12/+0
| | | | | - Remove duplicate options. - 'nomakeoption ATKBD_DFLT_KEYMAP' is not needed anymore.
* There's no need to special-case lseek for arm/big-endian.cognet2006-10-201-14/+0
|
* Fix a recent regression regarding valid signals.netchild2006-10-201-1/+1
| | | | Submitted by: rdivacky
* Move more MD devices and options out of MI NOTES.des2006-10-206-97/+206
|
* Don't show debug registers in "show registers". Special registers shouldbde2006-10-202-2/+4
| | | | | | | be displayed specially, and debug registers are among of the least interesting special registers (far behind %cr3). The debug registers are still accessible as variables and displayed in another bogus place ("show watches").
* MFp4:imp2006-10-2025-1058/+1165
| | | | | | | | Massive update. The highlights: o dramatically cut memory usage by writing better, less intertwingled code. o implement booting off mmc/sd cards (sd only tested one at the moment) o start to split out board specific stuff for boot2.
* The VGA_DEBUG option only exists on {amd64,i386,ia64}.des2006-10-204-6/+8
| | | | Also remove 'device io' from amd64 NOTES; DEFAULTS takes care of it.
* Update the access and modification times for dev while still holdingkib2006-10-201-2/+2
| | | | | | | thread reference on it. Reviewed by: tegge Approved by: pjd (mentor)
* Fix the race between devfs_fp_check and devfs_reclaim. Derefence thekib2006-10-203-5/+29
| | | | | | | | vnode' v_rdev and increment the dev threadcount , as well as clear it (in devfs_reclaim) under the dev_lock(). Reviewed by: tegge Approved by: pjd (mentor)
* Sort MFILES listimp2006-10-201-2/+2
| | | | Noticed by: ru@
* MFp4: when passing the transfer up the foodchain, make sure we go upimp2006-10-201-2/+4
| | | | the food chain. devi == NULL is the error condition. Treat it as such.
* MFp4: Working SPI driver.imp2006-10-201-53/+66
|
* Commit WIP SSC driver, more work is needed here, but it configuresimp2006-10-201-6/+26
| | | | things OK.
* More register definitions.imp2006-10-201-0/+105
|
* Progress commit for getting TWI workingimp2006-10-201-17/+23
|
* Add sysctl to export current state of rmii vs mii configuraiton.imp2006-10-201-2/+12
| | | | Fix a typo in resource allocation.
* Add configuration of the SSC lines for second SSC.imp2006-10-201-0/+2
|
* Add mmcbr_if.m and mmcbus_if.m to the mix.imp2006-10-201-1/+2
|
* Loadable modules for mmc (the bus) amd mmcsd (the MMC and SD supportimp2006-10-202-0/+16
| | | | code). A little green, so not yet connected to the build.
* MMC/SD bridge driver (host adapter) for AT91RM9200's MCI interface.imp2006-10-202-0/+853
| | | | | | This interface also appears in the AT91SAM9260 and '61 as well as the AVR32 based micros from Atmel. We don't yet support write protect or hot-swap in this bridge driver.
* Preliminary MMC stack. This stack supports SD 1.0 cards only, butimp2006-10-209-0/+1698
| | | | | | should be easily adapted to SD 2.0 (aka SDHC), SDIO, MMC and MMCplus cards. At the present time, there's only one bridge driver for the ARM9 based Atmel AT91RM9200.
* - Define time_t in sys/sem.h so it doesn't require sys/types.h.jhb2006-10-191-14/+17
| | | | | | | | | | | | - Move the pid_t, size_t, and time_t definitions earlier in the file, sort them, and fix whitespace. - Drop redundant includes of sys/cdefs.h and sys/_types.h as sys/ipc.h already includes them. PR: kern/104436 Reviewed by: bde Reported by: clsung MFC after: 3 days
* style(9)obrien2006-10-191-153/+153
|
* style(9) cleanup.obrien2006-10-191-243/+332
|
* There is no reason to have a PAGE_SIZE alignment enforced on all DMA by thescottl2006-10-191-1/+1
| | | | parent tag.
* I can't find any reason why an 8 byte alignment should be enforced on rxscottl2006-10-191-3/+3
| | | | | and tx buffers. Fix it there, and also don't have it be overridden by the parent tag.
OpenPOWER on IntegriCloud