summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove some spurious debugging, and use more complete error handling forscottl2006-10-191-10/+20
| | | | tx load and fragmentation problems.
* Add missing acpi_wakecode.o: assym.s dependency, so that if assym.sru2006-10-191-1/+1
| | | | | | is newer than acpi_wakecode.h, the latter is rebuilt. Reported by: bde
* tweak comments about OLDCARD workaroundsimp2006-10-191-2/+1
|
* tweak commentimp2006-10-191-1/+2
|
* Remove references to pccard.confimp2006-10-193-5/+5
|
* Use a different task queue for host controller and peripheral driveriedowse2006-10-198-39/+74
| | | | | | | | | | | | tasks. Since the host controllers rely on tasks to process transfer timeouts, if a synchronous transfer from a driver was invoked from a task and timed out, it would never complete because the single task thread was stuck performing the synchronous transfer so couldn't process the timeout. This affected the axe, udav and ural drivers. Problem hardware provided by: guido
* Fix previous revision:marcel2006-10-191-2/+2
| | | | | | o day and mday are the same. No need to subtract 1 from mday. o Set dow to -1 as clock_ct_to_ts() checks this field and returns EINVAL on any day of the week but Sunday.
* Fix remaining compile error.grehan2006-10-182-2/+2
|
* Properly lock the vnode around vgone() calls.kib2006-10-184-25/+113
| | | | | | | | | | | Unlock the vnode in devfs_close() while calling into the driver d_close() routine. devfs_revoke() changes by: ups Reviewed and bugfixes by: tegge Tested by: mbr, Peter Holm Approved by: pjd (mentor) MFC after: 1 week
* Check pointer before dereferencing.glebius2006-10-181-1/+2
| | | | | Reported by: Coverity CID: 1556
* kern_intr.c:bde2006-10-182-3/+3
| | | | | | | | | | | | | | | | | | | | | | - Count (scheduling of) software interrupts (SWIs) as SWIs, not as hardware interrupts. - Don't count (scheduling of) delayed SWIs as interrupts at all, since in the delayed case it is expected that there are many more scheduling calls than handling calls. Perhaps all interrupts should be counted only when they are handled, but it is only counts of delayed SWIs that shouldn never be combined with the other counts. subr_trap.c: - Count (handling of) Asynchronous System Traps (ASTs) as traps, not as software interrupts. Before these changes, the counter for SWIs only counted ASTs, and SWIs weren't counted separately, but a subcounter for ASTs alone is less needed than for most other exception sources. 4.4BSD-Lite uses the counters for similar things (actually matching their names) on its main arches (hp300, ..., !i386) where more of the exceptions are in hardware.
OpenPOWER on IntegriCloud