summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9),lstewart2010-12-218-2/+1275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and in many respects can be thought of as a more generic superset of pfil. Hhook provides a way for kernel subsystems to export hook points that Khelp modules can hook to provide enhanced or new functionality to the kernel. The KPI has been designed to ensure hook points pose no noticeable overhead when no hook functions are registered. - Introduce the Khelp (Kernel Helpers) KPI. Khelp provides a framework for managing Khelp modules, which indirectly use the Hhook KPI to register their hook functions with hook points of interest within the kernel. Khelp modules aim to provide a structured way to dynamically extend the kernel at runtime in an ABI preserving manner. Depending on the subsystem providing hook points, a Khelp module may be able to associate per-object data for maintaining relevant state between hook calls. - pjd's Object Specific Data (OSD) KPI is used to manage the per-object data allocated to Khelp modules. Create a new "OSD_KHELP" OSD type for use by the Khelp framework. - Bump __FreeBSD_version to 900028 to mark the introduction of the new KPIs. In collaboration with: David Hayes <dahayes at swin edu au> and Grenville Armitage <garmitage at swin edu au> Sponsored by: FreeBSD Foundation Reviewed by: bz, others along the way MFC after: 3 months
* Only use the BIOS-supplied IRQ for the atkbdc device for a child atkbdjhb2010-12-211-8/+10
| | | | | | device. Specifically, do not reuse it for a child psm device. Tested by: many
* The local variable "rv" is still required by vm_fault_hold_user_pages().alc2010-12-201-3/+3
|
* sh: Make warnings in the printf builtin non-fatal, like in the program.jilles2010-12-204-32/+29
| | | | | | | | The #define for warnx now behaves much like the libc function (except that it uses sh command name and output). Also, it now uses C99 __VA_ARGS__ so there is no need for three different macros for 0, 1 or 2 parameters.
* Unbreak the build by temprorarily not using include directives insyrinx2010-12-207-10/+60
| | | | | bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to pass proper include path flags to gensnmptree.
* Introduce vm_fault_hold() and use it to (1) eliminate a long-standing racealc2010-12-205-81/+42
| | | | | | | | | | condition in proc_rwmem() and to (2) simplify the implementation of the cxgb driver's vm_fault_hold_user_pages(). Specifically, in proc_rwmem() the requested read or write could fail because the targeted page could be reclaimed between the calls to vm_fault() and vm_page_hold(). In collaboration with: kib@ MFC after: 6 weeks
* rpc.lockd(8) WARNS cleanupuqs2010-12-204-6/+5
| | | | | | | | | - Provide function prototype for nlm_syscall - Don't assign a variable from the stack to a global var[1] - Remove unused vars Found by: clang static analyser [1] Reviewed by: dfr
* lmcconfig(8): bump to WARNS=3, fix typo in usage while hereuqs2010-12-202-210/+281
| | | | | | Slight style(9) improvments - function definitions - sort #include
* Fix type used to hold fgetc(3) output, this should help arm and powerpcuqs2010-12-201-1/+1
| | | | which have char == unsigned char
* factor(6): Check return values of BN_* functions.uqs2010-12-201-4/+8
| | | | Coverity Prevent: CID 4862, 8771, 8772, 8773
* Remove useless conditional.uqs2010-12-201-3/+2
| | | | | | `vga' cannot be less than 0x3f when reaching the check. Coverity Prevent: CID 5196
* Document limitation of station address reprogramming.yongari2010-12-201-1/+13
|
* Add (disabled) sample configuration lines needed to enable snmp_target(3) modulesyrinx2010-12-201-35/+98
| | | | | | | | | and configure minimal target addresses & notifications needed for bsnmpd(1) to send SNMPv3 notifications. Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip
* Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.syrinx2010-12-2024-100/+1998
| | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip
* Merge amd64 and i386 bus.h and move the resulting header to x86. Replacetijl2010-12-2013-2280/+1125
| | | | | | | | | the original amd64 and i386 headers with stubs. Rename (AMD64|I386)_BUS_SPACE_* to X86_BUS_SPACE_* everywhere. Reviewed by: imp (previous version), jhb Approved by: kib (mentor)
* Suggest to run the delete-old target after the second mergemaster. If you runnetchild2010-12-201-2/+6
| | | | | | | | | | | | it before, your rc scripts may still reference old files/directories and if you are in the unlucky situation to have triggered a reboot (intentionally or not) between the delete-old run and the mergemaster, your system may not start anymore. While I'm here, give a hint about delete-old-libs. Noticed by: bcr (luckily in a discussion and not by getting hit by this) MFC after: 1 week
* Don't whine about child drivers calling pci_enable_busmaster(). That isjhb2010-12-201-4/+0
| | | | | | perfectly normal. MFC after: 1 week
* Memory can be laid out with large gaps on 64-bit PowerPC, so switch tonwhitehorn2010-12-201-1/+6
| | | | VM_PHYSSEG_SPARSE.
* Add __unused. Ansi prototypes.charnier2010-12-202-6/+10
|
* Add __unused. Ansi prototypes.charnier2010-12-201-111/+48
|
* Add __unused. Ansi prototypes.charnier2010-12-201-4/+6
|
* Add __unusedcharnier2010-12-201-1/+1
|
* Add __unusedcharnier2010-12-201-1/+1
|
* Add __unusedcharnier2010-12-201-5/+5
|
* Add __unused. Ansi prototypes.charnier2010-12-202-8/+6
|
* Oops, fwe(4) listed twice.yongari2010-12-201-1/+0
|
* Add ae(4) to the list of drivers use the miibus interface.yongari2010-12-201-1/+4
|
* igb(4), ixgbe(4), mxge(4) and nxge(4) support VLAN hardware tagyongari2010-12-201-1/+7
| | | | | insertion/stripping. et(4) and fwe(4) support VLAN oversized frames.
* Add .Xr to altq(4).yongari2010-12-191-1/+2
|
* Add .Xr to altq(4).yongari2010-12-191-1/+2
|
* ae(4), igb(4), ixgb(4) and ixgbe(4) supports altq(4).yongari2010-12-191-1/+5
|
* Add --numeric-owner to tar extract operations in portsnap.simon2010-12-191-5/+5
| | | | | | | | | | | | | This is done to speed up extraction significantly (both for portsnap extract and update) in the case of slow NSS modules (like nss_ldap) as it avoids having to look up uid and gid for root / wheel. The reason this is a bigger problem for portsnap than for many other system operations, is that portsnap executes tar(1) once for each port so the internal uid/gid caching in tar(1) only helps a bit, resulting in many user lookup calls. Discussed with: cperciva
* Restore the ABI of struct kinfo_proc32 after r213536.kib2010-12-191-0/+1
| | | | MFC after: 3 days
* Correct cookie type to match reality.pjd2010-12-191-2/+1
|
* Reduce lock scope a little.pjd2010-12-191-2/+2
|
* Add __unused. Ansi prototypes.charnier2010-12-1920-470/+204
|
* Garbage-collect unused variable.nwhitehorn2010-12-192-9/+4
|
* Add __unused. Ansi prototypes.charnier2010-12-191-33/+18
|
* Add __unused. Ansi prototypes.charnier2010-12-191-66/+34
|
* add __unusedcharnier2010-12-191-6/+4
|
* Update firmware for wpi(4) from version 2.14.4 to 15.32.2.9.bschmidt2010-12-195-2636/+2644
| | | | | | PR: kern/142907 Submitted by: Craig Butler <craig001 at lerwick.hopto.org> MFC after: 2 weeks
* Fix a bug introduced in r216518. The ndis_subsys field holds the PCItijl2010-12-191-7/+19
| | | | | | | subdevice ID in addition to the subvendor ID. Reported by: Paul B Mahol 'onemda gmail com' Approved by: kib (mentor)
* Fix panic trying to use monitor mode. The iwn_cmd() calls issued bybschmidt2010-12-191-0/+2
| | | | | | | | iwn_config() want to msleep() on the mutex. PR: kern/138427 Submitted by: Henry Hu <henry.hu.sh at gmail.com> MFC after: 3 days
* Fix build on bigendian archs.bschmidt2010-12-191-0/+1
|
* Redo some parts of r216333, specifically, the locking changes toalc2010-12-191-39/+60
| | | | | pmap_extract_and_hold(), and undo the rest. In particular, I forgot that PG_PS and PG_PTE_PAT are the same bit.
* Document JMC251/JMC261 support.yongari2010-12-191-4/+8
|
* Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernetyongari2010-12-185-36/+403
| | | | | | | | | | | | | | | | | | | | controller with Card Read Host Controller. These controllers are multi-function devices and have the same ethernet core of JMC250/JMC260. Starting from REVFM 5(chip full mask revision) controllers have the following features. o eFuse support o PCD(Packet Completion Deferring) o More advanced PHY power saving Because these controllers started to use eFuse, station address modified by driver is permanent as if it was written to EEPROM. If you have to change station address please save your controller default address to safe place before reprogramming it. There is no way to restore factory default station address. Many thanks to JMicron for continuing to support FreeBSD. HW donated by: JMicron
* Use system defined PCIR_EXPRESS_DEVICE_CTL instead of using magicyongari2010-12-181-1/+1
| | | | number.
* Make sure whether driver allocated resource before releasing it.yongari2010-12-181-2/+4
|
* Fix a regression introduced in r213893. FPGA version requires PHYyongari2010-12-181-2/+3
| | | | probing so allow PHY probing on all possible addresses.
OpenPOWER on IntegriCloud