Commit Graph

28388 Commits

Author SHA1 Message Date
jmcneill
1bfce4c367 don't kmem_alloc with IPL_VM mutex locked, spotted by rmind 2011-07-09 17:55:20 +00:00
riastradh
0343546951 Release mutex before unmapping DMA memory.
Fixes a LOCKDEBUG panic triggered by `hdaudioctl set'.

ok jmcneill
2011-07-09 16:01:31 +00:00
jmcneill
ce779416c5 add digital capture support 2011-07-09 15:00:43 +00:00
jmcneill
6102d1726d install dtvio.h, dtvio_demux.h, dtvio_frontend.h 2011-07-09 14:52:02 +00:00
jmcneill
ef3e32e573 add digital TV framework which implements a subset of Linux DVB APIs 2011-07-09 14:46:56 +00:00
mrg
bc7506b1cc avoid some uninitialised variable warnings. 2011-07-08 09:32:45 +00:00
mrg
58e3c9ef87 initialise chuck_rptr as well, instead of chuck_read twice. 2011-07-08 03:29:15 +00:00
sjg
98cc584599 Set FILEMON_VERSION to 3 2011-07-04 23:37:30 +00:00
joerg
258624699d Fix memset usage. 2011-07-04 16:06:17 +00:00
mrg
3be60f1af7 avoid some uninitialised variable warnings from GCC 4.5. i'm pretty
sure they can't happen in practise, but i can see why GCC isn't sure.
2011-07-02 13:21:30 +00:00
mrg
1ff8330243 fix sequence point errors. diff explains best:
-       sc->sc_playbuf = ++sc->sc_playbuf % sc->sc_nbufs;
+       sc->sc_playbuf = (sc->sc_playbuf + 1) % sc->sc_nbufs;
2011-07-02 13:14:46 +00:00
mrg
d561dfcd7b listen to GCC 4.5 and change "!!x | y" into "(!!x) | y". 2011-07-02 13:13:22 +00:00
mrg
cbecf97589 avoid -Wenum-compare issue. 2011-07-02 13:12:44 +00:00
mrg
aefb16933b use an unsigned type for unsigned calcations. avoid GCC 4.5 warnings. 2011-07-01 23:48:20 +00:00
ahoka
f1e7eb4d21 Make this actually compile by adding a wrapper function which calls
flash_io_submit.
2011-07-01 16:46:13 +00:00
mrg
7c2e122f42 apply some (uintptr_t) between pointer and int casting. 2011-07-01 08:38:10 +00:00
matt
0a6157e048 Fix uninitialized data warning found by gcc 4.5 2011-07-01 07:45:39 +00:00
wiz
4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
hannken
117bf62eb2 Make vnd(4) work on sparse files:
- Make the strategy decision a device flag and set VNF_USE_VN_RDWR for
  files known to be sparse.
- Change handle_with_rdwr() to use POSIX_FADV_NOREUSE advise to disable
  read ahead and keep the size of mapped pages below 1 MByte.

No objections on tech-kern@.
2011-06-29 09:12:42 +00:00
matt
459e142a08 Add some inital changes for the Freescale eSDHC. 2011-06-29 06:21:16 +00:00
macallan
d981780965 make the EDID buffer pointer void * 2011-06-29 05:00:06 +00:00
macallan
dcc7dd1b42 make sizes unsigned 2011-06-29 04:50:32 +00:00
macallan
7ebc354766 support WSDISPLAYIO_GET_EDID 2011-06-29 03:14:36 +00:00
macallan
f4441d032a declare wsdisplayio_get_edid() 2011-06-29 03:11:59 +00:00
macallan
8db9d73a65 dumping ground for generic driver convenience functions
So far it contains only a generic WSDISPLAYIO_GET_EDID implementation that
relies on EDID data being passed to drivers as a device property.
2011-06-29 03:09:37 +00:00
macallan
5058059930 add two new ioctl()s:
WSDISPLAYIO_GET_EDID to retrieve EDID data from display drivers
WSDISPLAYIO_SET_POLLING to control polling with VCONS_DRAW_INTR
2011-06-29 03:06:16 +00:00
ahoka
85c2d48387 dont define FLASH_DEBUG in header 2011-06-28 21:01:23 +00:00
ahoka
df8b0211cd use proper format string 2011-06-28 20:58:00 +00:00
ahoka
0e8f635bc2 Refactor flash and nand driver, so we can reuse the io thread code
in the future nor driver (and any other future driver).

Also simplify some of the code in the process, eg. saner flash attachment.
2011-06-28 18:14:11 +00:00
sborrill
4492ea236c Regen 2011-06-28 14:58:33 +00:00
sborrill
7601ad83c0 Add Nvidia GeForce 8500 GT 2011-06-28 14:22:36 +00:00
ahoka
fff8508658 adjust to nand changes 2011-06-28 10:32:45 +00:00
jruoho
9af3996adf Adjust a prototype due ACPICA 20110623. 2011-06-28 09:09:43 +00:00
ahoka
52682d394e follow bus_space conventions in naming 2011-06-28 07:16:11 +00:00
ahoka
9f1cc1c376 disable a debug printf and split it, as it's acutally two conditions 2011-06-28 07:05:19 +00:00
ahoka
a148a9e65b use nosize 2011-06-28 07:00:17 +00:00
nonaka
4574f69318 regen. 2011-06-27 14:53:25 +00:00
nonaka
ca0829d933 Added some JMicron PCI-E SD/MMC/MS/xD Host Contollers. 2011-06-27 14:52:44 +00:00
matt
11f078c849 When printing the interrupt string, be like the other driver and do
"alc0: interrupting at msi 1" instead of "alc: msi 1".
2011-06-23 17:42:46 +00:00
jruoho
769cd829a3 Note some long-term difficult goals. 2011-06-23 16:56:07 +00:00
ahoka
de9f857863 Initial work on a NOR driver; it's commited here as is,
so I can cooperate with Cliff Neighbors on finishing it.

Not any way connected to the build.
2011-06-22 21:59:15 +00:00
jruoho
572cbf005a Regen. 2011-06-22 19:26:36 +00:00
jruoho
56a1544615 Add SMO8800. 2011-06-22 19:26:22 +00:00
matt
cc137877b5 Add inline accessors for pba_pc and pa_pc so that <machine/pci_machdep.h>
can use them in inline functions.
2011-06-22 18:03:30 +00:00
jruoho
4fb79b4e25 Get rid of RUN_ONCE(9). Should fix PR # kern/44043. 2011-06-22 08:49:54 +00:00
jruoho
796e6c822e Contrary to the previous, use aprint_error(9) but suppress warnings
caused by the (optional) BIOS-based dynamic voltage and frequency scaling.
2011-06-22 08:05:10 +00:00
kiyohara
d25622d743 More stride for PSIONTEKLOGIX NETBOOK PRO. 2011-06-21 15:13:34 +00:00
hannken
58698054d5 Use kthread_join() to wait for the termination of the helper thread. 2011-06-21 13:59:41 +00:00
hannken
f33030999c When reading or writing the backing store us POSIX_FADV_NOREUSE access hint
to prevent read ahead.
2011-06-21 12:41:24 +00:00
hannken
19e20982bb Make sure sensor state is valid before calling sysmon_envsys_sensor_attach().
Ok: Paul Goyette <pgoyette@netbsd.org>
2011-06-21 12:38:27 +00:00