summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Logical OR the following flags into the va_mode field:rodrigc2006-06-101-9/+3
| | | | | | | | | S_IFDIR when making a directory S_IFLNK when making a symbolic link S_IFIFO when making a pipe xfs_ialloc() checks this field for these flags when figuring out whether to make a directory, make a symbolic link or make a pipe.
* Move the new flags field to the end of the structure to maintainiedowse2006-06-101-1/+1
| | | | | | ABI compatibility. Suggested by: mlaier (and forgotten by me)
* Call g_vfs_close() if:rodrigc2006-06-101-2/+35
| | | | | (1) _xfs_mount() fails (2) at the end of _xfs_unmount()
* Do not call vput() after we call VOP_UNLOCK().rodrigc2006-06-101-1/+1
|
* Hold on to firmware images until the interface detaches sinceiedowse2006-06-102-5/+17
| | | | | | | | | firmware_get() will not work while resuming. Note that we can't simply drop the FIRMWARE_UNLOAD flag, because that will result in a firmware image that can never be unloaded by the user since the firmware subsystem will hold a linker reference to it (it's not clear that firmware_put() without FIRMWARE_UNLOAD ever does quite what you'd want).
* Keep firmware images on the list until they have been unregisterediedowse2006-06-102-19/+39
| | | | | | | | | | | | | with firmware_unregister(). Previously when the last driver reference had been dropped we would clear the list entry under the assumption that the firmware module was about to be unloaded, but this was not true if the firmware image had been loaded manually with kldload. This makes it possible to manually kldload firmware images as a workaround for drivers such as ipw that attempt to load firmware while resuming after a suspend. Reviewed by: mlaier (an earlier version of the patch)
* Be explicit about which chips support jumbo frames.brueffer2006-06-101-1/+2
| | | | | | Suggested by: Brad Smith Obtained from: OpenBSD MFC after: 3 days
* New release notes: i386 boot loader corruption fix, my(4) ALTQbmah2006-06-102-8/+40
| | | | | | | | support, geli(8) data authentication and option flag change, MFCs noted: du(1) -n, getent(1). Updated release notes: OpenBSM 1.0a6, new manpage (device_get_sysctl(9)).
* Move some functions and definitions from uipc_socket2.c to uipc_socket.c:rwatson2006-06-1012-322/+172
| | | | | | | | | | | | | | | | | | | | | | | | - Move sonewconn(), which creates new sockets for incoming connections on listen sockets, so that all socket allocate code is together in uipc_socket.c. - Move 'maxsockets' and associated sysctls to uipc_socket.c with the socket allocation code. - Move kern.ipc sysctl node to uipc_socket.c, add a SYSCTL_DECL() for it to sysctl.h and remove lots of scattered implementations in various IPC modules. - Sort sodealloc() after soalloc() in uipc_socket.c for dependency order reasons. Statisticize soalloc() and sodealloc() as they are now required only in uipc_socket.c, and are internal to the socket implementation. After this change, socket allocation and deallocation is entirely centralized in one file, and uipc_socket2.c consists entirely of socket buffer manipulation and default protocol switch functions. MFC after: 1 month
* Fix a typo s/Made/Make. Use .Pp for a line break, it will quiet thetrhodes2006-06-101-2/+2
| | | | mdoc(7) warning.
* * Ask for a page-aligned page instead of an arbitrary address. This shouldnjl2006-06-101-15/+30
| | | | | | | | not be necessary but might be helpful and at least reduce fragmentation. * Add an assert to detect if the wakecode ever grows too big. We include 1 KB for stack, which should be more than enough also. * Remove unnecessary initialization of static variables. * Add comments and a bootverbose print giving the page phys address.
* Minor tweaks to the resume code. Previous commit reverted alignment backnjl2006-06-101-41/+50
| | | | | | | | | | | | to 4. There is no need to be more strict at assembly time since we copy the code anyway to a private page. * Clear the direction flag and eflags. Probably not necessary but it won't hurt to be safe. * Add prefixes to all instructions to prevent any assembler mistakes. * Remove zeroing of eax - edi. We use those registers immediately after to transfer values to protected mode so this was pointless. * Update comments to reflect info found during code review.
* Move the reset beep tunable/sysctl to debug.acpi.resume_beep. This makesnjl2006-06-103-9/+17
| | | | more sense than under hw.acpi. Also, document this in the man page.
* Minor sysctl cleanup. The RW flag means read|write and so it is redundantnjl2006-06-103-10/+8
| | | | to add the RD flag. Also, the debug node does not need to be writable.
* Enable debug.mpsafevm on arm by default.alc2006-06-101-1/+1
| | | | Tested by: cognet@
* Add a lock assertion. Remove dead (locking) code. Change some whitealc2006-06-101-36/+4
| | | | | | space. Reviewed by: cognet@
* Minor style tweaks while nearby. Namely ANSIfy and parens on return values.jmallett2006-06-101-26/+15
|
* Rather than using specified_ro to parse the options list an extra time, andjmallett2006-06-101-32/+6
| | | | | | keeping a flag to check whether we actually wanted to mount the filesystem readonly, setup the options list so that we start off by assuming rw is what's desired and let later flags change that.
* Add ability to reset individual devices and fix SCSI speed negotiation.jkim2006-06-091-50/+48
| | | | Reviewed by: mjacob (initial version)
* Don't build IPv6 support if we have choosen not to have it.delphij2006-06-091-0/+4
|
* Don't expect that 'device random' will compile in those files into thepjd2006-06-091-0/+3
| | | | | | | kernel for us. If random is compiled as kernel module, geom_bde.ko cannot be loaded. Reported by: Michal Suszko <michal@dry.pl>
* o Fix grammar, format.maxim2006-06-091-3/+3
|
* Document the way to get list of files to process from the stdin.kib2006-06-091-1/+3
| | | | | MFC after: 1 week Approved by: kan (mentor)
* Copy filename read from the stdin into the private buffer. Otherwise,kib2006-06-091-1/+5
| | | | | | | | | next read filename overwrite previous one, resulting in acl being applied only to the last name in the list. Submitted by: Oleg Lomaka <oleg.lomaka at gmail com> MFC after: 1 week Approved by: kan (mentor)
* o Remove a cruft prevented libpthread sigaction(2) wrapper tomaxim2006-06-096-14/+36
| | | | | | | | | | | | | do its work for SIGINFO. Always install libpthread signal handler wrapper for SIGINFO even if user SIG_IGN's or SIG_DFL's it. SIGINFO has a special meaning for libpthread: when LIBPTHREAD_DEBUG enviroment variable defined it is used for dumping an information about threads to /tmp/. Reported by: mi Reviewed by: deischen MFC after: 2 weeks
* o Re-arrange parentheses and fix a conition logic for !do_dns case.maxim2006-06-091-2/+2
| | | | | PR: bin/98625 MFC after: 1 month
* Tweak mfc.pl to generate backout patchsets.flz2006-06-091-9/+20
| | | | Approved by: cperciva (mentor)
* Our glob(3) has all the required features.des2006-06-091-2/+2
| | | | Submitted by: ache
* Revert inadvertant commit of debugging code.des2006-06-091-2/+0
|
* Change %llx to %jx in printf() to eliminate warnings on 64-bit platforms.rodrigc2006-06-091-1/+1
|
* Bring back changes in version 1.3 lost in previous commit.rodrigc2006-06-091-13/+1
|
* Accomodate new files due to latest XFS import.rodrigc2006-06-091-3/+3
|
* Makefile changes to accomodate new XFS import.rodrigc2006-06-091-1/+1
|
* More changes due to latest XFS import.rodrigc2006-06-091-188/+267
| | | | Work done by: Russell Cattelan <cattelan at xfs dot org>
* Sync XFS for FreeBSD tree with newer changes from SGI XFS for Linux tree.rodrigc2006-06-09138-17918/+14817
| | | | | | Improve support for writing to XFS partitions. Work done by: Russell Cattelan <cattelan at xfs dot org>
* Add pmap locking to pmap_extract().alc2006-06-091-4/+8
| | | | Tested by: cognet@
* When deleting empty directories prior to building the release tarballs,cperciva2006-06-091-1/+1
| | | | | | | pass the "-empty" flag to find(1). This change has no effect other than to get rid of a few pages of "rmdir: ...: Directory not empty" error messages. (Note that the "-empty" flag has been supported by find(1) since 4.3-RELEASE.)
* Enable proxy ARP answers on any of the bridged interfaces if proxy recordthompsa2006-06-091-3/+6
| | | | | | | | belongs to another interface within the bridge group. PR: kern/94408 Submitted by: Eygene A. Ryabinkin MFC after: 1 month
* Allow bridge and carp to play nicely together by returning the packet if itsthompsa2006-06-082-3/+17
| | | | | | | destined for a carp interface. Obtained from: OpenBSD MFC after: 2 weeks
* add glue for ath_halsam2006-06-081-0/+11
| | | | MFC after: 1 month
* add powerpc gluesam2006-06-081-0/+2
| | | | MFC after: 1 month
* enable build of ath_hal on sparc64 and powerpcsam2006-06-081-0/+2
| | | | MFC after: 1 month
* Rearrange code in soalloc() so that it's less indented by returningrwatson2006-06-081-13/+13
| | | | | | | early if uma_zalloc() from the socket zone fails. No functional change. MFC after: 1 week
* Update global copyright statement for netatalk, as I claim copyrightrwatson2006-06-081-0/+1
| | | | | | on changes in a number of files in netatalk. MFC after: 1 week
* Lock process when copying fields from process structure so as torwatson2006-06-081-3/+2
| | | | | | | | get a consistent snapshot, as well as get consistent values (i.e., that p_comm is properly nul-terminated). Perforce CID: 98824 Obtained from: TrustedBSD Project
* Prefer C to C++ comments per style(9).rwatson2006-06-081-1/+1
| | | | | Perforce CID: 98826 Obtained from: TrustedBSD Project
* - Merge sys/sparc64/pci/psycho.c rev. 1.8:marius2006-06-081-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | Map the device memory belonging to resources of type SYS_RES_MEMORY into KVA upon activation so that rman_get_virtual() works as expected. - In sbus_alloc_resource() checking whether toffs is 0 as an indication that no applicable child range was found isn't appropriate as it's perfectly valid for the requested SYS_RES_MEMORY resource to start at the beginning of a child range. So check for the RMAN still being NULL instead. - As a minor runtime speed optimization break out of the loop where we search for the applicable child range in sbus_alloc_resource() as soon as it's found. - Let sbus_setup_intr() return ENOMEM rather than 0 if it can't allocate memory for the interrupt clearing info. - Actually do what the comment in sbus_setup_intr() says and disable the respective interrupt while fiddling with it. - Remove some superfluous INTVEC() around inr, which already only contains the interrupt vector, in sbus_setup_intr(). - While here, fix a style(9) bug in sbus_setup_intr() (don't use function calls in initializers). The first two changes are required for a CG6 driver. MFC after: 2 weeks
* Do not copy out the iovec in the 32bit recvmsg call since soreceiveps2006-06-081-24/+0
| | | | | | | calls uiomove directly. Reviewed by: ups MFC after: 1 week
* Log:davidch2006-06-081-13/+27
| | | | | | | | | | - Removed updates to if_ibytes, if_obytes, if_imcasts, and if_omcasts. These should not be handled by the driver. - Add code to handle excessively fragmented mbufs when mapping TX frames. Reviewed by: ps Approved by: ps (mentor) MFC after: 1 week
* Minor tweaks to the resume code that might help people debug.njl2006-06-083-5/+26
| | | | | | | | | | | | | | * Add hw.acpi.resume_beep tunable and sysctl, default to 0. Beeps the PC speaker soon after waking to diagnose whether the wakeup code is even getting run before other drivers possibly hang the system. To stop the beep, cause another beep (i.e. keyboard bell). Submitted by takawata@, I changed the frequency to be lower. * Use 4096 instead of 4 byte alignment. Might be useful although doesn't seem to be necessary. * Remove a useless assignment to acpi_reset_video. It was overwritten by the default sysctl value anyway.
OpenPOWER on IntegriCloud