riastradh
f8b17fdc8b
Remove vestigial modules/apple_smc/apple_smc.ioconf.
2014-04-01 17:52:26 +00:00
riastradh
f58fb90d2f
Fix unused variable warning in non-modular apple_smc build.
2014-04-01 17:49:40 +00:00
riastradh
46e38060ce
Fix apple_smc config in conf/files.
2014-04-01 17:49:30 +00:00
riastradh
7e61e435b3
Fix copypasta error in apple_smc_write_key_4: uint32_t, not uint16_t.
2014-04-01 17:49:17 +00:00
riastradh
81f56cd2a7
Polish the Apple SMC code with commentary and little fixes.
2014-04-01 17:49:05 +00:00
riastradh
0f339fa6a5
Rework Apple SMC device attachment goo again.
...
Less bookkeeping at the expense of iteration over all devices when
rescanning applesmc.
2014-04-01 17:48:52 +00:00
riastradh
9456e37730
Rework Apple SMC attachment goo and split into multiple modules.
...
The four modules are apple_smc for the core functions, apple_smc_acpi
for attachment at acpi, and apple_smc_fan & apple_smc_temp for stuff
on the SMC.
Seems like there's a lot more bookkeeping necessary to maintain
children of an applesmc device implemented by loadable modules.
Maybe there's a better way I just haven't figured out yet.
2014-04-01 17:48:39 +00:00
riastradh
0396c57641
First draft of drivers for the Apple System Management Controller.
...
Device interface derived by reading the Linux driver source code and
<http:///www.parhelia.ch/blog/statics/k3_keys.html > as of 2012-12-05.
Includes support for attaching fan and temperature sensors to sysmon.
No accelerometer yet.
Compile-tested only, based on some run-testing of experiments from
userland. Module attachment is not quite finished, so it won't work
yet.
2014-04-01 17:47:36 +00:00
kardel
b538a8f986
remove stray 'return 0;' that effectively disabled atouint().
...
Hi Christos!
2014-04-01 17:34:44 +00:00
jakllsch
ade3ce5326
Add NetBSD-specific adjustments to gnu-efi.
2014-04-01 16:22:45 +00:00
jakllsch
b2c829d73a
Import gnu-efi-3.0u
2014-04-01 16:16:05 +00:00
jakllsch
9564062d7e
Add gnu-efi2netbsd script to help import the BSD-licensed parts of gnu-efi.
2014-04-01 16:10:56 +00:00
christos
be69e7dad5
regen
2014-04-01 15:35:57 +00:00
christos
0059a4baa6
avoid making too large diffs by restoring length in non-debugging mode to 10
2014-04-01 15:35:41 +00:00
christos
fc13ff6c20
- print ascii if debug
...
- fold to 8 columns
- don't exit with random values
- change sccs magic in the generated header file
2014-04-01 15:33:22 +00:00
riastradh
82782468f9
Fix volatile qualifiers in drm2 <linux/atomic.h>.
2014-04-01 15:28:52 +00:00
riastradh
53da951f61
Explicitly kassert the precondition c_done != 0 in _completion_claim.
2014-04-01 15:19:37 +00:00
christos
8ff570d103
Remove SCCS prefix from RCS string!
2014-04-01 15:19:29 +00:00
riastradh
72c8acb6af
Move <linux/completion.h> from drm2 to external/bsd/common.
2014-04-01 15:12:38 +00:00
riastradh
fb4363c7d3
kernel.h and list.h have already been moved to external/bsd/common.
...
With apologies to future revision control systems for not making it
clear this is effectively a rename.
2014-04-01 15:10:23 +00:00
riastradh
579dbc3bf5
Make drmkms find header files from sys/external/bsd/common.
2014-04-01 15:08:58 +00:00
riastradh
f2bbabef07
Merge changes from drm2 <linux/kernel.h> to common <linux/kernel.h>.
2014-04-01 14:57:58 +00:00
riastradh
b983224973
Add some more Linux completion operations.
...
Adapted from a patch by nick@.
2014-04-01 14:55:20 +00:00
christos
8750e04635
Check for bread errors before we do the size check. Otherwise we de-reference
...
NULL...
2014-04-01 14:28:17 +00:00
martin
2669e011af
Seems we use MBR labels
2014-04-01 14:09:14 +00:00
martin
2ed0d22319
Rearrange order of includes
2014-04-01 14:08:50 +00:00
martin
e1fb7646e5
Do not set MDSET_RELEASEDIR - need to revisit
2014-04-01 14:06:38 +00:00
pooka
d610791504
Wrap ipflow_create() & ip6flow_create() in kernel lock. Prevents the
...
interrupt side on another core from seeing the situation while the ipflow
is being modified.
2014-04-01 13:11:44 +00:00
ozaki-r
3c88241678
Add a missing comma
2014-04-01 12:57:46 +00:00
dsl
972ec8228f
Revert most of the machdep sysctls to 32bit
2014-04-01 07:16:18 +00:00
skrll
1f54270ac7
Trailing whitespace.
2014-04-01 06:55:29 +00:00
skrll
710e157709
Remove unnecessary { } around code block. No functional change.
2014-04-01 05:37:35 +00:00
uwe
29b3420ba5
Drop sci0 from "floppy" case too.
2014-04-01 01:10:14 +00:00
pettai
3b429a7601
Import mDNSResponder-320.16, merge, fix conflicts
2014-03-31 23:26:30 +00:00
pettai
e28a8d2c02
Import mDNSResponder-320.16, as previous import (258.14) is quite old
2014-03-31 23:21:21 +00:00
christos
26c6de4318
fix eisa_intr_string
2014-03-31 20:51:20 +00:00
christos
a28483c355
adjust to new pci_intr_string signature
2014-03-31 20:46:41 +00:00
christos
df701effde
fix typo
2014-03-31 20:44:19 +00:00
joerg
bd0f2dba11
Landisk has no sci0.
2014-03-31 20:24:09 +00:00
martin
606e79f9ab
Typo
2014-03-31 19:29:21 +00:00
skrll
29dc889133
Deal with large page mappings in l2pte_set.
...
Now the RPI can get passed setting the new TTB.
ok matt@
2014-03-31 18:33:21 +00:00
christos
652c754390
remove swap; these days x86 machines don't need it.
2014-03-31 18:18:45 +00:00
christos
1ccc28a220
provide a -r rootdev option to handle the wd/sd/ld lossage.
2014-03-31 18:18:29 +00:00
christos
08207c1137
these changes produce a bootable system under qemu, but its root is trashed.
2014-03-31 17:05:03 +00:00
christos
b87f017469
Add preliminary support for creating x86 usb sticks with mkimage.
...
This is untested, and just a checkpoint of the work. Image looks
ok, but I have not tried if it boots.
2014-03-31 16:20:48 +00:00
riastradh
1a17e0f4f7
Move the drmkms i2c dependencies to where they belong.
2014-03-31 13:38:44 +00:00
christos
34ebc08a7e
make a copy of the interrupt string in buf.
2014-03-31 13:12:55 +00:00
christos
e8c3f5b299
PR/48692: Henning Petersen: Missplaced paranthesis in bin/ed gbl.c and main.c
2014-03-31 12:55:46 +00:00
martin
2997c336e2
Adapt intr_string signature
2014-03-31 12:38:40 +00:00
martin
a7a8af5f88
Adapt to current (and new pkgsrc toolchain)
2014-03-31 11:43:53 +00:00