kleink
eab9ce05b7
A PCI Revision ID of 0x02 is what ESS happens to be calling ES1946 Revision E.
1999-12-03 22:34:28 +00:00
mjacob
04debef27a
add back firmware with BSD style copyright as approved by Qlogic
1999-12-03 21:48:49 +00:00
perseant
22979769c0
Handle the case of a vnode flush while dirops are active correctly in
...
lfs_segwrite. Also, make sure a flush is called in SET_DIROP before sleeping
on its results. Addresses PR #8863 .
1999-12-03 21:47:44 +00:00
ragge
184f8b2c39
First round of discarding the CL* macros.
1999-12-03 21:43:19 +00:00
thorpej
d8719f61c9
Get ready for some needed flexibility; put the IRQs to use for each slot
...
in the softc.
1999-12-03 19:02:49 +00:00
thorpej
cc0eadd619
Make pmap_main_lock a spin lock, not a sleep lock.
1999-12-03 18:49:37 +00:00
uch
1917e12c8a
CS:CARD1/CARD2 8bit port support.
1999-12-03 18:15:41 +00:00
mjacob
fe61f2db84
add ISP_DISABLE_FW defopt
1999-12-03 18:02:15 +00:00
sakamoto
816e27676c
s/ELF32_HDR_SIZE/sizeof (hdr)/
1999-12-03 15:44:41 +00:00
sakamoto
7a77d2bc71
add cast for pmap_extract().
1999-12-03 15:43:47 +00:00
simonb
04f70ed884
Add a flags variable to dc softc, and when attaching a dc determine
...
(via systype) whether or not it is possible for a keyboard and mouse
to be attached. The console on a 5100 now works!
1999-12-03 13:07:35 +00:00
nisimura
54c58da2e5
The first order approximation of PMAGD SFB+ framebuffer. Proven not
...
working with 32bit PMAGD TURBOchannel option card (I got rainbow
colour virtical stripes on screen).
1999-12-03 09:50:53 +00:00
thorpej
0aa48d5c55
New delay(), more carefully coded:
...
- Use explicit assembly; don't want the compiler optimizing things too
much here.
- Subtract 2 for each iteration of the loop, rather than 3. The loop
consists of only 2 instructions (even the C version compiled to a
loop of 2 instructions).
The latter change has squashed a fairly annoying timing bug in the
mii_bitbang module as used by the `ex' driver on my AlphaStation 500.
XXX delay() should maybe be rewritten again, to use the rpcc instruction.
1999-12-03 07:29:57 +00:00
thorpej
fafcf62fd6
Update my main Alpha development machine's kernel config file to
...
reflect current reality.
1999-12-03 07:03:43 +00:00
itojun
19ada0968b
declare new malloc types for IPv6 router renumbering use.
...
(part of KAME sync to latest)
XXX reorder them to make IPv6 items together?
1999-12-03 04:52:05 +00:00
mhitch
901e4b0219
Fix IOASIC DMA alignment problems. Buffers not aligned on doubleword (8
...
byte) boundaries don't work correctly. Make use of the SDR0/SDR1 registers
to adjust the buffer alignment when starting the DMA transfer. Block device
I/O done by the filesystems will usually be aligned correctly, but character
device I/O may not be aligned correctly. This should fix the problems with
dump(8) failing randomly on DECstations.
1999-12-03 04:26:17 +00:00
oster
bed152a4e7
We don't support RF_DAG_TEST_ACCESS.
1999-12-03 03:35:30 +00:00
simonb
9991550466
Change debugging printf() so that it compiles if enabled.
1999-12-03 03:34:36 +00:00
oster
128e2e90c5
Nuke some duplicate code.
1999-12-03 03:18:45 +00:00
oster
a038f90588
Kernel memory is not to be wasted. If we're bailing out because of an error,
...
give any allocated memory back to the kernel so someone else can use it.
1999-12-03 03:06:44 +00:00
nisimura
d782dfb5f7
Cleanup rambling codes.
1999-12-03 03:06:11 +00:00
nisimura
6944e3acfe
Remove a now defunct file. Most of the contents were already displaced
...
by others.
1999-12-03 03:03:48 +00:00
nisimura
ba72fb5211
Decouple DECstation binding, use 'dev/dec/mcclock_pad32.h' for
...
implementation consistency.
1999-12-03 02:56:37 +00:00
oster
3888a71ad1
Move LIST_INIT() to a more appropriate place.
1999-12-03 02:43:22 +00:00
nisimura
31f8115d20
Add _splrestore() to manipulate processor interrupt control bits.
1999-12-03 02:15:55 +00:00
thorpej
a51be1961c
lock_machdep.c is gone.
1999-12-03 01:13:51 +00:00
thorpej
5d0a62da53
Remove now-obsolete atomic operations.
1999-12-03 01:13:17 +00:00
thorpej
2d8ef60c51
This file is obsolete.
1999-12-03 01:12:00 +00:00
thorpej
2a97466824
Rewrite the atomic locking primitives using in-line assembly.
1999-12-03 01:11:34 +00:00
itohy
169af5c51b
Add a dummy read just after enabling receiver interrupt.
...
If the receiver already has datum, no further arrival of
data is possible and no interrupts will occur.
This change fixes problem that pressing key during boot
may sometimes disable the keyboard.
Remove unreferenced variable "in" in kbdcngetc().
1999-12-03 00:14:06 +00:00
thorpej
d89260177d
In pmap_page_protect(), don't reference a pmap we're unlocking via
...
the PV entry we just freed (D'OH!)
1999-12-02 23:40:27 +00:00
drochner
a00a9ff012
Convert to use rasops/wsfont, enabling colors.
...
For now, only the "putchar" and "copyrows" accelerations are used.
1999-12-02 23:04:44 +00:00
drochner
5c69a4c489
-initialize the colormap completely at compile time, to allow drivers
...
to use it early
-now we can declare it "const" (as "rasops_isgray[]", while we are here)
-don't use the fg/bg colors in ...alloc_attr() if the WSATTR_WSCOLORS
flag was not given - use reasonable defaults instead
-add an opaque "ri_hw" member to "rasops_info", for driver use
1999-12-02 22:57:13 +00:00
thorpej
9f7d189f05
Inline most of the remaining PALcode calls.
1999-12-02 22:08:04 +00:00
thorpej
90bc415584
Pull in the BWX inlines. We expect the arch to be set appropriately for
...
the assembler before these files are pulled in by the chip-sepecific files.
1999-12-02 19:44:49 +00:00
thorpej
4e08cc6996
CIA core logic with BWX enabled appears on EV6. We require at least
...
EV56 for the assembler to emit BWX opcodes, so set the arch to "ev6".
1999-12-02 19:43:58 +00:00
thorpej
dc362cf369
CIA core logic with BWX enabled appears on both EV56 and PCA56. We
...
require at least EV56 for the assembler to emit BWX opcodes, so set
the arch to "ev56".
1999-12-02 19:43:25 +00:00
thorpej
0a2ea99c42
Inline the BWX instructions.
1999-12-02 19:41:39 +00:00
uch
8ccf786b08
remove nonrequired include file line (fb.h)
1999-12-02 18:50:54 +00:00
uch
9bd4956230
BUSSPACEDEBUG -> BUS_SPACE_DEBUG
1999-12-02 18:41:56 +00:00
drochner
e5bc2ce76f
add support for 3c905b-Combo
1999-12-02 13:21:48 +00:00
drochner
262d9092fc
add media definition for 100baseTX
1999-12-02 13:20:56 +00:00
itojun
8789e60098
rcsid police
1999-12-02 07:18:44 +00:00
itojun
f9495b711c
fix comment (sync with KAME)
1999-12-02 05:25:59 +00:00
itojun
6df71cd35f
use _KERNEL instead of KERNEL. (sync from KAME)
1999-12-02 05:25:47 +00:00
itojun
522e6d0296
avoid namespace polution ("#ifdef KERNEL" was mistakingly used)
1999-12-02 05:08:16 +00:00
simonb
c31741ec4d
Do the "options<SPACE><TAB>" thing for some recent options.
1999-12-02 03:52:25 +00:00
thorpej
4106b60175
Move atomic operations into <machine/atomic.h>, and make them in-line
...
assembly, rather than function calls.
...except alpha_atomic_testset_l(), which will go away completely once
I commit the new <machine/lock.h>.
1999-12-02 01:09:11 +00:00
augustss
02faf8d588
Done something half sensible if a USB console keyboard is unplugged instead
...
of panic()ing.
XXX Untested. I will test it the next time I can borrow an iMac.
1999-12-01 23:22:57 +00:00
augustss
b687c3c859
Some more DIAGNOSTIC.
1999-12-01 23:19:11 +00:00
thorpej
13536cc3ec
Add longlong_t and u_longlong_t.
1999-12-01 18:27:08 +00:00
thorpej
c258dfae2f
After reading the GCC `documentation' a little more, improve the inline
...
__asm() statements added previously for PALcode operations.
1999-12-01 18:23:11 +00:00
drochner
38e73c0c99
in uvm_page_physget(), try the vm_physmem[] chunks in the order of their
...
"free_list" attributes, to save DMA memory
1999-12-01 16:08:32 +00:00
drochner
229f631a84
regen
1999-12-01 15:08:17 +00:00
drochner
1657f687be
add Cyclades 4Y and 8Y
1999-12-01 15:07:44 +00:00
augustss
a9aba751e7
Make it compile even if there is no wsdisplay.
1999-12-01 11:41:46 +00:00
nisimura
06276dc255
Fix wrong figures in comments.
1999-12-01 08:55:09 +00:00
nisimura
f0771e6b9b
Arrange comment descriptions for internals of TC DECstations.
1999-12-01 08:41:41 +00:00
nisimura
6aa5cbc76c
Replace old asic.c with one imported from a development branch.
1999-12-01 08:39:20 +00:00
nisimura
b8997ad45a
Remove a file obsoluted and arrange global extern declarations.
1999-12-01 08:37:25 +00:00
nisimura
1d71d327fc
Simply the way how 3min estimates CPU speed. Save 25+ instructions.
1999-12-01 08:35:27 +00:00
simonb
3328370469
Return the blocksize-rounded-up length (which was the size malloc()d
...
anyway). The resultant pwrite() is now a multiple of the blocksize and
doesn't fail on a pmax with the MI SCSI driver.
Problem noticed by Tohru Nishimura.
1999-12-01 05:02:03 +00:00
augustss
b15fcce56c
Use vertical nscheduling for bulk traffic. It improves bulk thruput a lot.
...
From FreeBSD and Nick Hibma.
1999-12-01 00:42:05 +00:00
thorpej
66a51bd133
Quiet down the "excessive collision" messages w/ LEDEBUG. None of the other
...
Ethernet drivers really report this quite as loudly as this did.
1999-12-01 00:40:53 +00:00
thorpej
12f7832ebc
don't need private `imb' inline anymore.
1999-11-30 22:32:08 +00:00
thorpej
9314d7f4d7
Use ptoa() consistently when printing out how much memory we have, etc.
1999-11-30 19:31:56 +00:00
thorpej
fd9aa8fbba
Cast the argument to ptoa() to a vaddr_t to prevent an integer overflow
...
from occurring on systems with more than 2G of RAM.
1999-11-30 19:31:05 +00:00
drochner
a7ee57948b
-support 3c905B-COMBO - somewhat preliminary: the chip has both an internal
...
MII PHY capable of NWAY (according to the Linux driver) and plain BNC/
transceiver connectors. The shared code can't handle this yet, so leave
out MII/NWAY for now.
-print out revision number from PCI config header, this has been useful to
identify buggy chips
1999-11-30 19:16:51 +00:00
drochner
9faac4111e
regen
1999-11-30 19:10:38 +00:00
drochner
b5db34e4d5
add 3c905B-COMBO
1999-11-30 19:09:54 +00:00
uch
85afb0e66b
bicons_getc: calls vrkiu_getc() when vrkiu is configurated only.
1999-11-30 18:42:02 +00:00
thorpej
63494b0b50
Avoid an integer overflow on systems w/ more than 2G of RAM.
1999-11-30 18:34:23 +00:00
thorpej
69b252dfff
Put some (disabled) debugging code into pmap_steal_memory().
1999-11-30 18:18:02 +00:00
tron
b226b8aa37
Increase packet counter before passing packets to BPF.
1999-11-30 17:02:39 +00:00
drochner
671919edee
add consistency check whether the end mark does appear before the
...
reported number of nodes
1999-11-30 15:54:55 +00:00
drochner
ab0574c601
activate "coma bug" workaround for 6x86MX too.
...
Closes PR port-i386/7538 by darkstar@pgh.net .
1999-11-30 15:22:52 +00:00
uch
8b86f850f6
make platid_test compile again.
1999-11-30 15:11:00 +00:00
itojun
bbb8727584
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
...
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other
source code). Please do not try to modify the branch, this is just for
referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
1999-11-30 13:34:47 +00:00
drochner
b678bca85b
Allow loading of kernels larger than (16-1)M.
...
XXX This is a stopgap fix which can be pulled up to 1.4.x. It only replaces
the arbitrary 16M boundary by an arbitrary 128M boundary. A clean solution
would need changes to the mi loadfile.c parts.
1999-11-30 12:02:13 +00:00
shin
ccba32ca1d
reorder instructions in mips3_TLBFlush() to avoid coprocessor hazard
...
for R4600/R4700/VR4100.
1999-11-30 11:53:24 +00:00
mrg
b27ecf75a9
oops; remove part of the previous that was not intended (yet).
1999-11-30 07:56:28 +00:00
nisimura
bf9cfe90d3
Fix 3max DC cookie value; should make 3max serial port working.
1999-11-30 01:29:44 +00:00
simonb
a23dac53d4
Remove our own atoi() and use libkern's strtoul().
1999-11-30 00:54:43 +00:00
thorpej
89ae0bf93c
Inline several things from pal.s:
...
- alpha_rpcc(), alpha_mb(), alpha_wmb() -- these are instructions, and
we win by inlining them: rpcc is generally used for profiling, and
the memory barriers really should execute as quickly as possible with
minimal side-effects (like additional loads/stores required to call the
functions!)
- alpha_pal_imb(), alpha_pal_rdps(), alpha_pal_swpipl(), alpha_pal_tbi(),
alpha_pal_whami() -- these are PALcode ops. We must specify some register
clobbers for these.
We have a very decent size savings as a result. My test system:
text data bss dec hex filename
2671724 235848 377016 3284588 321e6c /netbsd.bak
2617708 235736 377016 3230460 314afc /netbsd
Most of this comes from fewer register saves/restores around spl*() calls
(now that alpha_pal_rdps() and alpha_pal_swpipl() are inlined).
Note that alpha_pal_rdps() and alpha_pal_swpipl() remain in pal.s to
maintain binary compatibility with LKMs that may use spl*() functions.
1999-11-30 00:42:46 +00:00
thorpej
871b54b6d2
Vector to a local function for the IMB IPI.
1999-11-30 00:26:55 +00:00
tron
8f0521d4a1
Increase packet counter before calling the input routine like all the
...
other ethernet interface drivers do.
1999-11-30 00:05:56 +00:00
tron
a260687a14
Increase packet counter if a packet is received. This might fix
...
PR port-arm32/8527.
1999-11-30 00:02:51 +00:00
fvdl
5a7300902c
Insert an extra VOP_ACCESS check in nfs_lookup, to avoid cached access
...
mishaps for lookup and getattr. Closes PR 8884.
While at it, cache access RPCs.
1999-11-29 23:34:00 +00:00
simonb
cfd10575d6
Add strtoul.c and sort sources alphabetically.
1999-11-29 23:24:59 +00:00
simonb
9c807e7a3c
Move strtoul.c (via CVS repo copy) to libkern. Also sort prototypes
...
in libkern.h and sources in arm32/Makefile.inc alphabetically.
1999-11-29 23:12:56 +00:00
simonb
9e5fd23ce5
Copied from arch/arm32/arm32/strtoul.c,v
1999-11-29 22:51:19 +00:00
thorpej
18e6d486f4
Add an IPI which causes the target CPU to perform AST processing when
...
it returns to userspace.
1999-11-29 20:00:04 +00:00
thorpej
7f1ccd57ea
Add a way to get/set a private pointer in the shared interrupt header.
1999-11-29 19:59:19 +00:00
thorpej
df2cf70865
- Fix a botch in the IPI bitmasks (they were right-shifted by 1), and
...
add an IPI which causes the target CPU to perform AST processing when
it returns to userspace.
- Add a way to get/set a private pointer in the shared interrupt header.
1999-11-29 19:58:39 +00:00
thorpej
68fb3dc662
Switch to the new pmap_remove() and nuke the old one. A simple fork/exit
...
benchmark shows at least a 10% improvement in the tearing down of a large
address space.
1999-11-29 18:37:28 +00:00
uch
e3285cc801
commet out non-working code.
1999-11-29 17:23:04 +00:00
uch
616ab352ae
tx39.c (tx_cons_init): fb_cnattach moved to tx3912video.c (tx3912video_attach):
1999-11-29 17:21:21 +00:00
ad
744ded4890
Register definitions for the PrestoServe option board (I've had this for
...
months and if it doesn't go here it'll die).
1999-11-29 15:06:28 +00:00
ad
4763c00196
- Don't use our own private endian conversion cruft (from OpenBSD).
...
- SmartRAID V is not and will never be an EATA board (from OpenBSD).
- Use dpt_outl() when issuing EATA command packet address to HBA.
- Fix a style nit.
- Fix a typo.
1999-11-29 15:04:23 +00:00
ad
0daccde651
- When kbdMapChar() was modified to support returning multi-character
...
mappings, it broke Ctrl-Space; fix that.
- Clean up lk201.c a little.
1999-11-29 15:02:38 +00:00