summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure there is a good default thread name for all threads.julian2007-11-142-0/+2
|
* Apply the same sort of locking done injulian2007-11-141-0/+10
| | | | | | | | | | | | | | sys/dev/acpica/acpi.c rev 1.196 a while ago: Grab Giant around calls to DEVICE_SUSPEND/RESUME in acpi_SetSleepState(). If we are resuming non-MPSAFE drivers, they need Giant held for them. This may fix some obscure suspend/resume problems. It has fixed keyrate setting problems that were triggered by cardbus (MPSAFE) changing the ordering for syscons resume (non-MPSAFE). Also, add some asserts that Giant is held in our suspend/resume and shutdown methods. Submitted by: Marko Zec
* Fix picobsd builds. Changes include:luigi2007-11-145-12/+14
| | | | | | | | | | | | | - use proper make configuration for the build, using ${BINMAKE} as evaluated by ${VERSION}/src/Makefile - remove -lmytinfo from crunch.conf - remove support for login_access in tinyware/login - remove "machine i386" from the kernel config file It might actually be interesting to extend the script to do a cross build for !i386 ... MFC after: 3 days
* Reserve a bit for use when capturing callchains.jkoshy2007-11-141-0/+1
|
* Drastically simplify the i386 pcpu backend by merging parts of thepeter2007-11-135-141/+25
| | | | | | | | | | | | | | | | | | amd64 mechanism over. Instead of page table hackery that isn't actually needed, just use 'struct pcpu __pcpu[MAXCPU]' for backing like all the other platforms do. Get rid of 'struct privatespace' and a while mess of #ifdef SMP garbage that set it up. As a bonus, this returns the 4MB of KVA that we stole to implement it the old way. This also allows you to read the pcpu data for each cpu when reading a minidump. Background information: Originally, pcpu stuff was implemented as having per-cpu page tables and magic to make different data structures appear at the same actual address. In order to share page tables, we switched to using the GDT and %fs/%gs to access it. But we still did the evil magic to set it up for the old way. The "idle stacks" are not used for the idle process anymore and are just used for a few functions during bootup, then ignored. (excercise for reader: free these afterwards).
* Sort.ru2007-11-131-8/+8
|
* o Do not leak inodes hash table at module unload.maxim2007-11-131-0/+1
| | | | | | PR: kern/118017 Submitted by: Ighighi MFC after: 1 week
* Add instructions about how to upgrade less in base systemdelphij2007-11-131-0/+24
|
* Xref wpi(4).brueffer2007-11-133-0/+4
|
* Cleanup, mostly typo fixes.brueffer2007-11-131-6/+8
|
* Document hardware wpi(4) supports.brueffer2007-11-131-0/+3
|
* Remove the IEEE80211_C_WEP capability flag - setting it makes net80211 expectrink2007-11-131-2/+1
| | | | | | | | | | | | that the driver will handle WEP encryption. However, this does not seem to be implemented by this driver (or maybe the chipset doesn't support it?) Removing the flag makes my wpi card work using wpa_supplicant(8) on a network with 802.1x security (without this change it authenticated fine, but tcpdump only saw garbage packets) Reviewed by: benjsc, imp (mentor) Approved by: imp (mentor), sam
* Split decr_init() into two, with the section that reads the timebasegrehan2007-11-135-8/+27
| | | | | | | | | | | | frequency from OpenFirmware moved out and into a routine that is called from cpu_startup(). This allows correct reporting of the CPU clockspeed when printing out CPU information at boot time. Reported by: numerous Reviewed by: marcel MFC after: 1 day
* - Steal short description from POSIX; it's more technical and wasru2007-11-131-4/+4
| | | | | easier to translate. - Fix some markup nits.
* Assorted tiny mdoc(7) fixes:ru2007-11-131-10/+10
| | | | | | - Sort sections. - Fix xrefs. - Fix some misusages of some macros.
* Sort.ru2007-11-131-1/+1
|
* In sys/netipsec/keysock.c rev. 1.19 a missing priv check was added.bz2007-11-134-0/+93
| | | | | | | Before that non-su users were able to open pfkey sockets as well. Add a regression test so we can detect such problems in an automated way in the future.
* Include agpreg.h from it's new location.jb2007-11-131-1/+1
|
* Though we are currently not interested in the EDD3 flag,bz2007-11-121-1/+1
| | | | | | | Enhanced Disk Drive Specification Ver 3.0 defines that the version of extension in AH would be 30h. Correct the check for that to be >=30h instead of >3h. MFC after: 2 months
* Add a missing priv check in key_attach to prevent non-su usersbz2007-11-121-0/+7
| | | | | | | | | | | | from messing with the spdb and sadb. Problem sneaked in with the fast_ipsec+v6->ipsec merger by no longer going via raw_usrreqs.pr_attach. Reported by: Pawel Worach Identified by: rwatson Reviewed by: rwatson MFC after: 3 days
* Move the agp(4) driver from sys/pci to sys/dev/agp. __FreeBSD_version wasjhb2007-11-1236-5942/+59
| | | | | | | | | bumped to 800004 to note the change though userland apps should not be affected since they use <sys/agpio.h> rather than the headers in sys/dev/agp. Discussed with: anholt Repocopy by: simon
* write(1) needs to strip off the leading /dev/ from the tty name for thejhb2007-11-121-3/+2
| | | | | | | | | | | | | current tty as returned from ttyname(3) so it can try to avoid writing to the current tty if possible. Previously, it did this by trimming off any leading directory (effectively performing a basename(3) on the path returned from ttyname(3)). However, this chopped off too much of the path for ttys who have directories in their name such as pts(4). Instead, just strip off the leading /dev/ from the path returned by ttyname(3). This fixes write(1) when using pts(4). MFC after: 1 week Reported by: rwatson
* Some cleanup.brueffer2007-11-121-11/+13
|
* Correct a stack overflow which will trigger panics whendelphij2007-11-121-1/+1
| | | | | | | | mode= is specified, caused by incorrect format string specified to vfs_scanopt() and subsequently vsscanf(). Pointed out by: kib Submitted by: des
* Manual page for the asmc driver.rpaulo2007-11-122-0/+156
| | | | Approved by: njl (mentor)
* - Fix the ktr header regexp so we match lines with very large indexes.jeff2007-11-121-4/+19
| | | | | - Add support for messages where cpu load is added to a remote cpu. - print unmatched lines to stdout
* Add support for D-Link DGE-528(T) Rev.B1remko2007-11-121-0/+2
| | | | | | | PR: 112774 Submitted by: Denis Fortin <fortin at acm dot org> Approved by: imp (mentor), yongari MFC After: 3 days
* Add support for "freebsd-update -r newrelease upgrade" -- binarycperciva2007-11-124-66/+888
| | | | | | | | | | | | | | | | | | | upgrading to new releases. Important parts of this code include * automatically determining which optional components (e.g., src, info, proflibs) are installed. * merging changes in files which are modified locally and have changed between the currently running and new release. * prompting the user to rebuild all 3rd party software before deleting old shared libraries. Yes, this is compatible with "freebsd-update rollback" -- you can test a new -BETA and roll back to the old release if you don't like it. Subject to re@ approval, this will be MFCed before 7.0-BETA3 and 6.3-RC1. MFC after: 2 days
* Update quirks for the MetaGeek Wi-Spy 1A, 1B and 2.4x.brix2007-11-112-4/+7
| | | | | PR: usb/116057 Approved by: imp, erwin (mentor)
* More cleanup.brueffer2007-11-111-12/+14
|
* sendmail 8.14.2 has been merged to RELENG_[7654].gshapiro2007-11-111-1/+1
|
* The ESP driver isn't really MPSAFE, so don't mark it that it is.scottl2007-11-111-1/+1
|
* Adjust the padding of struct pcpu to src/sys/sys/pcpu.h rev 1.23.marius2007-11-111-1/+1
|
* Forced commit to note that the previous change was...keramida2007-11-110-0/+0
| | | | Reviewed by: ceri
* * Expand the example descriptions, fix mdoc-bugs inkeramida2007-11-111-9/+20
| | | | | | "(-a and -t vnode are implied)" and reuse it near the cd9660 example. * Spell 'backing store' as two words.
* Update pf examples from OpenBSD to catch up with new stateful defaults andmlaier2007-11-1112-173/+122
| | | | other syntax changes. Move pf.conf from /etc to examples, too.
* Fix segfault while running with -a option and deinstalling brokenkrion2007-11-101-1/+1
| | | | | | | | packages with incorrect plists. PR: bin/115327 Submitted by: Michael Zhilin <mizhka@gmail.com> MFC after: 3 days
* spaces are preferred to tabssam2007-11-101-4/+4
| | | | Noted by: simon
* install hostapd.conf and related files for folks that don't have sourcesam2007-11-101-0/+5
| | | | MFC after: 1 week
* fix building w/ WITHOUT_WPA_SUPPLICANT_EAPOLsam2007-11-101-8/+19
| | | | MFC after: 1 week
* install sample wpa_supplicant.conf; not everyone has source to referencesam2007-11-101-1/+5
|
* add wpa_supplicant + hostapd directories to examplessam2007-11-101-0/+4
| | | | MFC after: 1 week
* Eliminate a stale comment concerning contigmalloc(9).alc2007-11-101-1/+0
|
* Add SMB support for the MCP61 chipset.remko2007-11-101-0/+3
| | | | | | PR: 108830 Submitted by: Edwin Mons <freebsd at edwinm dot ik dot nu> Approbed by: imp (mentor)
* Hook up rmlock(9) and its links to the build.rwatson2007-11-101-0/+9
|
* Add private tx/rx buffer management to support large frame sizessam2007-11-102-110/+224
| | | | | | | | | | | | | | | | | and update the rx code to handle multiple frames in a single usb transfer. AX772 parts (at least) exhibit many input errors when operated with a 2K rx buffer and no errors w/ a 4K rx buffer (it's unclear what the cause of the errors is for 2K so this may just be covering up the real issue). Larger rx buffer sizes show no significant performance improvement for AX772. Bypassing the common buffer management routines also eliminates an extra context switch on every packet which noticeably improves performance (TCP netperf rx goes from 45 Mb/s to 85 MB/s). Submitted by: "J.R. Oldroyd" <fbsd@opal.com> Reviewed by: imp Obtained from: openbsd (partly) MFC after: 3 weeks
* Add rm_wowned(9) function to test whether the current thread owns anrwatson2007-11-103-2/+16
| | | | | | exclusive lock on the passed rmlock. Reviewed by: ups
* Some code cleanups, including removing of stale getopt argument andkrion2007-11-105-32/+26
| | | | | | | | hardcoded +CONTENTS defines. PR: bin/117855 Submitted by: Beat Gaetzi <beat@chruetertee.ch> MFC after: 14 days
* Add -i option for package installation without fetching andkrion2007-11-104-4/+16
| | | | | | | | installing its dependencies. PR: bin/117065 Submitted by: Vladimir Ermakov <samflanker@gmail.com> MFC after: 14 days
* Clean up the rmlock(9) manual page:hmp2007-11-101-24/+43
| | | | | | | | | | * Correct spelling and grammar * Re-structure sentences in BUGS section for legibility * Break long lines appropriately * Break lines at full stops * Add mdoc(9) commands where applicable * Remove superfluous .Ft in the SYNOPSIS section * Various other mdoc(9) fixes
OpenPOWER on IntegriCloud