summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak the build for amd64 after r193814 using correct variable names.bz2009-06-091-2/+2
|
* Depend on @ machine (_ILINKS) as we do with other modules so that @bz2009-06-091-3/+3
| | | | | is there for parallel (-jN) builds. Ideally beforedepends in kmod.mk should do the right thing but it seems it does not.
* Spacing fixes. No actual change.delphij2009-06-091-2/+2
|
* Style fix.hrs2009-06-091-7/+7
| | | | Submitted by: bz
* When using i8254 as the only kernel timer source:ariff2009-06-092-14/+62
| | | | | | | | | - Interpolate stat/prof clock using clkintr() in a similar fashion to local APIC timer, since statclock usually run slower. - Liberate hardclockintr() from taking the burden of handling both stat and prof clock interrupt. Instead, send IPIs within clkintr() to handle those.
* Use new spelling of the NG_*LEN constants.imp2009-06-094-8/+8
|
* World now builds without these defines, so eliminate them.imp2009-06-091-9/+0
| | | | Approved by: julian@
* Document the fact that some Core2 family CPUs lack fixed-function counters.jkoshy2009-06-091-3/+4
|
* Fix parsing of Core2 event qualifiers.jkoshy2009-06-091-7/+7
| | | | Submitted by: Nikola K <laladelausanne at gmail dot com>
* Get the other NG_PATHLEN while I'm here too :(.imp2009-06-091-1/+1
|
* Use NG_PATHSIZ instead of NG_PATHLEN + 1.imp2009-06-091-1/+1
|
* Move C1E workaround into its own idle function. Previous workaround worksariff2009-06-094-46/+150
| | | | | | | | | | | | | | only during initial booting process, while there are laptops/BIOSes that tend to act 'smarter' by force enabling C1E if the main power adapter being pulled out, rendering previous workaround ineffective. Given the fact that we still rely on local APIC to drive timer interrupt, this workaround should keep all Turion (probably Phenom too) X\d+ alive whether its on battery power or not. URL: http://lists.freebsd.org/pipermail/freebsd-acpi/2008-April/004858.html http://lists.freebsd.org/pipermail/freebsd-acpi/2008-May/004888.html Tested by: Peter Jeremy <peterjeremy at optushome d com d au>
* unify zyd_tx_mgt() and zyd_tx_data() to simplify TX path and sortsweongyo2009-06-092-137/+60
| | | | | | | setting TX descritor. While I'm here fixes a bug that the management frames only sent at 2 Mbits/s.
* Fix bug in zphys offset calculation I introduced while retypingbland2009-06-091-1/+1
| | | | original patch.
* Chase ZFS v13 import changes.bland2009-06-091-1/+2
| | | | | | | This is a temporary fix until we find a way to avoid fstat to be broken each time we change the znode. Approved by: lulf
* - Fix sanity check of GIFSOPTS ioctl.hrs2009-06-092-6/+6
| | | | | | - Rename option mask s/GIF_FULLOPTS/GIF_OPTMASK/ Spotted by: Eygene Ryabinkin, delphij
* Add line width calculations for 15/16 and 24/32 bit modes in casedelphij2009-06-091-0/+8
| | | | | | | | | | the "Get Scan Line Length" function fails, as it does in Parallels (in Version 2.2, Build 2112 at least). PR: i386/127367 Obtained from: DragonFly Submitted by: Pedro Giffuni MFC after: 1 month
* MFV of tzdata2009i:edwin2009-06-091-2/+45
| | | | | | Bangladesh will go into DST on 20 June. MFC after: 2 days
* Fix compile time warning on sparc64, thanks to strict kobj signatures checking.ariff2009-06-081-10/+9
| | | | Noticed by: bz
* Add self, list mentor in committers-src.dotnp2009-06-081-0/+2
| | | | Approved by: gnn (mentor)
* Update vnet_net size guard information after r193731.bz2009-06-081-7/+7
|
* Reflect debug level changes from the recent ACPICA import.jkim2009-06-081-7/+6
|
* Fix an off by one error when we limit append/prepend text sizes based on ourbrian2009-06-081-5/+15
| | | | | | | | | | | internal buffer sizes. When we 'append', assume we're appending to text. Some MS dhcp servers will give us a string with the length including the trailing NUL. when we 'append domain-name', we get something like "search x.y\000 z" in resolv.conf :( MFC after: 1 week Security: A buffer overflow (by one NUL byte) was possible.
* Simply shared vnode locking and extend it to also include fsync.ps2009-06-084-6/+16
| | | | | | | Also, in vop_write, no longer assert for exclusive locks on the vnode. Reviewed by: jhb, kmacy, jeffr
* purge dead codesam2009-06-081-29/+0
|
* fix big-endian machinessam2009-06-081-4/+4
|
* Add myself.tuexen2009-06-081-0/+3
| | | | Approved by: rrs (mentor)
* Remove redundant checks for ACPI_WAIT_FOREVER cases.jkim2009-06-081-4/+0
|
* Use proper types in kbdmux_kbd_getc():ed2009-06-081-2/+2
| | | | | | | | - The return value should be a signed integer, because -1 means failure. - The c variable should be unsigned, to force it to be zero-extended when returned. Reported by: Andreas Tobler <andreast-list fgznet ch>
* Rewrite OsdSynch.c to reflect the latest ACPICA more closely:jkim2009-06-085-274/+446
| | | | | | - Implement ACPI semaphore (ACPI_SEMAPHORE) with condvar(9) and mutex(9). - Implement ACPI mutex (ACPI_MUTEX) with mutex(9). - Implement ACPI lock (ACPI_SPINLOCK) with spin mutex(9).
* Remove two unneeded, hidden includes.bz2009-06-081-2/+0
|
* After r193232 rt_tables in vnet.h are no longer indirectly dependent onbz2009-06-0865-84/+15
| | | | | | | | | the ROUTETABLES kernel option thus there is no need to include opt_route.h anymore in all consumers of vnet.h and no longer depend on it for module builds. Remove the hidden include in flowtable.h as well and leave the two explicit #includes in ip_input.c and ip_output.c.
* Commit missed driver_info to driver_ivar change in usb_attach_args.thompsa2009-06-081-2/+2
| | | | Pointed out by: kib
* Fix nfscl_getcl() so that it doesn't crash when it is called tormacklem2009-06-081-20/+29
| | | | | | | do an NFSv4 Close operation with the cred argument NULL. Also, clarify what NULL arguments mean in the function's comment. Approved by: kib (mentor)
* Revert my change; reintroduce __gnu89_inline.ed2009-06-084-3/+9
| | | | | | | | | It turns out our compiler in stable/7 can't build this code anymore. Even though my opinion is that those people should just run `make kernel-toolchain' before building a kernel, I am willing to wait and commit this after we've branched stable/8. Requested by: rwatson
* Change driver_info to a ulong as it always stores a number and remove the onlythompsa2009-06-082-5/+6
| | | | | | diff of the usb_device_id struct to Linux. Reviewed by: HPS
* Remove __gnu89_inline.ed2009-06-084-9/+3
| | | | | | | | | Now that we use C99 almost everywhere, just use C99-style in the pmap code. Since the pmap code is the only consumer of __gnu89_inline, remove it from cdefs.h as well. Because the flag was only introduced 17 months ago, I don't expect any problems. Reviewed by: alc
* Introduce an infrastructure for dismantling vnet instances.zec2009-06-0837-36/+526
| | | | | | | | | | | | | | | | | | | | | | | | | Vnet modules and protocol domains may now register destructor functions to clean up and release per-module state. The destructor mechanisms can be triggered by invoking "vimage -d", or a future equivalent command which will be provided via the new jail framework. While this patch introduces numerous placeholder destructor functions, many of those are currently incomplete, thus leaking memory or (even worse) failing to stop all running timers. Many of such issues are already known and will be incrementaly fixed over the next weeks in smaller incremental commits. Apart from introducing new fields in structs ifnet, domain, protosw and vnet_net, which requires the kernel and modules to be rebuilt, this change should have no impact on nooptions VIMAGE builds, since vnet destructors can only be called in VIMAGE kernels. Moreover, destructor functions should be in general compiled in only in options VIMAGE builds, except for kernel modules which can be safely kldunloaded at run time. Bump __FreeBSD_version to 800097. Reviewed by: bz, julian Approved by: rwatson, kib (re), julian (mentor)
* Clean up FreeBSD-specific header file:jkim2009-06-081-6/+3
| | | | | | - Define ACPI_USE_DO_WHILE_0 to add do while(0) around return_*() macros. - Define __cdecl only for user land. It will never be used in kernel. - Remove __cli() and __sti(). They were deprecated long ago.
* Now that amd64's kernel map is 512GB (SVN rev 192216), there is no reasonalc2009-06-081-9/+0
| | | | | | to cap its buffer map at 1GB. MFC after: 6 weeks
* Change the printf format string to match the variable type to quietjhb2009-06-081-2/+2
| | | | warnings.
* Move zombie-reaping code out of kern_wait() and into its own function,rwatson2009-06-081-106/+121
| | | | | | | proc_reap(). Reviewed by: jhb MFC after: 3 days Sponsored by: Google, Inc.
* Code using COMPAT_ROUTE_FLAGS option, introduced with r187094,bz2009-06-081-1/+0
| | | | | was changed again in r187328, removing any use of the option from the kernel. The option was never in NOTES. Garbage collect.
* Instead of packing the individual fields in the PnP structures, pack thejhb2009-06-081-26/+26
| | | | | | | entire structures. This trims some warnings. Verified by: md5(1) MFC after: 1 week
* Don't attempt to free the GPT partition list for a disk with an empty GPT.jhb2009-06-081-2/+3
| | | | | Submitted by: Yuri Pankov yuri.pankov of gmail MFC after: 3 days
* Update vimage size guard values but do not yet re-enable them.bz2009-06-081-34/+22
| | | | | | | | Now that rt_tables does no longer change depending on kernel option we do no longer need any special values for LINT. The updated values will be used to make sure that an upcoming opt_route.h cleanup will not again show any side effects.
* Add another PCI id for Nvidia nForce MCP67, found in several Acer laptops.ariff2009-06-082-0/+2
|
* Permit the specification of bandwidth values withinluigi2009-06-082-40/+72
| | | | | | | | | "profile" files (bandwidth is mandatory when using a profile, so it makes sense to have everything in one place). Update the manpage accordingly. Submitted by: Marta Carbone
* Do not dereference vp->v_rdev without holding any of dev_mtx or vnodekib2009-06-081-8/+20
| | | | | | | lock. Use code similar to devfs_fp_check(), but inlined to feet other checks performed by ttyhook_register(). Reviewed by: ed
* Invalidate cache in pmap_remove_all() on ARM.raj2009-06-081-0/+12
| | | | | | | | | | When pages are removed from virtual address space by calling pmap_remove_all() CPU caches were not invalidated, which led to read corruption when another page got mapped at this same virtual address at later time (the CPU was retrieving stale contents). Submitted by: Piotr Ziecik Obtained from: Semihalf
OpenPOWER on IntegriCloud