Commit Graph

26779 Commits

Author SHA1 Message Date
jruoho 0b7093053e Regen. 2010-04-18 10:22:33 +00:00
jruoho 2e422aa6a6 Add ATM1200. From ThinkPad X60s. 2010-04-18 10:22:01 +00:00
christos 65ad62786a regen 2010-04-17 15:57:48 +00:00
christos 3f46aa477c add support for the 6000. From sverre froyen 2010-04-17 15:57:22 +00:00
nonaka b62fc9e203 Added Sharp W-ZERO3 series support. 2010-04-17 13:36:21 +00:00
dyoung 7916748801 #include <sys/bus.h> instead of <machine/bus.h>. No functional change
intended.
2010-04-16 18:58:39 +00:00
ahoka fc0c7ef94c Fix a typo, that caused infinite loops. 2010-04-16 11:29:06 +00:00
pooka 0971e4900c release lock in error branch 2010-04-16 11:22:43 +00:00
ahoka e24803ded7 Sort hu by code 2010-04-16 11:05:37 +00:00
christos b62024a026 fix dmesg printing. 2010-04-16 01:52:54 +00:00
christos fea8380812 Update with newer version from Sverre Froyen 2010-04-16 01:40:41 +00:00
oster 69311d1aca Fill in param[3] for succedents for bad disk 'i' rather than '0'. Fortunately, nbad is never > 1, so this bug never showed up anywhere. Bug spotted by Jed Davis. Thanks! 2010-04-15 15:49:00 +00:00
ahoka 589294e75a Hungarian keymap for usb keyboards. 2010-04-15 10:40:53 +00:00
jruoho 55052eca77 As discussed with jmcneill@, install a global "bus notification handler"
that receives all notifications and deliver notifications to drivers via it.
2010-04-15 07:02:24 +00:00
jruoho d6afaa4439 Arrange some comments. 2010-04-15 04:03:38 +00:00
jakllsch 2b2a5770cc Implement DIOC[GS]STRATEGY for sd(4). 2010-04-14 22:26:33 +00:00
jruoho 603f4c71f0 Simplify the setting of the GPEs. Add a debug-printf. 2010-04-14 20:08:56 +00:00
jruoho fb53d8ceed No need to spread the ACPICA type system any more than is necessary:
UINT8 -> uint8_t and UINT32 -> uint32_t.
2010-04-14 19:27:28 +00:00
jruoho 06a5faf4f3 Simplify error reporting, remove casts, KNF. 2010-04-14 18:39:56 +00:00
jruoho 8a96e47761 Remove the code that was copy-pasted to acpi_detach() from the attachment
routine. Add a note that the detachment is incomplete.
2010-04-14 17:20:19 +00:00
jruoho e77002a163 Remove the #if 0'ed acpi_disable(). 2010-04-14 17:14:45 +00:00
jruoho 0c88d0e418 Reorganize the main file: add several missing prototypes, move the functions
around so that they appear in their logical order and place, etc. In
addition, split the utility functions to a separate file.

No functional change. Ok jmcneill@.
2010-04-14 17:12:14 +00:00
jruoho 426356f9b2 Refactor the fixed-event handlers.
Also provide a detachment routine for these and fix a trivial bug;
a wrong structure was used when registering a sysmon_pswitch(9) switch.
2010-04-14 06:10:32 +00:00
macallan e8eb2869bf add the missing bits to allow X to run in 24bit with the wsfb driver
still no hardware acceleration though
2010-04-14 04:37:11 +00:00
macallan 294ad31cdd fix a bunch of typos, now 8 bit fonts work properly 2010-04-13 20:10:38 +00:00
hannken d4436d742d fss_softc_free: don't detach a disk that is not attached. Disk is
attached only if the backing store thread is running.

Resolves PR #43153: fss error branch error
2010-04-13 07:58:54 +00:00
pooka 536aa3a306 Ignore EEXIST from devsw_attach. This is not the optimal solution,
but it makes it possible to dynamically create device nodes for
fss before the fss module init runs by allowing to run devsw_attach
earlier.
2010-04-12 22:29:11 +00:00
jruoho f54d696d12 Scan the namespace from the root object instead of scanning from separate
scopes. Also raise the namespace walk from 100 (per scope) to UINT32_MAX.

ok jmcneill@
2010-04-12 18:59:08 +00:00
jruoho fb74e5b5e9 Remove some unused and global variables. Make the code more readable. Deny
invalid writes to machdep.sleep_state. Cosmetics. No functional change.
2010-04-12 18:55:27 +00:00
mjacob 59a28e407a Oops. Don't forget to set the isp_port value based upon PCI function code.
Otherwise you end up with both ports using the same WWPN. Bad.
Discovered by Havard. Pointy hat to me.
2010-04-12 14:26:21 +00:00
jruoho 42105e9f81 Rework the sysctl-support.
Changes:

	hw.wake			->	hw.acpi.wake
	hw.acpi.debug_layer	->	hw.acpi.debug.layer
	hw.acpi.debug_level	->	hw.acpi.debug.level

Additions:

	hw.acpi.stat.gpe	# Number of dispatched GPEs
	hw.acpi.stat.sci	# Number of SCI interrupts
	hw.acpi.stat.fixed	# Number of fixed events
	hw.acpi.stat.method	# Number of executed methods

ok jmcneill@
2010-04-12 12:14:26 +00:00
skrll ea3fb23f81 Spello in comment. 2010-04-12 06:56:19 +00:00
jakllsch e1ec199332 Add valz(4), a simple driver to handle the backlight keys on some
Toshiba laptops.  As of yet only tested on a Satellite A135-S4527.
2010-04-11 22:42:30 +00:00
drochner 8e8bf15598 add just as much "detach" code to keep the box from panicking on
removal of a USB "udl" device
(needs more work, but I got the hardware for a quick test only)
2010-04-11 14:04:10 +00:00
drochner b151ad8164 regen 2010-04-11 13:58:30 +00:00
drochner b099331df1 add the 19" Samsung display, make udl handle it 2010-04-11 13:57:22 +00:00
tsutsui dc04f4f064 Fix botched logic in ipkdb part in rev 1.77 (KNF misc). 2010-04-11 09:58:36 +00:00
pooka b8fa8ac521 Call putterattach in modcmd init. Fixes lockdebug panic. Disable
unload, since putterdetach() is not implemented (i.e. current
implementation of modcmd fini is flawed), and I don't plan to fix
that now.
2010-04-11 09:36:47 +00:00
jruoho 1863635681 Document "how-to override the DSDT" in the manual page instead of code. 2010-04-11 08:58:43 +00:00
mrg 58487f743a avoid rbuf starvation. when grabbing a recieve buffer, if a local
4KB buffer isn't available, try to MEXTMALLOC() one.  only if both
of these fail to we abort the recieve operation.

based on a patch from Sverre Froyen <sverre@viewmark.com>, thanks!

tested by myself, sverre and jeremy reed.
2010-04-11 02:02:14 +00:00
pgoyette 730da12998 Use a typedef to define the prototype of the per-sensor callback.
Update manpage for the prototype, and fix a fubar'd Cross-reference.
2010-04-11 01:12:28 +00:00
pgoyette 0321f1cd9a Save initial, boot-time limit values, and restore them upon request
from sysmon_envsys(9).
2010-04-10 19:02:39 +00:00
pgoyette d8f35b6e65 When removing sensor properties with envstat -S, ensure that drivers
which could have modified hardware state are informed so that original
state can be restored.

Welcome to 5.99.27
2010-04-10 19:01:00 +00:00
jruoho 403b8820f1 Remove unnecessary casts. 2010-04-10 18:32:13 +00:00
jruoho 039f34b662 Move vald(4) to sys/dev/acpi. This is MI and should work also on amd64.
ok jmcneill@

XXX:    This is broken: it calls methods with absolute pathnames (almost
        guaranteed not to be portable across models), it accesses methods
        that are in the domain of other drivers, it walks the namespace on
        its own, it contains plenty of magic constants, it does not
        integrate with existing KPIs, etc. Summa summarum: this should be
        rewritten as a more generic toshiba_acpi(4).
2010-04-10 17:55:24 +00:00
jruoho a0fefff3ae Add NSC1100. From ThinkPad T43p. 2010-04-10 16:45:51 +00:00
jruoho 2caf94afd1 Update a comment. 2010-04-10 06:56:30 +00:00
jruoho cbd7048dde Regen 2010-04-10 06:10:13 +00:00
jruoho 1ad22d8495 Add ITE8708. From Dell Studio XPS 16. 2010-04-10 06:09:24 +00:00
jakllsch 295766de32 Improve error paths in (e)siop_scsipi_request():
- When terminating the adapter request after the cmd has been removed
   from the free list, put that cmd back on the free list before returing.
 - Correctly indicate which bus_dma_load() failed.

Analysis and fix from Michael L. Hitch in PR/42844.
2010-04-09 19:25:52 +00:00