Commit Graph

232516 Commits

Author SHA1 Message Date
christos
37efed977c destroy the pool and the mutex when detaching. 2014-12-30 20:57:37 +00:00
christos
ef78102379 - only create ccd's when we ask them to be created.
- keep track of the number of active ccd's so that we don't modunload and
  crash
- fix formatting.
- don't attach 4, the argument is not used.
2014-12-30 20:29:42 +00:00
christos
e0e2723470 return quickly from the GET ioctl to avoid playing with NULL. 2014-12-30 20:18:44 +00:00
christos
8d8eaf1f35 Don't forget to destroy the mutex before freeing the nat struct on a failed
load.
XXX: pullup -7
2014-12-30 19:11:44 +00:00
mlelstv
c5ff2ab77e Fix locking error.
Clear EPASSTHROUGH return value from disk_ioctl.
Add missing wedge ioctls.
2014-12-30 19:11:05 +00:00
jmcneill
806354ed2f Actually set slave addr / reg. Wait for start irq after sending start before
transferring data. Add RKIIC_DEBUG kernel option.
2014-12-30 18:57:36 +00:00
mrg
4fe8b4e652 - this is midirecord(1) not midiorecord(1)
- add the -o handling to the getopt() and man page
- bump date
2014-12-30 18:52:47 +00:00
palle
91a8591307 sp_tlb_flush_*: Avoid run-time check for cpu type/implementation by installing correct function in cache_setup_funcs() 2014-12-30 18:29:20 +00:00
jmcneill
211b6cbf4d specify irq numbers for rkiic so we can avoid polled mode when possible 2014-12-30 17:28:52 +00:00
jmcneill
eb139c05f1 drop clock rate to 400kHz 2014-12-30 17:28:11 +00:00
jmcneill
ff912df066 enable rkiic and iic 2014-12-30 17:16:29 +00:00
jmcneill
4642cd94ee add I2C driver 2014-12-30 17:15:31 +00:00
jnemeth
026ad6683b Slowly bring this thing kicking and screaming into the 21st century:
- use struct disk_geom
- add wedge support
2014-12-30 12:42:16 +00:00
jmcneill
d21eda17ec MMC0/VBUS GPIO changes for Radxa Rock, from FUKAUMI Naoki <fun@naobsd.org>.
XXX Need to find a way to handle board-specific configurations.
2014-12-30 12:38:20 +00:00
jmcneill
89766d7638 Fix inverted logic of card_detect_n bit, from FUKAUMI Naoki <fun@naobsd.org>. 2014-12-30 12:36:06 +00:00
wiz
6fc026f9ce Sync usage with man page. 2014-12-30 12:14:34 +00:00
wiz
bd9cac43f4 Describe -T. Sync SYNOPSIS with options. Sort options.
Remove trailing whitespace. Use more markup.
2014-12-30 12:10:07 +00:00
martin
3cbe7ed1ad Revise previous: with RUN_SILENT there is never a good reason to create
the output window unless there is actually output to display.
2014-12-30 10:10:22 +00:00
nonaka
a8f2caddcc Also need to flush an object from CPU domain. 2014-12-30 09:58:53 +00:00
mrg
c0b0b4cb23 fix !AUDIO_DEBUG build. 2014-12-30 07:39:15 +00:00
mrg
c180abe317 - fix a confusion between midi(4) unit and connected to sequencer
devices.
- minor comment/debug clean ups.

fixes problems attempting to read or write from the right midi(4)
device using the sequencer(4) device when one or more of the
non-final devices fails to open with midiseq_open().
2014-12-30 07:33:44 +00:00
mrg
90a7d6260e - check sc->dying after sleeping in several more places, and
convert it into EIO error where necessary.
- remove a wrong additional mutex_exit() call.
- make sure to check sc->dying under the device lock.
2014-12-30 07:28:34 +00:00
mrg
04bd1702be note midirecord. 2014-12-30 07:18:42 +00:00
apb
f4970596ba rc_obsolete_vars is a list of pairs, so format it with one pair per line. 2014-12-30 07:02:29 +00:00
mrg
34602bc4ec only prev_div needs to be static.
add channel to some log messages.
2014-12-30 06:08:14 +00:00
mrg
e2cc3fc481 install midirecord. 2014-12-30 04:22:18 +00:00
mrg
3f4db5ffea add a program to record midi files from /dev/music.
this doesn't process several potential result that netbsd does
not output on /dev/music, and should be largely complete for
our current sequencer(4).
2014-12-30 04:14:25 +00:00
jmcneill
bf33f1be32 Add support for setting RK3188/RK3188+ CPU frequency. If the SoC ID is
passed in bootargs matching RK3188 or RK3188+, and the cpu.frequency
option specifies a supported rate (currently 600, 1008, 1608 MHz), the
APLL clock will be adjusted accordingly.
2014-12-30 03:53:52 +00:00
uebayasi
c4f304668a Add entries, sort, etc. 2014-12-30 03:52:03 +00:00
christos
75320acf84 call disk_ioctl. 2014-12-30 02:21:10 +00:00
mrg
9dd3b8ae69 add a decode_uint() function. 2014-12-30 01:22:09 +00:00
jmcneill
bb44b037e5 build fix 2014-12-30 00:19:50 +00:00
jmcneill
f8d18e3dd3 - Set DWC_MMC_F_FORCE_CLK
- Force max sdmmc clk to 24MHz
- Update for simpler dwcmmc clock setup
2014-12-29 23:59:52 +00:00
jmcneill
7ffab44e1e - Simplify clock setup
- Add DWC_MMC_F_FORCE_CLK flag, which forces updating clock for each
  command (apparently required by Rockchip)
- Let bus glue limit the max clk speed used
2014-12-29 23:58:25 +00:00
skrll
3ca8763071 Fixup USB Phy initialisation for Exynos5410.
odroid-xu now detects USB devices.
2014-12-29 22:58:59 +00:00
skrll
6ca4ffb177 Trailing whitespace. 2014-12-29 22:34:08 +00:00
justin
e42c569056 Just abort on currently unsupported functions. 2014-12-29 21:50:09 +00:00
martin
719bfa7d23 Skip rounding mode tests on ARM FPUs that do not allow configuration of them. 2014-12-29 19:51:53 +00:00
wiz
e9d482784b Use more markup. Bump date for previous. 2014-12-29 19:20:22 +00:00
martin
f5c779f5d9 Fix exception status vs mask confusion, of course feenableexcept(),
fedisableexcept() and fegetexcept() all operate on the mask.
2014-12-29 19:11:13 +00:00
mlelstv
0a0ac6a239 document missing disk_set_info function that maintains the device's
"disk-info" dictionary.
2014-12-29 19:07:03 +00:00
mlelstv
c4ffe4b64c clear error for new ioctls. 2014-12-29 18:54:19 +00:00
mlelstv
78d420c356 Implement DIOCGMEDIASIZE and DIOCGSECTORSIZE from FreeBSD. 2014-12-29 18:41:20 +00:00
martin
ffed0c5e5a Include <ieeefp.h> even for the <fenv.h> case since we use fpsetmask()
to detect ARM Cortex NEON fpus.
2014-12-29 18:36:27 +00:00
mlelstv
ddeda108d6 use disk_ioctl to provide DIOCGDISKINFO. 2014-12-29 18:23:57 +00:00
maxv
8dfa44bc87 Small cleanup:
- KNF
 - malloc + memset -> malloc(|M_ZERO)
 - no need to check data == NULL
2014-12-29 17:17:54 +00:00
maxv
6a89606711 I started to KNF this file but quickly ended up figuring out I was not
courageous enough for such ugliness. So I only KNF'ed the first 300
lines.

I'll come back later.
2014-12-29 17:02:39 +00:00
maxv
0f13b9e40d Typos:
- "nessesary" -> "necessary" (comment)
 - "UNEXISTED" -> "NON-EXISTENT" (dprintf)
 - "NON-EXISTANT" -> "NON-EXISTENT" (dprintf)
 - "reach" -> "reaches" (comment)
2014-12-29 16:37:27 +00:00
christos
15f5b75638 abort earlier. 2014-12-29 16:35:38 +00:00
christos
59069b7aab Provide a simple getdisksize() api for gpt(8). 2014-12-29 16:27:43 +00:00