Commit Graph

77669 Commits

Author SHA1 Message Date
chs
dd82ad8e2c eliminate the VM_PAGER_* error codes in favor of the traditional E* codes.
the mapping is:

VM_PAGER_OK		        0
VM_PAGER_BAD		        <unused>
VM_PAGER_FAIL		        <unused>
VM_PAGER_PEND		        0 (see below)
VM_PAGER_ERROR		        EIO
VM_PAGER_AGAIN		        EAGAIN
VM_PAGER_UNLOCK		        EBUSY
VM_PAGER_REFAULT	        ERESTART

for async i/o requests, it used to be possible for the request to
be convert to sync, and the pager would return VM_PAGER_OK or VM_PAGER_PEND
to indicate whether the caller should perform post-i/o cleanup.
this is no longer allowed; pagers must now return 0 to indicate that
the async i/o was successfully started, and the caller never needs to
worry about doing the post-i/o cleanup.
2001-03-10 22:46:45 +00:00
cgd
b42009b570 actually, don't define SHQUOTE_USE_MULTIBYTE 2001-03-10 22:37:54 +00:00
bjh21
29e609e3c5 Update for recent changes to the i82586 driver. 2001-03-10 22:32:17 +00:00
bjh21
ca5024c3a1 Add code to point out to the user if their CPU isn't supported, and to
suggest what kernel options to use to get it to work.
2001-03-10 21:27:06 +00:00
christos
fc701562b4 make these lint properly.
1. don't use MB_CUR_MAX, but MB_LEN_MAX because MB_CUR_MAX is a variable.
2. return a size_t type.
3. added const cond on do while macros.
4. remove unused variables and code,
2001-03-10 20:54:53 +00:00
bjh21
b362a4bef3 Change the meaning of cpu_class. It now has one value for each core we
support, which corresponds to one for each CPU_* option, or one for each
cpufunc structure.

Also remove some more residual code for the support of multiple and non-ARM
CPUs.
2001-03-10 20:15:46 +00:00
bjh21
c24be229f5 Don't allow the I and F (IRQ and FIQ disable) flags to be set in the PSR
by sigreturn.  This prevents user processes disabling interrupts by messing
with their signal context.
2001-03-10 20:08:55 +00:00
jdolecek
9d66d7180b add 'why' argument to the channel attention hook function; this argument
is similar to the one passed to hwreset hook function
2001-03-10 20:04:30 +00:00
bjh21
b01c113e98 ARM7TDMI != ARM7 for our purposes (it has an ARMv4 CP15). 2001-03-10 20:03:51 +00:00
jdolecek
c0d40387a0 improve the error messages for IE_TDR_OPEN & IE_TDR_SHORT 2001-03-10 19:59:13 +00:00
jdolecek
a557028a27 improve description of IE_TDR_OPEN & IE_TDR_SHORT a bit 2001-03-10 19:57:38 +00:00
toshii
a9e9b871de Add sacc, sacpcic, and sagpcic. 2001-03-10 19:05:40 +00:00
toshii
f14e35f58e Driver code for SA11x1 based PCMCIA devices. 2001-03-10 19:01:27 +00:00
toshii
79d31f6571 Common driver code for SA11x0 PCMCIA function. 2001-03-10 19:00:39 +00:00
toshii
57abc92eeb This file is no longer used. PCMCIA driver code is divided into
sa11xx_pcic*, sa11x0_pcic* and sa11x1_pcic*.
2001-03-10 18:59:22 +00:00
tsutsui
51cdfbfa9b Fix error on config without options news1700.
DC_BE and IC_BE bits are enabled at runtime since rev 1.7.
2001-03-10 18:58:16 +00:00
toshii
2d36b2225d Support SA1111 companion chip. 2001-03-10 18:50:37 +00:00
chs
941da355cf in getnewbuf(), when we need to write a buffer before reusing it,
return NULL instead of restarting the loop since we might sleep
while starting the i/o.  this tells getblk() to check if someone else
created the buffer while we slept.  from OpenBSD.
2001-03-10 18:43:55 +00:00
wiz
63f7d31eeb Fix -r: Show REQ/+REQUIRE file for a package, if existing. Fixes pkg/12210.
Patch by Hubert Feyrer.
Note: REQ support has been taken out of bsd.pkg.mk in v1.628; since
pkg_create still supports it, we should support it in pkg_info too,
though.
2001-03-10 18:41:45 +00:00
tsutsui
7346883e17 Don't include opt_compat_svr4.h on building LKM. 2001-03-10 18:39:04 +00:00
rearnsha
bf5e18af99 Add param.h to INCS. 2001-03-10 18:32:25 +00:00
kent
4fcf0118dd Add TAMURA Kent to the list. 2001-03-10 18:14:18 +00:00
kim
c3f56871e6 added port-arm 2001-03-10 17:53:00 +00:00
toshii
356943c6c4 Fix nit. Read functions were actually writing. :-( 2001-03-10 17:32:14 +00:00
uch
c5be09ee66 add README. 2001-03-10 16:24:54 +00:00
bjh21
0bcb071684 Correct CPU_ID_ISOLD() and CPU_ID_IS7(). 2001-03-10 16:19:59 +00:00
toshii
3a52278a23 Map GPIO registers in saip. 2001-03-10 15:34:38 +00:00
toshii
4c08e34e90 hpcarm/hpcarm/ast.c is no longer. 2001-03-10 14:10:51 +00:00
wiz
98007ad86a libc.so minor -> 72 for shquote()/shquotev() 2001-03-10 13:56:41 +00:00
toshii
b2cb6de80e Use sa11x0_bs_tag instead of mainbus_bs_tag. 2001-03-10 13:34:34 +00:00
briggs
0828a1bcd0 Make this work on a PowerPC system:
- Load the DMA address a byte at a time, and
 - Use bus_space_read_stream_2() instead of bus_space_read_2() when reading
   the byte-stream of configuration data from the card.

Sanity-checked on both i386 and sandpoint.  Reviewed by ad.
2001-03-10 13:30:55 +00:00
toshii
a62d9f6fa0 Handle the offset argument in bus_space_{read,write}* correctly. 2001-03-10 13:29:38 +00:00
toshii
4333644371 Copy bus_space_map() function from arm/mainbus/mainbus_io.c. 2001-03-10 13:27:53 +00:00
wiz
c62849a451 Minor cleanup, no functional change. Patch by Hubert Feyrer. 2001-03-10 13:18:09 +00:00
wiz
3da563eb15 Fix typo reported by Geoff C. Wing in pkg/12369. 2001-03-10 12:57:02 +00:00
fair
232ed76f81 Add text to more clearly document that tcpd is not needed, per PR 10754.
Add a FILES section. Add a few more references to SEE ALSO.
Clean up nroff nits (e.g. spaces at end of line).
2001-03-10 11:52:51 +00:00
fair
8c43053c52 Add the following text to answer PR 10650:
LDSTATIC        Control program linking; if set blank, link everything
                dynamically. If set to "-static", link everything statically.
                If not set, programs link according to their makefile.
2001-03-10 11:00:37 +00:00
minoura
8cba02bdf9 Turn off options JUPITER temporarily.
This may cause problems on some newer accelerators.
We might have to write a more accurate detect code.
2001-03-10 03:23:09 +00:00
cgd
11442ea916 add shquote and shquotev manual pages 2001-03-10 02:21:56 +00:00
cgd
7aeb4f4018 minor=72, for shquote()/shquotev(). 2001-03-10 01:53:14 +00:00
cgd
360514740c Add shquote() and shquotev(). From the manual page:
The shquote() and shquotev() functions copy strings and transform the
     copies by adding shell escape and quoting characters.  They are used to
     encapsulate arguments to be included in command strings passed to the
     system() and popen() functions, so that the arguments will have the cor-
     rect values after being evaluated by the shell.
2001-03-10 01:51:49 +00:00
cgd
713e55ce85 add prototypes for shquote() and shquotev() 2001-03-10 01:46:08 +00:00
itojun
6924e04336 redo of previous: do not destroy v->val if str points to v->val.
XXX GC of v->val
2001-03-10 00:41:48 +00:00
leo
b44e732ff6 Expand bus_dma implementation. It will now handle the bounce buffer
extensions needed to make the isa floppy driver on the Milan work.
2001-03-09 20:55:46 +00:00
thorpej
85868e3c09 Pay attention to BUS_DMA_STREAMING when builing an IOMMU TTE. 2001-03-09 20:05:39 +00:00
toshii
9224009c5d Fix bugs in delay().
- it could wait infinitely.
 - large roundoff error.
2001-03-09 18:55:29 +00:00
bjh21
1f9f430e03 Patch from Richard Earnshaw:
Add some calls to drain the write buffers -- these are particularly
important when we are trying to synchronize I$ and D$.
2001-03-09 16:24:51 +00:00
bjh21
5a6e5a05e3 Increase the size of regions for which we use the single line flush
commands -- profiling shows this to be a major win over flushing the
entire cache (since the likelihood is that such lines won't be in the
cache anyway).

Patch supplied by Richard Earnshaw.
2001-03-09 16:17:19 +00:00
briggs
8f833ca839 Goes along with rev. 1.25/1.26 of if_sip.c -- forgot to commit. 2001-03-09 16:12:29 +00:00
explorer
b12c43f70a Only lock the pack in if the disk device is a removable one. This fixes a
problem with Hitachi SCA drives
2001-03-09 16:07:39 +00:00