Commit Graph

180795 Commits

Author SHA1 Message Date
pgoyette 7450d74baf For multi-byte transfers, the bytes need to be written to or read from
consecutive data registers.  Discovered while debugging sdtemp(4) driver
which does _only_ 16-bit transfers!
2009-05-09 07:13:57 +00:00
pgoyette bbb7ea8f3e You can't use a BYTE protocol to read 16-bits worth of data from the
i2c bus.  Discovered while debugging my sdtemp(4) driver.
2009-05-09 04:56:39 +00:00
tsutsui cd77526abc Add necessary parentheses to roundup2() macro. 2009-05-09 04:03:47 +00:00
tsutsui 8de92473d5 Also check if cache line alignment is power of two in KASSERT(). 2009-05-09 03:54:10 +00:00
tsutsui 42731279ac Use roundup2() macro to calculate cache line aligned offsets of
DMA descriptor members in shared memory.
The previous ones could return wrong values if cache line size is
smaller than structures, and we can assume cache line size is
power of two to avoid division ops.
2009-05-09 03:50:16 +00:00
yamt bed2400e59 lockdebug fixes for rw_tryupgrade/rw_downgrade. 2009-05-09 03:33:10 +00:00
tsutsui 0eda417b19 Move allocation of DMA shared memory with bus_dma(9) ops
from MD attachments to MI iee_attach().
Tested on HP9000 735/125. Compile test only on ews4800mips.

XXX: more strict bus_dmamap_sync(9) calls are required in various places.
2009-05-09 03:22:20 +00:00
tsutsui d9e806321a Call bus_dmamap_sync(9) more properly on DMA polling. 2009-05-09 02:29:29 +00:00
tsutsui 511e1d5877 - use BUS_DMA_COHERENT rather than using MIPS_KSEG1_START
- use bus_dmamap_sync(9) rather than mips_dcache_wbinv_range()
- call bus_dmamap_sync(9) properly on DMA polling

XXX: untested due to lack of hardware
2009-05-09 02:18:48 +00:00
tsutsui 55141e130f Check return values of pdc_call() in pdcgettod() and pdcsettod(). 2009-05-09 01:59:17 +00:00
tsutsui dc37bc9936 - lowercase wapbl for a man page link
- add man page suffix to rpcgen
2009-05-09 01:58:02 +00:00
joerg a0fa8c3062 softc split as needed by the rest of the drm code. Add basic
suspend/resume hooks.
2009-05-09 01:29:01 +00:00
christos 5b33ded1f3 set BINDIR 2009-05-08 23:36:42 +00:00
christos 03e1ca86a3 no more magic 2009-05-08 23:28:46 +00:00
dyoung 796d625235 Install a link from vfs_mountalloc.9 to vfssubr.9. 2009-05-08 22:39:18 +00:00
dyoung 7a980e1db0 Document vfs_mountalloc(9). 2009-05-08 22:37:32 +00:00
wiz 77da6fad59 Spelling fixes. 2009-05-08 21:52:20 +00:00
wiz 81ee850d25 Use more markup, use more appropriate markup. Improve wording.
Sort options and sections. Make ready for HTML output. Fix xref.
Add -0 to SYNOPSIS.
2009-05-08 21:45:52 +00:00
wiz 61e7e15ed9 Various fixes. More formatting. New sentence, new line. 2009-05-08 20:26:48 +00:00
wiz 83bb9c409c New sentence, new line. 2009-05-08 20:20:39 +00:00
wiz 97f58950ee Drop trailing whitespace. 2009-05-08 20:19:39 +00:00
wiz 96baba0b96 Mention apropos(1) -S and -s. 2009-05-08 20:18:10 +00:00
christos 443bace5e2 add glue for libmagic 2009-05-08 17:54:22 +00:00
christos 8ee7d2207a add compat glue 2009-05-08 17:53:59 +00:00
christos 54f4998513 bump libmagic.so 2009-05-08 17:50:56 +00:00
christos a27dc49276 mention new file 2009-05-08 17:49:18 +00:00
christos b06c2969bf hook libmagic 2009-05-08 17:47:44 +00:00
christos c0990c9457 unhook libmagic 2009-05-08 17:47:22 +00:00
christos 108470e3b9 unhook file 2009-05-08 17:47:00 +00:00
christos da26e34f7b hook file 2009-05-08 17:45:49 +00:00
christos 35eb44d139 use new file 2009-05-08 17:45:22 +00:00
christos 0d3ed1b0bc WARNS=4 2009-05-08 17:43:54 +00:00
christos 9132e9e090 apply our local patches 2009-05-08 17:34:34 +00:00
christos 7c25ef2346 build glue and lint fixes 2009-05-08 17:28:01 +00:00
tsutsui dc8b93ef3c Make install.md script probe cd(4) devices properly.
Problem reported by doomwarrior on port-hp300.
2009-05-08 17:18:06 +00:00
christos d60f571eaf add import script 2009-05-08 16:40:10 +00:00
christos de156261f7 unmiff version 2009-05-08 16:39:46 +00:00
christos 1b108b8bde from ftp.astron.com 2009-05-08 16:34:59 +00:00
yamt 9031548af6 exit1: fix a race with do_sys_wait/proc_free. 2009-05-08 13:32:59 +00:00
pooka a9b3c18ec6 lseek fd to start before sending, creates a clearer test case. 2009-05-08 13:03:46 +00:00
wiz 0407c1b885 Add support for -S and -s option, which limit the results to a specific
architecture or section, respectively.
Based on a patch for OpenBSD from Ingo Schwarze, modified for NetBSD by me.

Add some constification.

Ok lukem@ (to the non-constified version of the patch).
2009-05-08 12:48:43 +00:00
christos 9371e91bff reorder code to avoid uninitalized variable. 2009-05-08 12:06:11 +00:00
elad 17c0c1e672 Add and use a network scope action/request for tun(4), similar to ppp(4),
sl(4), and strip(4).
2009-05-08 11:09:43 +00:00
rmind 76fc93c832 ufs_setattr: fix previous - return in error path does not finish the
transaction (hi elad).
2009-05-08 10:52:00 +00:00
skrll 785840b34d Provide ucas for hppa. 2009-05-08 10:12:55 +00:00
skrll ec76129d54 Whitespace. 2009-05-08 09:33:57 +00:00
agc b1b5870651 + add a --help option
+ if setrlimit exists, set the core dump size to be 0
  (with thanks to mrg for the reference implementation)
+ get rid of __ops_start_cleartext_sig/__ops_start_msg_sig abstractions
  and just "export" the __ops_start_sig function - the function is not
  actually exported, just usable by other __ops functions
+ bump internal version number to 0.99.2, autoconf version to 20090506
+ prettify usage message output
2009-05-08 06:06:38 +00:00
kefren 1130fba7b6 Don't call callout_stop() without callout_init()
Fixes PR/41364
2009-05-08 05:18:34 +00:00
cegger 2760809573 CFATTACH_DECL2 is no longer used. remove it.
ok dyoung@
2009-05-07 22:17:41 +00:00
elad d4ee4ec689 Remove some more "priv" variable usage in favor of kauth(9) calls. 2009-05-07 21:51:47 +00:00