summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Include forgotten rtl80x9 file for ed.imp2005-10-051-0/+1
|
* - Locking improvements.netchild2005-10-053-22/+47
| | | | | | | | | | | | | | | | | | | | - Don't keep the SPDIF state in the driver private struct since it can be overriden by hand with pciconf(8), query it when needed instead. Regarding the locking I let Ariff explain it himself: ---snip--- About the locking, that is what I'm intended to do since the beginning. The reason I'm not putting that along since my first patchset was because several people especially from amd46 camp reported that it cause lots of LORs, which is weird considering that I've never encounter such in a pretty much strict locking environment (i386). However, since our previous discussion with Pyun YongHyeon about strict locking, I've decided to bring it back for all the affected drivers, not just for es137x. It turns out that the root of the problem was within dsp.c during device open, which has been fixed since dsp.c revision 1.84. ---snip--- Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my>
* Add a comment regarding problems with NForce 2 mainboards and add disablednetchild2005-10-051-0/+5
| | | | | | | | | | | code which may help. People with a ich compatible soundcard which want to help out should change the "#if 1" to a "#if 0" and try if the soundcard still works. Reports about working or not-working soundcards with this change to multimedia@ please. PR: 73987
* Don't use the builtin vaalist for icc.netchild2005-10-051-6/+3
| | | | | Submitted by: Igor Sysoev <is@rambler-co.ru> MFC after: 3 days
* - Don't pollute opt_global.h with DEVICE_POLLING and introduceglebius2005-10-0522-3/+75
| | | | | | | | | opt_device_polling.h - Include opt_device_polling.h into appropriate files. - Embrace with HAVE_KERNEL_OPTION_HEADERS the include in the files that can be compiled as loadable modules. Reviewed by: bde
* - Don't include opt_global.h, it is always included implicitly.glebius2005-10-052-2/+3
| | | | - Include opt_device_polling.h
* Define HAVE_KERNEL_OPTION_HEADERS when building kernel and when buildingglebius2005-10-052-2/+2
| | | | | | | | | | modules along with kernel. After this change it is possible to embrace opt_*.h includes with ifdef HAVE_KERNEL_OPTION_HEADERS. And thus, avoid editing a lot of Makefiles in modules directory each time we introduce a new opt_xxx.h. Requested by: bde
* Add if_ed_rtl80x9.cimp2005-10-051-1/+1
|
* Remove debug that crept in..imp2005-10-051-4/+0
|
* MFp4:imp2005-10-0510-67/+591
| | | | | | | | | | o Add support for Tamarack TC5299J + MII found on SMC 8041TX V.2 and corega PCCCCTXD o Add support for ISA/PCI RTL80[12]9 chips o Improve support for the ax88790 based o minor code movement Submitted by: (#2) David Madole
* Don't set segment registers via ptrace yet. Its not ready.peter2005-10-041-0/+4
|
* When data passed into devctl_notify is NULL, don't print (null). Insteadimp2005-10-041-2/+6
| | | | | | | don't print anything at all. # this fixes a problem that I noticed with devd.pipe not terminating lines # with \n correctly sometimes.
* Remove a never reached RET.cognet2005-10-041-1/+0
|
* strd needs the destination to be double-word aligned, but the pointer passedcognet2005-10-041-6/+0
| | | | | to savectx isn't always, so always use stmia, savectx isn't called enough to need that kind of optimization.
* When bridging is enabled and an ARP request is recieved on a member interface,thompsa2005-10-041-1/+1
| | | | | | | | | | | | | | | | | the arp code will search all local interfaces for a match. This triggers a kernel log if the bridge has been assigned an address. arp: ac:de:48:18:83:3d is using my IP address 192.168.0.142! bridge0: flags=8041<UP,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.142 netmask 0xffffff00 ether ac:de:48:18:83:3d Silence this warning for 6.0 to stop unnecessary bug reports, the code will need to be reworked. Approved by: mlaier (mentor) MFC after: 3 days
* Correct brainfart in SO_BINTIME test.andre2005-10-041-1/+1
| | | | | Pointed out by: nate Pointy hat to: andre
* Make SO_BINTIME timestamps available on raw_ip sockets.andre2005-10-041-1/+1
| | | | Sponsored by: TCP/IP Optimization Fundraise 2005
* Re-order MAC and DAC checks in shmget() in order to give precedence torwatson2005-10-041-2/+4
| | | | | | | | the MAC result, as well as avoid losing the DAC check result when MAC is enabled. MFC after: 3 days Reported by: Patrick LeBlanc <Patrick dot LeBlanc at sparta dot com>
* dump_avail has nothing to do with ARM_USE_SMALL_ALLOC, so move itscognet2005-10-041-1/+1
| | | | declaration out of the #ifdef.
* Use FILEDESC_UNLOCK(fdp) after FILE_UNLOCK(p), not before to avoid LOR.rik2005-10-041-1/+3
| | | | | | | | Slightly discussed on current@. LOR #055 MFC after: 14 days
* Protect PID initializations for statistics by the bpf descriptorcsjp2005-10-041-2/+6
| | | | | | | locks. Also while we are here, protect the bpf descriptor during knlist_remove{add} operations. Discussed with: rwatson
* Update the vnode's access time after an mmap operation on it.dds2005-10-041-0/+12
| | | | | | | | | | | | Before this change a copy operation with cp(1) would not update the file access times. According to the POSIX mmap(2) documentation: the st_atime field of the mapped file may be marked for update at any time between the mmap() call and the corresponding munmap() call. The initial read or write reference to a mapped region shall cause the file's st_atime field to be marked for update if it has not already been marked for update.
* Use the correct object's backing_object_offset while calculating offsets.csjp2005-10-041-1/+4
| | | | | | | | While we are here, add a note that we need to lock the object before walking the backing object list. Pointed out by: alc Discussed with: rwatson
* Remove duplicate entry for DDB.cognet2005-10-042-2/+0
|
* Really detect if DDB is enabled.cognet2005-10-041-1/+4
| | | | Remove kernel.tramp if it exists on make clean.
* Make arm/disassem.c depends on DDBcognet2005-10-041-3/+3
| | | | make arm/in_cksum.c and arm/in_cksum_asm.S depend on INET.
* Fix build when DDB isn't defined.cognet2005-10-041-0/+2
|
* Standard Giant push down operations for the Mandatory Access Control (MAC)csjp2005-10-043-102/+81
| | | | | | | | | | | | | | | | | | | | | | framework. This makes Giant protection around MAC operations which inter- act with VFS conditional, based on the MPSAFE status of the file system. Affected the following syscalls: o __mac_get_fd o __mac_get_file o __mac_get_link o __mac_set_fd o __mac_set_file o __mac_set_link -Drop Giant all together in __mac_set_proc because the mac_cred_mmapped_drop_perms_recurse routine no longer requires it. -Move conditional Giant aquisitions to after label allocation routines. -Move the conditional release of Giant to before label de-allocation routines. Discussed with: rwatson
* Conditionally pickup Giant in mac_cred_mmapped_drop_perms_recurse socsjp2005-10-041-2/+6
| | | | | | | we can drop it all together in __mac_set_proc. Reviewed by: alc Discussed with: rwatson
* Rename net.isr.enable to net.isr.dispatch.rwatson2005-10-041-5/+5
| | | | | | | | No compatibility code is provided, as this will be the production name as of 6.0. MFC after: 3 days Requested by: scottl
* For some utterly bizarre reason, sparc64 coerces PAGE_SIZE to be a longscottl2005-10-041-2/+3
| | | | | | instead of an int. No other FreeBSD architecture does this. Patch over this problem in the lmc driver. While I'm here, correct a mistake with DEVICE_POLLING.
* Oops, left a compile option enabled that should not be enabled.scottl2005-10-041-1/+1
|
* Add missing word to comment.truckman2005-10-041-1/+1
|
* Bring in the good version of this file.cognet2005-10-031-44/+2
|
* Initialize the inode i_flag field in ffs_valloc() to clean up anytruckman2005-10-031-0/+1
| | | | | | | | | | | | | | | | | stale flag bits left over from before the inode was recycled. Without this change, a leftover IN_SPACECOUNTED flag could prevent softdep_freefile() and softdep_releasefile() from incrementing fs_pendinginodes. Because handle_workitem_freefile() unconditionally decrements fs_pendinginodes, a negative value could be reported at file system unmount time with a message like: unmount pending error: blocks 0 files -3 The pending block count in fs_pendingblocks could also be negative for similar reasons. These errors can cause the data returned by statfs() to be slightly incorrect. Some other cleanup code in softdep_releasefile() could also be incorrectly bypassed. MFC after: 3 days
* Use the constants for the syscall names from syscall.h rather thanjhb2005-10-031-3/+4
| | | | hardcoding the numbers for the SYSVIPC syscalls.
* - Use if_printf() and device_printf() and axe lge_unit from the softc.jhb2005-10-032-58/+41
| | | | | | | | - Don't bzero the softc first thing in attach. - Cleanup error handling in attach() to avoid lots of duplication. - Don't initialize the callout handle twice. MFC after: 3 days
* - Use PCIR_BAR().jhb2005-10-031-5/+2
| | | | - Remove unused TXP_PCI_INTLINE and TXP_DEVNAME macros.
* Add dma and aau.cognet2005-10-031-0/+2
|
* Import dummy drivers for the i80321 DMA controller and AAU.cognet2005-10-035-2/+628
| | | | | | The DMA controller driver only knows how to do memory to memory copies, and the AAU driver how to zero a chunk of memory. Use them to process big (>=1KB) copying/zeroing.
* Make mem.c know about the pages allocated with ARM_USE_SMALL_ALLOC.cognet2005-10-031-2/+12
|
* Export the variables needed for the copy/zero API.cognet2005-10-031-0/+5
|
* Make sure the interrupt is masked before processing it, or bad thingscognet2005-10-031-3/+3
| | | | can happen.
* If a thread already tries to allocate a new memory range, wait for itcognet2005-10-031-7/+22
| | | | instead of trying to do the same.
* Provide a dump_avail[] variable, which contains the page ranges to becognet2005-10-033-14/+39
| | | | | | | dumped. For iq31244_machdep.c, attempt to recognize hints provided by the elf trampoline.
* o Move a lot of parameter checking from netisr_poll() toglebius2005-10-031-68/+119
| | | | | | | | | | | | dedicated sysctl handlers. Protect manipulations with poll_mtx. The affected sysctls are: - kern.polling.burst_max - kern.polling.each_burst - kern.polling.user_frac - kern.polling.reg_frac o Use CTLFLAG_RD on MIBs that supposed to be read-only. o u_int32t -> uint32_t o Remove unneeded locking from poll_switch().
* - Provide the kernel l1pt physical address, for userland.cognet2005-10-031-13/+54
| | | | | | | - Use the new API for pmap_copy_page() and pmap_zero_page(). - Just write-back the pages in pmap_qenter(), and invalidate it in pmap_qremove(). - Nuke the cache flushing in pmap_enter_quick(), it's not needed anymore.
* Add a new API to let platform-specific ports provide functions for bigcognet2005-10-034-0/+159
| | | | copy/zeroing.
* Export the virtual and physical address in which the kernel was loaded,cognet2005-10-031-2/+9
| | | | needed for userland when reading kernel dumps.
* Makefile magic for the ELF trampoline.cognet2005-10-031-0/+9
|
OpenPOWER on IntegriCloud