Commit Graph

44962 Commits

Author SHA1 Message Date
bjh21
c7bfcc0130 These are no longer used. 2001-03-10 23:31:32 +00:00
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
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
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
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
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
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
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
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
briggs
75a60f539a More fixes for the DP83815...
- Set the destination address register properly for "perfect match" mode
  in the receive filter setup.
- Do not enable multicast receipt unless we are configured for some multicast.
- Use the "recommended settings" (which set undocumented registers and
  documented-as-reserved fields) for the silicon revision 302h (not 203h,
  as documented in one of the two places in the manual) because the
  documentation is unclear and because those settings fix the card's
  behavior in "perfect match" mode.  Without those settings, the card
  was generating random CRC/invalid symbol errors and generally not
  working unless it was set to be promiscuous.

With these changes, this week's version of the Netgear FA311 works for me.
2001-03-09 16:07:20 +00:00
tsutsui
d507b847c6 Declare constty extern. 2001-03-09 13:35:50 +00:00
toshii
aa76b5208c Make it compile again after arm, arm32 changes. 2001-03-09 12:13:15 +00:00
pk
1b84e6fb33 pasto: sc_maddr => sc_mem 2001-03-09 10:19:54 +00:00
sato
80214041c7 support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
lcd on/off
2001-03-09 08:54:18 +00:00
briggs
77a57bede4 Add a variant hook to read the ethernet MAC address from EEPROM differently
for the SiS 900 and the DP83815.  Also add some configuration suggested by
the DP83815 documentation for one model of the DP83815.
2001-03-09 07:42:24 +00:00
chs
83d071a318 add UBC memory-usage balancing. we track the number of pages in use for
each of the basic types (anonymous data, executable image, cached files)
and prevent the pagedaemon from reusing a given page if that would reduce
the count of that type of page below a sysctl-setable minimum threshold.
the thresholds are controlled via three new sysctl tunables:
vm.anonmin, vm.vnodemin, and vm.vtextmin.  these tunables are the
percentages of pageable memory reserved for each usage, and we do not allow
the sum of the minimums to be more than 95% so that there's always some
memory that can be reused.
2001-03-09 01:02:10 +00:00
bjh21
f6c36838ae Use the same undefined-instuction handler on both arm26 and arm32. The handler
is derived mostly from the arm32 version, but with a check for an obscure ARM2
bug thrown in.

arm26 fpu and cpu drivers use the new interface for catching undefined
instructions.
2001-03-08 21:30:35 +00:00
bjh21
c0aee693f5 Add a missing part of FPU support. 2001-03-08 21:12:48 +00:00
is
6288edb5bd Add rcsid. 2001-03-08 19:21:53 +00:00
thorpej
32a284db3a Make sure data after the header is aligned, so that this works on
systems with strict alignment constraints.
kern/12356, Feico Dillema <feico@pasta.cs.uit.no>.
2001-03-08 16:33:43 +00:00
thorpej
09cc55c97c Add additional padding to the status record, needed by the AIR-PCM342.
kern/12357, Feico Dillema <feico@pasta.cs.uit.no>.
2001-03-08 16:30:50 +00:00
uch
736e48bc36 enable CF slot. 2001-03-08 15:21:31 +00:00
uch
c567a80bdc CF memory mapped addressing mode. http://www.compactflash.org/cfspc1_4.pdf 2001-03-08 15:20:57 +00:00