summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove bogus usage of INTR_FAST. "Fast" interrupts are now indicated byjhb2011-01-069-12/+12
| | | | | registering a filter handler rather than a threaded handler. Also remove a bogus use of INTR_MPSAFE for a filter.
* Make this work on big endian MIPS, while not breaking it for smallimp2011-01-061-7/+3
| | | | | endian mips. This will also make it work automatically on all future big endian platforms.
* No need to genreate these hereimp2011-01-062-12/+2
|
* - Add a proper return value to mv_gpio_intr().jhb2011-01-061-4/+5
| | | | - Remove an obsolete use of INTR_FAST.
* Remove an unnecessary INTR_MPSAFE and a comment suggesting it wasjhb2011-01-061-3/+1
| | | | unnecessary.
* Help static analysis by initializing variables that we know cannot bemarcel2011-01-062-0/+2
| | | | used uninitialized, but which cannot be inferred from the code itself.
* Delete the NFS_STARTWRITE() and NFS_ENDWRITE() macros thatrmacklem2011-01-062-9/+2
| | | | | | | | obscured vn_start_write() and vn_finished_write() for the old OpenBSD port, since most uses have been replaced by the correct calls. MFC after: 12 days
* Remove unused variables. Spotted by a cppcheckandreast2011-01-066-15/+0
| | | | | | (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor)
* tests: sort & fix includes, remove -include from CFLAGS of acct testskeramida2011-01-063-15/+19
| | | | | | | | | | | | | | | - Sort the includes of pack.c, moving sys/*.h files near the top. - Add a couple of missing #include lines, and remove the need for custom -include options in the CFLAGS of the test Makefile. - Remove the ad-hoc 'all' target, but keep its 'regress' bits for testing. - Convert the ad-hoc 'clean' target to proper CLEANFILES stuff, so that the normal bsd.prog.mk machinery can clean up. - Use `make -V .OBJDIR' to detect the place where 'pack' lives, so that regress.t works both with and without 'make obj'. Reviewed by: uqs MFC after: 1 week
* Since the VFS_LOCK_GIANT() code in the experimental NFSrmacklem2011-01-065-171/+54
| | | | | | | | | server is broken and the major file systems are now all mpsafe, modify the server so that it will only export mpsafe file systems. This was discussed on freebsd-fs@ and removes a fair bit of crufty code. MFC after: 12 days
* - Use macbstart_locked() directly instead of deferring it to a task.jhb2011-01-061-16/+14
| | | | | | | - Expand locking scope in interrupt handler. - Flesh out the detach routine. Reviewed by: cognet
* Support the Uniform Industrial Corp (UIC) MSR206 Magnetic Card Reader.gavin2011-01-062-0/+2
| | | | MFC after: 1 week
* Remove an unused variable accidentally added in r216803.marius2011-01-061-1/+0
|
* Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT isnwhitehorn2011-01-061-1/+1
| | | | built for both architectures. We need a better solution here.
* Get rid of bad advice regarding /* NOTREACHED */. Compilers don'ttrasz2011-01-061-4/+0
| | | | | really need it (one can use __dead2 instead), and style(9) was not even consistent with itself in this regard.
* Return 0 instead of garbage value.davidxu2011-01-061-2/+1
| | | | Found by: clang static analyzer
* - Show textual representation of ioctl command in warning messagestas2011-01-061-2/+7
| | | | | | | if ioctl(4) is failed besides the command number. Suggested by: delphij MFC after: 2 weeks
* Import support for the Sony Playstation 3 using the OtherOS featurenwhitehorn2011-01-0636-1/+7432
| | | | | | | | | | | | available on firmwares 3.15 and earlier. Caveats: Support for the internal SATA controller is currently missing, as is support for framebuffer resolutions other than 720x480. These deficiencies will be remedied soon. Special thanks to Peter Grehan for providing the hardware that made this port possible, and thanks to Geoff Levand of Sony Computer Entertainment for advice on the LV1 hypervisor.
* Fix a whitespace nit.lstewart2011-01-061-1/+1
| | | | | MFC after: 1 week X-MFC with: r216995
* Add an entry to the gpart XML to determine if the geom has pending changesnwhitehorn2011-01-061-0/+2
| | | | | | that need to be committed (or undone). MFC after: 2 weeks
* Remove leftover for r214093.davidxu2011-01-061-9/+0
|
* Remove support for SKYEYE simulatorimp2011-01-055-52/+0
|
* sh: Do not call exitshell() from evalcommand() unless evalcommand() forkedjilles2011-01-052-4/+22
| | | | | | itself. This ensures that certain traps caused by builtins are executed.
* Update firmware to more recent versions.mjacob2011-01-053-54738/+56691
| | | | MFC after: 3 months
* On i386 and amd64, consistently use the following options whenever wedim2011-01-056-6/+6
| | | | | | want to avoid using any "advanced" CPU features: -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
* Remove ancient simulation code. Skyeye simulation never really workedimp2011-01-052-90/+0
| | | | | | | | quite right and hasn't been used in ages and is likely broken. QEMU with GUMSTIX is a more promising road to FreeBSD/arm in emulation anyway. Reviewed by: cognet@
* Remove an empty .if/.endif pair from sys/boot/ficl/Makefile that Idim2011-01-051-2/+0
| | | | forgot to cleanup in the last commit.
* In lib/libstand, sys/boot/ficl and sys/boot/zfs, -mno-sse3 should alsodim2011-01-053-10/+3
| | | | be used for amd64, not just for i386.
* Remove superfluous -mno-(mmx|3dnow|sse|sse2|sse3) flags in Makefilesdim2011-01-055-5/+0
| | | | | | | under sys/boot/{i386,pc98}, since these are already added via sys/boot/{i386,pc98}/Makefile.inc. Submitted by: arundel
* Fix null string handling in ofw_real_nextprop function. Pass the rightandreast2011-01-051-4/+10
| | | | | | | | length to ofw_real_map in case of a null string. This makes ofwdump(8) work correctly when trying to print all properties with ofwdump -p. Approved by: nwhitehorn (mentor)
* Sort -mno-(mmx|3dnow|sse|sse2|sse3) options consistently throughout thedim2011-01-053-3/+3
| | | | | | tree. Submitted by: arundel
* Fix typo: March -> September.osa2011-01-051-1/+1
|
* Modify the experimental NFS server so that it callsrmacklem2011-01-051-7/+8
| | | | | | | | | | | vn_start_write() with a non-NULL vp. That way it will find the correct mount point mp and use that mp for the subsequent vn_finished_write() call. Also, it should fail without crashing if the mount point is being forced dismounted because vn_start_write() will set the mp NULL via VOP_GETWRITEMOUNT(). Reviewed by: kib MFC after: 12 days
* Fix the experimental NFS server to use vfs_busyfs() insteadrmacklem2011-01-051-6/+5
| | | | | | | | | of vfs_getvfs() so that the mount point is busied for the VFS_FHTOVP() call. This is analagous to r185432 for the regular NFS server. Reviewed by: kib MFC after: 12 days
* The camcontrol smppc option to clear a PHY error log is 'clearerrlog',ken2011-01-051-1/+1
| | | | not 'clearerrorlog'.
* Teach ifconfig(8) the handy shared option shortcut aliases the NetBSDmarius2011-01-052-1/+18
| | | | | | | | counterpart also takes, i.e. "fdx" for "full-duplex", "flow" for "flowcontrol", "hdx" for "half-duplex" as well as "loop" and "loopback" for "hw-loopback". MFC after: 1 week
* Fix whitespace.marius2011-01-051-37/+35
| | | | MFC after: 1 week
* Remove a redundant variable assignment found with the clang static analyzer.marius2011-01-051-1/+1
| | | | MFC after: 1 week
* Add a man page for the Object Specific Data (OSD) KPI.lstewart2011-01-052-0/+391
| | | | | | | | | | Although not directly related the FreeBSD Foundation funded "Five New TCP Congestion Control Algorithms for FreeBSD" project, the understanding and inspiration required to write this documentation was significantly bolstered by the Foundation's support. Reviewed by: pjd MFC after: 1 week
* Fix page fault that occurred when trying to initialize preloaded kernel module,trasz2011-01-051-3/+11
| | | | | | | | | | | | | | the dependency of which was preloaded, but failed to initialize. Previously, kernel dereferenced NULL pointer returned by modlist_lookup2(); now, when this happens, we unload the dependent module. Since the depended_files list is sorted in dependency order, this properly propagates, unloading modules that depend on failed ones. From the user point of view, this prevents the kernel from panicing when trying to boot kernel compiled without KDTRACE_HOOKS with dtraceall_load="YES" in /boot/loader.conf. Reviewed by: kib
* Glen Barber is co-mentored by me and jkois, so add anotherkeramida2011-01-051-0/+1
| | | | relationship edge to the committer graph to show this.
* Add gjb to the doc committer graph, as my current mentee.keramida2011-01-051-0/+3
|
* Fix typo in default config file.jpaetzel2011-01-041-1/+1
| | | | | Approved by: Warner Losh <imp@FreeBSD.org> MFC after: 3 days
* Update committers-doc.dot, noving doc committer alumni into the alumnigavin2011-01-041-12/+14
| | | | | | | | | | section and recording the date these commit bits were returned. Also, sort the remaining entries, and add a node for mheinen, who is already referenced within the mentor relationships. Other doc committers are encouraged to add themselves, and any mentor/mentee relationships. The current rendered output is available at http://people.freebsd.org/~gavin/comm-doc.png
* On amd64 and i386, tell the compiler to refrain from generating SSE,dim2011-01-042-0/+2
| | | | | | | | | | | | | | | | 3DNow, MMX and floating point instructions in rtld-elf. Otherwise, _rtld_bind() (and whatever it calls) could possibly clobber function arguments that are passed in SSE/3DNow/MMX/FP registers, usually floating point values. This can happen, for example, when clang generates SSE code for memset() or memcpy() calls. One symptom of this is sshd dying early on amd64 with "PRNG not seeded", which is ultimately caused by libcrypto.so.6 calling RAND_add() with a double parameter. That parameter is passed via %xmm0, which gets wiped out by an SSE memset() in _rtld_bind(). Reviewed by: kib, kan
* Remove '-elf' from build flags for libexec/rtld-elf for amd64 and i386.dim2011-01-042-4/+0
| | | | ELF has been the default format for almost 12 years now.
* Limit hardware bug workaround to controllers that have 4GB boundaryyongari2011-01-041-1/+4
| | | | | | | bug instead of blindly applying it to all controllers. Pointed out by: marius MFC after: 3 days
* Correct an 8-year-old typo which reliably leads to typo after typo today:jmallett2011-01-041-42/+43
| | | | | | | | | | | | | | | | | | | The macros here for generating coprocessor 0 accessors are named like: MIPS_RDRW32_COP0 That macro would produce mips_rd_<register>() and mips_wr_<register>() inlines to access the specified register by name from C. The problem is that the R and the W were swapped in the macros originally; it was meant to be named RDWR because it generated mips_rd_* and mips_wr_* functions, but was instead spelled RDRW, which nobody should be expected to get right by anything other than copy and paste. It's too many consonants in a row to keep straight anyway, so just prefer e.g.: MIPS_RW32_COP0 While here, add a missing #undef.
* OLDCARD is long gone.bschmidt2011-01-041-19/+1
| | | | Discussed with: imp
* Partially revert change made in r212061. r212061 relied onyongari2011-01-041-1/+8
| | | | | | | | | | | | | | | bus_dma(9)'s capability which honors boundary restrictions of DMA tag for dynamic buffers. However it seems this does not work well and it triggered watchodg timeouts on controller that has the hardware bug. It's not clear whether there is still another hardware bug not mentioned in errata. This should be revisited since this change shall make use of bounce buffers which in turn reduces performance a lot on systems that have more than 4GB memory. Reported by: Michael L. Squires (mikes <> siralan dot org) Tested by: Michael L. Squires (mikes <> siralan dot org) MFC after: 3 days
OpenPOWER on IntegriCloud