Commit Graph

189941 Commits

Author SHA1 Message Date
macallan b7af30216a use a shadow framebuffer 2010-04-08 16:49:34 +00:00
macallan 8f881c7dd3 add support for shadow framebuffers
tested on sparc with a cg12
2010-04-08 16:45:53 +00:00
pooka 997a4cfc3c In genfs where available.
The only functional change is mknod now returning EOPNOTSUPP instead
of EINVAL.  I make this sacrifice willingly and with a clean conscience.
2010-04-08 16:04:35 +00:00
njoly e05f3d58b2 Do not use 0 for pointers, but NULL. 2010-04-08 15:59:37 +00:00
pooka 1a992b2715 Call VOP_ABORTOP in genfs_eopnotsupp. This prevents file system
authors from having to get down on their knees and pray they won't
get POGA'd(*) again.

This plugs componentname leaks in at least smbfs and buggy puffs
servers (buggy servers shouldn't be able to leak kernel memory).

*) principle of greatest astonishment
2010-04-08 15:56:26 +00:00
pooka ed7e284d5c Use genfs instead of homegrown stuff where possible. 2010-04-08 15:03:33 +00:00
jruoho 7a8e952232 Semantics. 2010-04-08 12:36:21 +00:00
jruoho a913ee750d Move acpiwmi(4) to the "sys/dev/acpi/wmi" -subdirectory. 2010-04-08 12:14:19 +00:00
njoly 4f2ea8f3c9 Add a new clock_gettime1() function that holds most of the
clock_gettime syscall code (except for the copyout). Adjust all
corresponding syscalls to make use of it.
2010-04-08 11:51:13 +00:00
jruoho ab88ce45ea Add a dummy acpi_wmi_event_deregister() to match existing conventions. 2010-04-08 10:33:13 +00:00
jruoho 8d0a2e3892 Add acpiwmi(4). 2010-04-08 10:06:25 +00:00
jruoho 496980a056 Add wmidell(4). 2010-04-08 09:45:17 +00:00
jruoho d49fb742ce Include 'files.wmi'. 2010-04-08 09:36:03 +00:00
jruoho d97f534eb9 Add WMI mappings for Dell laptops. Requested and tested by mrg@. 2010-04-08 09:35:15 +00:00
jruoho 531704d1c8 Emphasize the powerd(8) script and use .Tn for acronyms. 2010-04-08 08:42:40 +00:00
wiz 6997bed8b1 Fix typo reported by Ryo HAYASAKA in PR 43136. 2010-04-08 06:58:26 +00:00
jruoho d59e2b7037 Note the import of ACPICA 20100121.
(The current version is 20100331, but it was too experimental.)
2010-04-08 05:13:52 +00:00
jruoho 230c5ee4c7 ACPICA 20091112:
Implemented a post-order callback to AcpiWalkNamespace. The existing
        interface only has a pre-order callback. This change adds an
        additional parameter for a post-order callback which will be more
        useful for bus scans.  ACPICA BZ 779. Lin Ming. Updated the ACPICA
        Programmer Reference.

We will use the old "pre-order callback" for the time being.
2010-04-08 04:40:51 +00:00
jruoho 5c7c72ca7e Add new files from ACPICA 20100121. 2010-04-08 04:37:14 +00:00
jruoho 1fc8cacd7d __UNCONST(3). 2010-04-08 04:34:22 +00:00
jruoho bc17fdc088 Merge ACPICA 20100121 2010-04-08 04:31:48 +00:00
jruoho 3ed53cd7df Import ACPICA 20100121.
Selected changes between 20090730 and 20100121:

  * A "post-order callback" was added to AcpiWalkNamespace().

  * The ACPI_INTEGER type was removed and replaced with UINT64. Support for
    this type remains (for the time being) for compatibility reasons.

  * AcpiGetDevices() was optimized to not run extra _STA methods.

  * Fixed possible mutex acquisition errors when running _REG methods.

  * iASL was fixed not to fault when the maximum number of errors is
    reached.

  * Various miscellaneous fixes and improvements, including, for example,
    improved object repair capabilities, memory leak fixes, better type
    conversions, module-level code execution, etc.
2010-04-08 04:27:32 +00:00
oki 304292d4c5 ip6_sprintf: compress the zeros of representation of the IPv6 address.
see RFC4291 section 2.2 item 2.
2010-04-07 22:59:15 +00:00
yhardy 2217e8705c i915 and i965 dri modules need glapi. 2010-04-07 20:04:16 +00:00
yhardy ed3b534143 Don't link libOSMesa, this functionality is provided by mesa_dri.so. 2010-04-07 19:56:01 +00:00
jakllsch 64fcf7099a Clean up accidential commit. 2010-04-07 18:51:34 +00:00
jakllsch 9d1be6b12e satafis:
- Add function to parse RDH FIS for use in implementing AT_READREG.
- Correct and clean up some structure definitions.
- Sprinkle a bit of const.
- Remove dependency on <dev/ic/wdcreg.h>, WDCTL_4BIT doesn't seem
  to be specified by any recent ATA standard, and it seems to make
  no difference in practice.
- Stop using WDSD_IBM, these bits have been obsolete since before SATA.

siisata:
- Implement AT_READREG.
- Reap now-unneeded <dev/ic/wdcreg.h>.
- Whitespace and slight debug code cleanup.
- Some possibly-uncessary code reordering.

ahcisata:
- Implement AT_READREG.
- Reap now-unneeded <dev/ic/wdcreg.h>.
2010-04-07 17:51:16 +00:00
jakllsch 9d6bdcd981 let ath(4) build on alpha 2010-04-07 17:51:15 +00:00
jakllsch e43bf0587d satafis:
- Add function to parse RDH FIS for use in implementing AT_READREG.
- Correct and clean up some structure definitions.
- Sprinkle a bit of const.
- Remove dependency on <dev/ic/wdcreg.h>, WDCTL_4BIT doesn't seem
  to be specified by any recent ATA standard, and it seems to make
  no difference in practice.
- Stop using WDSD_IBM, these bits have been obsolete since before SATA.

siisata:
- Implement AT_READREG.
- Reap now-unneeded <dev/ic/wdcreg.h>.
- Whitespace and slight debug code cleanup.
- Some possibly-uncessary code reordering.

ahcisata:
- Implement AT_READREG.
- Reap now-unneeded <dev/ic/wdcreg.h>.
2010-04-07 17:51:15 +00:00
christos 765fc163a7 don't pretend to have do_fstatvfs 2010-04-07 17:13:10 +00:00
christos 819acda0b0 previous workaround not needed. 2010-04-07 16:14:35 +00:00
christos 4950518f2a Rename the macro name so that the scanner does not get confused and thinks
it is using REJECT.
2010-04-07 16:14:07 +00:00
pooka c8dcca6644 * Don't care about VOP_CLOSE() error in unmount. In the extremely
unlike event it did fail, the kernel would double lutz to doom
  (in failure devvp now remains unmountable until reboot.  fans
  of complicated & untested error branches may attempt to gunk this
  up.  i'm not one of them).
* cosmetic surgery: cut extra ;
2010-04-07 15:19:09 +00:00
vanhu ba30b496b8 by Eric Preston: fixed a typo 2010-04-07 14:53:52 +00:00
tsutsui 8f12100ec0 Misc KNF. 2010-04-07 13:53:05 +00:00
tsutsui 863ed02e2e - split device_t/softc
- use device_lookup_private() directly rather than via local macro
2010-04-07 13:14:23 +00:00
christos 2909eda13b fix build for ports that don't have PT_STEP (Havard Eidnes) 2010-04-07 13:10:46 +00:00
christos 2446060385 fix syntax errors 2010-04-07 12:58:33 +00:00
tsutsui 883db6bc19 extern inline -> static inline 2010-04-07 12:39:59 +00:00
nonaka 1f03951426 fix comment. 2010-04-07 11:54:46 +00:00
nonaka 4f76fb5f14 delete unused file. 2010-04-07 11:48:15 +00:00
pooka ebd06ba809 Fix fmt'ing error in comment from rev 1.22. 2010-04-07 11:16:30 +00:00
tsutsui b97082ea7c Add a recently committed evbsh3 variant in SYNOPSIS. 2010-04-07 11:10:25 +00:00
tsutsui 4a5e7b0f18 Fix quoting in previous. 2010-04-07 11:07:29 +00:00
wiz d129d948ec Minor punctuation fixes, improve and sort SYNOPSIS, sort flag descriptions.
From Bug Hunting in PR 43130.
2010-04-07 09:40:58 +00:00
tron 898521eb24 Ignore the unused label "find_rule" in the generated file "scan.c"
to fix the build.
2010-04-07 08:56:49 +00:00
wiz 02634ada5c Fix typo, reported by Ryo HAYASAKA in PR 43134. 2010-04-07 07:32:48 +00:00
wiz 6f9ff54b1b Sort a bit more. 2010-04-07 06:45:21 +00:00
sjg b6e2a6c85f Add:
.error "message"
.warning "message"
	based on FreeBSD implementation.
	add .info while were at it.

.ERROR:	a target to run on error.
	We pass the failing GNode to PrintOnError so it can set
	.ERROR_TARGET.

.MAKE.MAKEFILE_PREFERENCE
	As a means to control make's list of prefered makefile names.
	(Default: "makefile Makefile")

.MAKE.DEPENDFILE
	Names the file to read dependencies from
	(Default ".depend")

.MAKE.MODE
	Processed after all makefiles are read.
	Can put make into "compat" mode (more to come).

Fix:

compat.c: Error code should not be sent to debug_file.
Make_DoAllVar: use DONE_ALLSRC to avoid processing a node multiple times.
ReadMakefile: we can simply use doing_depend to control setting MAKEFILE.
2010-04-07 00:11:27 +00:00
christos 66aa934e53 update system call table to reflect reality. 2010-04-06 23:02:10 +00:00