Commit Graph

214191 Commits

Author SHA1 Message Date
christos
a1801097ec Avoid ssp re-definitions for the functions we provide. 2012-10-31 13:48:12 +00:00
apb
9c5c1c9f13 Replace getarch and validatearch with table-driven implementations. 2012-10-31 13:05:09 +00:00
msaitoh
bbc956a9be Add SIOCGETHERCAP ioctl.
There was no way to know the setting of ec_capabilities and ec_capenable
other than grepping the source.

See http://mail-index.netbsd.org/tech-kern/2010/07/28/msg008613.html
2012-10-31 10:17:34 +00:00
martin
73809d4025 gcc 4.1 is not smart enough to notice "arg" is only used when initialized
correctly and produces a "might be used unintialized" warning.
2012-10-31 08:54:39 +00:00
wiz
f54e55eeb8 Remove trailing whitespace. 2012-10-31 06:53:14 +00:00
macallan
2e9cc2efbb implement limits and support event monitoring
now emergency shutdown on low battery works
2012-10-31 05:46:49 +00:00
macallan
9414e51eaf in sme_battery_check():
- don't assume that all batteries have exactly one ENVSYS_INDICATOR
- check capacity and charge sensors for ENVSYS_SVALID before using them
now this works on macppc
2012-10-31 05:42:47 +00:00
wiz
4aa4bc5963 Remove trailing whitespace. 2012-10-30 23:03:02 +00:00
riz
50c33ca85f Make this compile. (Still untested) 2012-10-30 22:43:36 +00:00
rkujawa
1941e3b93d Note that driver was rewritten. 2012-10-30 22:29:01 +00:00
ahoka
9867e9763a Add support for samsung devices, currently a draft to aid Kirkwood NAND
driver development.
2012-10-30 22:03:00 +00:00
rkujawa
6ee58bf1d4 Note enchancements that appeared in NetBSD 6.0. 2012-10-30 21:24:26 +00:00
skrll
4da6f53d44 Whitespace. *sigh* 2012-10-30 20:20:45 +00:00
skrll
f6338e969a Query the EMMC clock rate and use it if it's available. 2012-10-30 20:14:22 +00:00
skrll
96090e53fb Add VCPROPTAG_[GS]ET_CLOCK{R,ST}ATE 2012-10-30 20:11:37 +00:00
skrll
b74cb3be91 Make rpi_bootparams static 2012-10-30 20:02:15 +00:00
skrll
3f95ca4b13 Comment out VERBOSE_INIT_ARM by default 2012-10-30 17:26:29 +00:00
christos
293b3c5124 add new divsi3 related files. 2012-10-30 16:36:03 +00:00
christos
febe1abc11 add new files to fix static linking 2012-10-30 12:42:37 +00:00
christos
dae8727ffb split udivsi3 and divsi3 to fix static linking. This could be done better. 2012-10-30 12:42:13 +00:00
msaitoh
239d06332e Fix a bug that incorrect arg is passed to pic_block_irqs() on disestablish.
Fixes PR#45371 by Yuichiro Goto.
2012-10-30 07:42:35 +00:00
rkujawa
208853a9ca Add sc_dev removed previously in a moment of insanity. How did this ever work
is beyond me.
2012-10-30 01:17:24 +00:00
mrg
973b51a234 fix a problem in half-configured raid devices, found when a "raidctl -c"
failed, and a "raidctl -C" was run afterwards, triggering mutex locking
issues.  fix this by moving alloc and destroy of mutex/condvar for a
raid device into separate functions, and call the destroy function from
the DO_RAID_FAIL() macro.

probably needs a netbsd-6 pullup.  sigh.
2012-10-30 00:33:11 +00:00
rkujawa
0efb944636 Apparently, clockport present at offset 0xC00 is the first clockport. 2012-10-29 23:45:34 +00:00
macallan
e1335f3be0 don't try to init more than 256 CLUT entries, no matter what colour depth
we're in
2012-10-29 18:11:36 +00:00
para
9334d2fb72 fix format string 2012-10-29 16:25:25 +00:00
para
9a22f48db4 get rid of not used uvm_map flag (UVM_MAP_KMAPENT) 2012-10-29 16:00:05 +00:00
rkujawa
451ad24202 Include bebox.h only in kernel. Make bebox port build again. 2012-10-29 14:13:22 +00:00
chs
1957a22d40 _ARCH_ARM_6 -> _ARM_ARCH_6 2012-10-29 14:09:38 +00:00
chs
1d10c16682 add missing arg to cpu_setttb(). 2012-10-29 14:01:33 +00:00
chs
a10f375e9d and finally, initialize sc_dev now that I added it back. 2012-10-29 13:46:26 +00:00
chs
c924cd90b4 third try is the charm: really make this build again. 2012-10-29 13:40:56 +00:00
kiyohara
686b023ec8 Add sdmmc. 2012-10-29 13:36:59 +00:00
kiyohara
a29e7e5640 Support omap3 SDHC driver. tested on OVERO only. 2012-10-29 13:30:25 +00:00
chs
bfba6f2a6d remove unused file. 2012-10-29 13:19:15 +00:00
chs
f187b4e631 remove an unnecessary cast.
use the standard name for the third arg to attach.
adjust some whitespace.
2012-10-29 12:59:43 +00:00
chs
0e005595b8 fix compile problems. 2012-10-29 12:55:41 +00:00
chs
5a4166a003 fix compile problems (for POWERMAC_G5). 2012-10-29 12:52:43 +00:00
chs
b8c34ff8df fix device/softc split errors. 2012-10-29 12:51:38 +00:00
matt
2aa18ae8d4 Change a KASSERT to a KASSERTMSG. 2012-10-29 05:25:19 +00:00
matt
57d76ca064 Make bus_dmamap_sync a noop for BookE. 2012-10-29 05:23:44 +00:00
rmind
64647e51e4 Implement NPF table listing and preservation of entries on reload.
Bump the version.
2012-10-29 02:27:11 +00:00
msaitoh
a4f424757e Don't use old NBPFILTER macro and use new bpf_mtap() API.
It fixes a bug that et(4) can't use bpf.
2012-10-29 01:36:33 +00:00
alnsn
87a1a6c0f7 Comment bd_jitcode member. 2012-10-28 21:12:44 +00:00
alnsn
9f58677d69 Document net.bpf.jit sysctl. 2012-10-28 20:19:30 +00:00
christos
fb6139e643 add a cast to appease the compat build. 2012-10-28 19:02:29 +00:00
christos
41e36dd0ba welcome to 2012h 2012-10-28 17:13:59 +00:00
christos
2f573b07f7 welcome to tzcode2012h via patch. 2012-10-28 17:11:33 +00:00
joerg
0ee52b72c8 Update LLVM/Clang snapshot to r166772. Now builds without RTTI and
exceptions. Also features the first round of a loop vectorizer.
2012-10-28 17:07:44 +00:00
joerg
6ab9dfe67b For GCC 4.1 and later, use the __alignof__ keyword. 2012-10-28 17:06:40 +00:00