summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* More small whitespace cleanupsscottl2006-10-141-4/+4
|
* Don't copy the bd_chain head pointers into temporary objects, they arescottl2006-10-142-7/+3
| | | | available globally.
* Define an empty C_DIALECT in case of "icc", just in case.ru2006-10-131-0/+1
|
* - Remove include links only when .depend is also removed, so thatru2006-10-132-4/+10
| | | | | | | | | "make depend; make clean; make -n" works. - Preseve kernel's .depend if it already exists and its creation is interrupted. Reported/reviewed by: bde
* Ignore the uart device.jb2006-10-131-0/+1
|
* Remove a nmdm comment which ru@ thinks was no longer required.jb2006-10-131-1/+0
|
* sun4v uses the sparc64 version of this file.jb2006-10-131-292/+0
|
* Wait for thread count to reach zero in destroy_devl() even when no purgetegge2006-10-131-0/+6
| | | | | | | method is defined, to avoid memory being modified after free. Temporarily increase refcount in destroy_devl() to avoid a double free if dev_rel() is called while waiting for thread count to reach zero.
* Replace a rarely used "depuration" with "debugging".ru2006-10-133-3/+3
| | | | | | PR: docs/85127 Submitted by: Gary W. Swearingen (partially) MFC after: 3 days
* Include pcpu.h so that kernel is buildable w/o RWLOCK_NOINLINE optionglebius2006-10-131-0/+1
| | | | and with some code that uses rwlock(9).
* Move the 2 additional #includes down into the #ifndef DEV_ATPIC section.jhb2006-10-131-2/+2
|
* Make net.inet6.ip6.auto_linklocal tunable. Someone may want toume2006-10-131-0/+1
| | | | | | | enable/disable auto_linklocal even in single user mode. Discussed with: re@, gnn@ MFC after: 3 days
* Revert the default value of net.inet6.ip6.auto_linklocal to 1.ume2006-10-131-1/+1
| | | | | | | | If ipv6_enable is not set to "YES", net.inet6.ip6.auto_linklocal is turned to 0 at boot. Discussed with: re@, gnn@ MFC after: 3 days
* Attempt to fix the sun4v tinderbox build (which unhelpfully doesn'tjb2006-10-131-7/+12
| | | | | | report errors -- just warnings). Submitted by: ru@
* Fix result of some mechanical change that I did some time ago, whenglebius2006-10-131-2/+2
| | | | writing this node.
* Remove one of the duplicate 'device nmdm' lines.jb2006-10-131-1/+0
| | | | Noticed in the sun4v tinderbox log.
* Fix console and update to new api.kmacy2006-10-131-25/+23
| | | | | | The style changes are required as a result of the CONSOLE_DRIVER macro. Approved by: rwatson (mentor)
* Fix some whitespacescottl2006-10-131-95/+95
|
* Attempt to fix the GENERIC kernel build which has been failing onjb2006-10-131-0/+2
| | | | tinderbox for a couple of days.
* ipmi_polled_enqueue_request() is already called with the lock held, justjhb2006-10-121-2/+2
| | | | | | | | assert it rather than recursing. Reported by: mjacob Pointy hat: jhb MFC after: 3 days
* - Fix support for ASUS U5F laptop. This laptop (and possibly others)ariff2006-10-121-3/+23
| | | | | | | | need a special inverted EAPD quirk. - Add "eapdinv" config for future testing purposes. Tested by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> #freebsd-azalia @ irc.freenode.net
* Fix nodevice atpic compile.jhb2006-10-122-1/+8
| | | | Pointy hat to: jhb
* This won't be needed. There is already userland infrastructure for fpu emulationkmacy2006-10-121-191/+0
| | | | for sparc64.
* The T2000 has multiple PCI domains requiring bus allocation to be done ↵kmacy2006-10-122-0/+11
| | | | | | | | differently. This pulls in changes by jmg from perforce and makes them sun4v only for now. Approved by: scottl (acting as backup for mentor rwatson)
* sun4v requires TSBs (translation storage buffers) to be contiguous and bekmacy2006-10-121-4/+6
| | | | | | | | size aligned requiring heavy usage of vm_page_alloc_contig This change makes vm_page_alloc_contig SMP safe Approved by: scottl (acting as backup for mentor rwatson)
* Fix support for IBM/Lenovo Thinkcentre M52 series. Its vendorid / 0x1014ariff2006-10-121-16/+44
| | | | | | accidentally match with HP vendorid / 0x103c. Reported by: Robert Noland <rnoland@2hip.net>
* Remove redundant casts. The casts inside the macros should beimp2006-10-121-4/+4
| | | | sufficient (or fixed if not).
* Spell proc/sys/kernel/pid_max correctly in a comment.keramida2006-10-111-1/+1
| | | | Submitted by: rdivacky
* Recognize 802.1q frames in Ethernet input and process them.glebius2006-10-111-1/+29
| | | | | PR: kern/101162 Submitted by: CoolDavid (Tseng Guo-Fu) <cooldavid cdpa.nsysu.edu.tw>
* Improve ktr(4) logging for callout(9) subsystem. Log all inserts andglebius2006-10-111-7/+23
| | | | | | | | | removals, including failures, into the callwheel. XXX: Most of the CTR() macros are called with callout_lock spin mutex held, thus won't be logged into file, if KTR_ALQ is used. Moving the CTR() macros out from the spinlocked code would require copying of all arguments. I'm too lazy to do this.
* Do not leak hooks in ng_bypass().glebius2006-10-111-0/+3
| | | | Submitted by: Alexander Motin <mav alkar.net>
* Make it buildable.glebius2006-10-111-1/+1
|
* Unbreak a short one.glebius2006-10-111-2/+1
| | | | Submitted by: maxim
* Break long line.glebius2006-10-111-1/+2
|
* Use hash functions with better distribution. Tested on live traffic.glebius2006-10-111-12/+12
| | | | Submitted by: Alexander Motin <mav alkar.net>
* o Do not do args->f_id.addr_type == 6 when there ismaxim2006-10-111-2/+2
| | | | IS_IP6_FLOW_ID() exactly for that.
* o Kill a nit in the comment.maxim2006-10-111-1/+1
|
* o Extend not very informative ipfw(4) message 'drop session, too manymaxim2006-10-111-2/+32
| | | | | | | | | entries' by src:port and dst:port pairs. IPv6 part is non-functional as ``limit'' does not support IPv6 flows. PR: kern/103967 Submitted by: based on Bruce Campbell patch MFC after: 1 month
* Use bitcount32() from sys/systm.h instead of my own.glebius2006-10-111-17/+4
|
* - Update the baudrate every time the parent changes its link state.glebius2006-10-111-3/+4
| | | | | - Rearrange the curly braces so that this piece of code is more readable.
* Merge the rest of my changes.ru2006-10-111-13/+26
|
* Fix CPU value.ru2006-10-111-1/+1
|
* Using the ptr defines broke the powerpc build - convert set_mmfsa to the samekmacy2006-10-111-2/+2
| | | | convention as the rest of openfirm.c
* Change the x86 interrupt code to suspend/resume interrupt controllersjhb2006-10-1015-98/+224
| | | | | | | | | | | | | | | | | | (PICs) rather than interrupt sources. This allows interrupt controllers with no interrupt pics (such as the 8259As when APIC is in use) to participate in suspend/resume. - Always register the 8259A PICs even if we don't use any of their pins. - Explicitly reset the 8259As on resume on amd64 if 'device atpic' isn't included. - Add a "dummy" PIC for the local APIC on the BSP to reset the local APIC on resume. This gets suspend/resume working with APIC on UP systems. SMP still needs more work to bring the APs back to life. The MFC after is tentative. Tested by: anholt (i386) Submitted by: Andrea Bittau <a.bittau at cs.ucl.ac.uk> (3) MFC after: 1 week
* Don't pass unused bufsz to kern_shmctl().jhb2006-10-101-7/+6
|
* Only try to copyin a msqid for the IPC_SET command to msgctl(). Otherjhb2006-10-101-5/+6
| | | | | | commands (such as IPC_RMID) were bogusly failing with EFAULT. Tested by: jkim
* Remove unnecessary casts before PTRIN().jhb2006-10-101-11/+11
|
* Oops, fix sign bug in #ifdef for value of INTRCNT_COUNT.jhb2006-10-102-4/+4
| | | | | | PR: kern/99870 Submitted by: jkim MFC after: 3 days
* Distinguish between two distinct kinds of errors from VOP_BMAP() inalc2006-10-101-2/+12
| | | | | | | | | | | | vnode_pager_generic_getpages(): (1) that VOP_BMAP() is unsupported by the underlying file system and (2) an error in performing the VOP_BMAP(). Previously, vnode_pager_generic_getpages() assumed that all errors were of the first type. If, in fact, the error was of the second type, the likely outcome was for the process to become permanently blocked on a busy page. MFC after: 3 weeks Reviewed by: tegge
* Remind firmware of the ESSID to use in a directed scan. This fixes scanningmlaier2006-10-101-3/+17
| | | | | | | for hidden APs when we are not comming from iwi_config. Reported by: Andrew N. Below MFC after: 3 days
OpenPOWER on IntegriCloud