Commit Graph

27733 Commits

Author SHA1 Message Date
macallan
5e7d981582 clear the screen before redrawing on reentering text mode 2011-01-06 07:43:05 +00:00
jruoho
0af1ebd4ab Split the code that makes a string from ACPI_DEVICE_INFO::Name to a function. 2011-01-06 07:05:00 +00:00
jruoho
1bb3132df6 Move the ACPI_ACTIVATE_DEV block around for clarity. 2011-01-06 06:49:12 +00:00
jym
6da35ef6e8 bnx(4) SERDES NICs will definitely work better with the PHY initialization
code... rather than without.

(forgot to commit it two weeks ago -- should be part of the BCM 5709S
patch)
2011-01-06 03:37:55 +00:00
jym
53a9d61cb0 Reflect 5709S support in bnx(4) (comment fix) 2011-01-06 02:02:43 +00:00
jruoho
e067d18bf0 Add a driver for ACPI power meters. 2011-01-05 20:08:12 +00:00
jnemeth
a98aacd7f2 - the atari et device has been renamed et4k
- a new MI et device was added
2011-01-05 15:39:19 +00:00
sketch
4f0bf5bf27 Use aprint_verbose_dev. 2011-01-05 14:55:10 +00:00
jruoho
d982261b67 Adjust previous slightly. 2011-01-05 08:08:47 +00:00
jruoho
740a9e0c0e Make a two-pass scan for acpinodebus. This should ensure that devices such
as acpiec(4) are attached before anything else. Numerous bugs are expected
to be fixed with this change.
2011-01-05 07:58:04 +00:00
jruoho
9844967b1c Stop using aprint_debug(9) in an interrupt handler. 2011-01-04 10:40:17 +00:00
jruoho
c96fe4ba5e Revert the changes made in the commit:
"Do not queue functions via sysmon_taskq(9) in the pmf(9) resume hooks.
   There is a small and unlikely race when the drivers are loaded as modules;
   suspend, resume, queue a function, and immediately unload the module."

Queueing the checks in the resume hooks was observed to improve the resume
time by several seconds (!) on a system with poorly implemented AML code.
The observed race condition is a wider issue related to modules; things like
sysmon_taskq(9) should be modified to allow cancelling of queued functions.
2011-01-04 05:48:48 +00:00
jruoho
a26fa60e11 Fix previous. 2011-01-04 04:28:48 +00:00
nisimura
aa74cd0406 withdraw my name from the copyright notice as there is little code
substance made by me.
2011-01-04 02:50:08 +00:00
matt
833bb81cc5 add support for autostarting watchdogs (wdog was started by firmware
and can't be disabled).  Add critical pool hooks for kernel tickled
watchdogs.
2011-01-04 01:51:06 +00:00
matt
9d740604de Switch back to malloc since kmem isn't softintr safe. 2011-01-04 01:37:55 +00:00
matt
1bab34e59d Use LIST_FOREACH when possible. 2011-01-04 01:29:01 +00:00
matt
3bedd50982 Make this support the DS1553 as well. Add support for the centry reg which
newer RTCs seem to have.
2011-01-04 01:28:15 +00:00
matt
dfbd1e0d55 Add the new mpc85xx/booke device names. 2011-01-04 01:26:22 +00:00
matt
d4c26fdc30 Add a generic Motorola/Freescale i2c driver. This was taken from sandpoint
and heavily modified.  It works on most Freescale PowerPC and ARM SoCs.
2011-01-04 01:24:56 +00:00
jruoho
6a3b9e2cde Scan for devices that are "hot-pluggable". 2011-01-03 08:50:23 +00:00
mbalmer
ec2d803578 Cap h.loc.count at MAXKEYCODE instead of bailing out. This lets some obscure/
roque keyboards attach.

From loganaden@devio.us (Loganaden Velvindron), thanks!
2011-01-02 12:36:41 +00:00
jruoho
6248a51d8a Adjust error messages for the previous commit. 2011-01-02 12:06:02 +00:00
jruoho
e008cf160e Use "real" device names for the hw.acpi.wake and hw.acpi.power sysctl(8)
trees. For instance, instead of hw.acpi.wake.DURT, we have hw.acpi.wake.wm0
for wm(4). This is a temporary solution, but without solving the big
abstraction questions, this is the best we can do.
2011-01-02 06:05:47 +00:00
jruoho
9a11653a7b Print a warning if the BIOS thinks that the timer is unreliable. However, do
not touch the quality of the timecounter(9) based on this information.
2011-01-02 05:48:55 +00:00
jruoho
8aaffbf4e9 Include <dev/acpi/acpi_pci.h>. 2010-12-31 14:05:15 +00:00
jruoho
396210649d acpi_pcidev_find_dev(): take struct acpi_devnode as a parameter. 2010-12-31 10:56:39 +00:00
jruoho
aa705fc95d Move the function that finds a device_t for the corresponding ACPI device
node from ACPIVERBOSE to the ACPI PCI code.
2010-12-31 10:23:44 +00:00
jruoho
b99cdd8ef8 Move the ACPI sleep-specific sysctl variables to hw.acpi.sleep. The old
machdep-variables are provided for backwards compatibility (eventually these
should be removed). All ACPI sysctl variables are now under hw.acpi.
2010-12-31 09:19:43 +00:00
jruoho
77f707c929 Use "temperature #" and "fan speed #" rather than "TMP#" and "FAN#" for the
sensor names. Remove white space. No functional change.
2010-12-31 08:17:54 +00:00
jruoho
3dc9396c46 Regen. 2010-12-30 19:38:03 +00:00
jruoho
47c7d9897b Add IBM0079. 2010-12-30 19:37:39 +00:00
jakllsch
6055524421 HP v125w flash drive doesn't like PREVENT/ALLOW either.
Reported by Gary Duzan on current-users;
http://mail-index.netbsd.org/current-users/2010/12/30/msg015240.html
2010-12-30 19:35:33 +00:00
jakllsch
bfbec4fadf Regen. 2010-12-30 19:28:52 +00:00
jakllsch
14e8dbcd65 Add HP v125w flash drive. 2010-12-30 19:27:51 +00:00
jruoho
b4492a071f Use "temperature" rather than "TEMP" as the sensor name. No functional change. 2010-12-30 19:27:27 +00:00
jruoho
37ec4d38de Fill out struct ifnet::if_stop, which is required for network class devices
in pmf(9). Fixes the panic reported in PR # kern/44296.
2010-12-30 18:27:01 +00:00
jruoho
a5a73b2a05 Change the default behavior to enforce the maximum frequency when the
firmware requests to do so. This cures severe overhating (> 120 C) observed
on many laptops, being also on par with the specification(s). This can be
reverted by using the new "hw.acpi.cpu.dynamic" sysctl variable.
2010-12-30 12:05:02 +00:00
pgoyette
59fe847ec9 When the user updates the sensor device's refresh timer, reset the
callout immediately rather than waiting for the previous timer to
expire.
2010-12-30 03:59:59 +00:00
jmcneill
2ea5b50e4b module needs to devsw_attach/devsw_detach 2010-12-29 13:43:16 +00:00
jakllsch
4244c8419c Address PR#44279.
- Be more lenient to device descriptor inconsistencies.
- Apply Roland SD-90 quirk only to the SD-90.
2010-12-28 20:11:18 +00:00
jmcneill
b678bc7497 add "ir" and "cir" modules 2010-12-28 14:45:30 +00:00
jmcneill
0fa8fefb87 Hauppauge HVR-850 analog should be identical to HVR-950Q, so support it too 2010-12-28 04:02:33 +00:00
jmcneill
201870c31a use ioconf 2010-12-28 00:49:21 +00:00
jmcneill
0d017a0558 don't make module declaration conditional on _MODULE 2010-12-28 00:11:50 +00:00
jmcneill
9a5027bf20 add au8522, xc5k, auvitek config glue 2010-12-27 20:42:51 +00:00
phx
709cd38f1c Add TI PCI1510.
Enable TI12XX PCI interrupt in MFUNC when MFUNC pin0 and pin1 are zero.
Ignore the other pins, which may be non-zero (e.g. IRQSER in pin3).
2010-12-27 19:02:32 +00:00
hannken
8f78757b95 Remove an always true if-clause. 2010-12-27 18:41:07 +00:00
jmcneill
33ca440f18 add driver for the Auvitek AU0828 USB video controllers's analog video
capture functions:

 auvitek0 at uhub6 port 2: AU0828
 video0 at auvitek0: WinTV HVR-950Q
 uaudio0 at auvitek0 port 2 configuration 1 interface 1
 uaudio0: vendor 0x2040 product 0x7200, rev 2.00/0.05, addr 2
 uaudio0: audio rev 1.00
 audio1 at uaudio0: full duplex, playback, capture, independent
2010-12-27 15:42:11 +00:00
jmcneill
97dc26a286 don't try to set frequencies lower or higher than the tuner's allowed
range -- the v4l2 spec says "when the requested frequency is not possible
the driver assumes the closest possible value".
2010-12-26 23:41:45 +00:00