hannken
f6391479b2
Convert to new device buffer queue interface.
...
Approved by: Leo Weppelman <leo@netbsd.org>
2002-08-10 21:49:14 +00:00
matt
549ac19770
Add IBM Power3 CPUID.
2002-08-10 21:38:06 +00:00
thorpej
3721870c9e
Add wi* at pci?
2002-08-10 20:20:22 +00:00
matt
67f40b1907
More refinement, only map B_READ buf with VM_PROT_WRITE (all pages always
...
have VM_PROT_READ). Also, pass PMAP_WIRED to pmap_enter (for non-mpc6xx
pmaps). This will give pmap clues about flushing any "icache ok state".
2002-08-10 18:49:56 +00:00
toshii
16a190bb23
Use UDMA/100 on SiS745 chipset.
2002-08-10 16:33:23 +00:00
toshii
7576c71257
Regen; added SiS745 host bridge.
2002-08-10 16:30:45 +00:00
matt
246ee3ef1d
Switch vmap*buf back to using pmap_enter/pmap_remove. This is so that
...
accesses to the buffer will cause the reference and modified bits for
the pages to be udpated appropriately.
2002-08-10 16:28:49 +00:00
toshii
a4e64b08d4
Add SiS745 host bridge.
2002-08-10 16:26:14 +00:00
itojun
6446feb7a7
inject GRE packet to raw ip socket input, to support userland GRE decapsulator.
...
discussed on openbsd developers list.
2002-08-10 05:40:54 +00:00
minoura
013897f2cc
Add quirk for Connectix Virtual PC 5 (for Windows at least) emulated
...
PCI bridge (440BX).
Note that there's still a problem that emulated 21140 cannot be driven
by if_tlp. Workaround is to use if_de.
2002-08-10 03:37:40 +00:00
thorpej
76730bd0cc
Tidy up pmap_clean_page() a little, and reenable some code that was
...
disabled previously: Skip cleaning mappings which are read-only, because
the pmap (now) does clean pages on a r/w -> r/o transition.
2002-08-10 00:48:35 +00:00
thorpej
006a578742
Clean up some warts in pmap_protect().
2002-08-10 00:11:51 +00:00
thorpej
15a5e8f238
cpu_fork(): If PMCs are not enabled in the parent, clear the machine-
...
dependent PMC state in the child.
2002-08-09 23:44:17 +00:00
thorpej
19227e620e
Add a PVF_EXEC -- we don't use it yet, though.
2002-08-09 23:08:39 +00:00
soren
f969160bd2
<net/if.h> needs <sys/socket.h> for struct sockaddr.
...
PR kern/3377 from der Mouse.
2002-08-09 22:43:15 +00:00
thorpej
6072e74ac1
* Drain write buffer after cleaning the mini-D$.
...
* Fix a typo in a comment.
2002-08-09 21:51:52 +00:00
thorpej
6ce0a206cc
Add an XSCALE_CACHE_READ_WRITE_ALLOCATE option for people who
...
want to play fast-and-loose.
2002-08-09 21:49:09 +00:00
thorpej
884bc64586
Add some code, conditional on PMAP_ALIAS_DEBUG, that can be used to
...
hunt for virtual aliases between managed (pmap_enter) and non-managed
(pmap_kenter_pa) mappings.
2002-08-09 18:22:59 +00:00
tsutsui
1031f6caa4
Fix cacheinfo.c_nlines for sun4 and sun4c machines.
...
(they are not used anyway..)
2002-08-09 14:46:04 +00:00
simonb
5b415a20e5
Fix for when EMAC_EVENT_COUNTERS isn't defined. Problem reported by
...
Allen Briggs.
2002-08-09 14:10:30 +00:00
soren
642c31b4a3
Remove extraneous \n's in {err,warn}{,x}.
2002-08-09 10:01:53 +00:00
itojun
ed12d77e43
avoid hardcoded "16" for max AH sum size. use AH_MAXSUMSIZE.
2002-08-09 07:01:21 +00:00
itojun
68e52f0ace
use correct padding boundary, to correctly estimate ESP header size.
...
problem found by Arto Selonen <arto@selonen.org>
2002-08-09 06:38:12 +00:00
itojun
bb92058a0f
cut and paste error in comment. From: Arto Selonen <arto@selonen.org>
2002-08-09 06:29:01 +00:00
thorpej
c979315325
Reduce stalls on StrongARM and XScale by waiting one insn before using
...
the result of a load.
2002-08-09 06:18:24 +00:00
thorpej
afe3274eed
Use ldrbt/strbt. Some other random cleanup.
2002-08-09 06:03:02 +00:00
thorpej
7d9de8b2ad
PMC_TYPE_I586 -> PMC_CLASS_I586
...
PMC_TYPE_I686 -> PMC_CLASS_I686
PMC_TYPE_K7 -> PMC_CLASS_K7
To reflect terminilogy used in pmc(3).
2002-08-09 05:28:08 +00:00
thorpej
0291ab61ec
* PMC_TYPE_I80200 -> PMC_CLASS_I80200 to reflect the terminology
...
used in pmc(3).
* Some minor namespace cleanup.
2002-08-09 05:27:09 +00:00
gmcgarry
91b47fddbb
Garbage-collect cpu_sysctl(). From Shin'ichiro TAYA in PR-17888.
2002-08-09 05:10:45 +00:00
simonb
acce3a5e36
Add a driver the for IBM 405gp (and possibly other IBM 4xx cpus) ethernet
...
MAC (emac). Much thanks to Jason Thorpe for debugging help writing this
driver. Tested on the walnut, and an earlier version of this driver works
on the OpenBlockSS.
2002-08-09 04:17:26 +00:00
thorpej
410785d6f0
Use ldrt/strt.
2002-08-09 04:13:20 +00:00
matt
0fb9cba190
Add SPR_ASR from OEA-64. Change mfspr to use register_t.
2002-08-08 22:49:09 +00:00
thorpej
7cbc5d60c1
Add macros to encode the "unit number" in the event selector.
2002-08-08 20:40:49 +00:00
jdolecek
60be0b94a0
selscan(): make flag[] const
2002-08-08 20:40:25 +00:00
thorpej
b12f663377
Define new-style PMC types for i586, i686, and K7 performance counters.
2002-08-08 18:37:39 +00:00
briggs
5da3a2950b
When configuring a counter, do not assume that it's not been configured in
...
this process (mask off the register field before setting it).
2002-08-08 18:23:46 +00:00
thorpej
aa74d42772
Expose <machine/pmc.h> to userland.
2002-08-08 16:23:19 +00:00
drochner
724142aab4
regen
2002-08-08 15:17:02 +00:00
drochner
2b013b41b9
add another quickcam
2002-08-08 15:16:22 +00:00
itojun
514ea24105
audit bitmask test mistake (s/&&/&/). from openbsd
2002-08-08 15:08:55 +00:00
itojun
f3f3dd4992
cast register_t/size_t to u_long on printing.
...
From: Havard Eidnes <he@netbsd.org>
2002-08-08 14:43:40 +00:00
itojun
f35b1daee4
remove debugging code leftover
2002-08-08 14:38:47 +00:00
drochner
681c8f675a
regen
2002-08-08 09:57:21 +00:00
drochner
fa4f52ebfd
addanother ppb
2002-08-08 09:56:38 +00:00
oster
2a80a0fbe1
make 'configureMutex' be a lockmgr lock instead of a simple lock.
...
The result is MUCH fewer complaints with kernels compiled with LOCKDEBUG.
2002-08-08 02:55:36 +00:00
oster
7c2df6a96d
Initial kick at some functions to provide lockmgr lock support
...
instead of only simplelock support.
2002-08-08 02:54:29 +00:00
oster
813fbd6152
RF_LOCK_MUTEX()/RF_UNLOCK_MUTEX() often cover more code than they
...
needs to. In particular, they often surround calls to malloc().
Re-work the locking on most macros to avoid this problem.
XXX: On MP systems, simultaneous calls to the GET macros when a
freelist is empty may cause that freelist to grow more quickly than
before. Given that the "increment" value of these lists are fairly
small, this shouldn't be too much of an issue.
2002-08-08 02:53:01 +00:00
chs
0a97a311e2
it's PPC_HAVE_FPU, not PPC_HAS_FPU.
...
also, include the headers that turn on FPU and AltiVec features
in case no one else does.
2002-08-08 01:27:35 +00:00
itojun
f731d2b75a
wrong semicolon at EOL. notified by wiz
2002-08-08 00:15:32 +00:00
thorpej
2b615e62c4
Add support for the new i82540, i82545, and i82546 Gig-E chips. The
...
i82546 chip has 2 Gig-E interfaces in a single chip.
The main difference is these chips have a special handshaking protocol
for accessing the EEPROM (due to the shared nature on the i82546).
2002-08-08 00:12:08 +00:00