mjacob
e5835e36c3
request/response queues now indexed via u_int16_t. Add back in f/w inclusion
...
and clean up it's compilation. get chip rev out of pci header.
1999-12-04 02:54:54 +00:00
takemura
adf3bfa79d
Fix file mode of pbsdboot.exe.
1999-12-04 02:43:48 +00:00
sommerfeld
878fa4790f
Fix "make includes" since pckbc moved to dev/ic from dev/isa
...
(Hi, Jason!)
1999-12-04 02:16:24 +00:00
sommerfeld
97cb535e46
change comment to mention that this driver also handles the '558 and '559
1999-12-04 02:02:30 +00:00
thorpej
08d1d1b378
Actually, the 2100_A500 has 64 interrupts, not 16.
1999-12-04 00:22:54 +00:00
lukem
a63bfb3c6a
add atomic.h (missed by thorpej; approved by thorpej)
1999-12-04 00:18:15 +00:00
thorpej
4560ac465a
Split the PC-like keyboard controller driver into chip back-end and
...
bus front-end.
1999-12-03 22:48:22 +00:00
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
pk
a24fb44ddf
Pull header files from `syssrc' since we use libsa/loadfile().
1999-11-29 14:49:12 +00:00
itojun
726970dc8c
add cnw* into pcmcia section.
1999-11-29 12:56:25 +00:00
itojun
42abf0bf78
regen.
1999-11-29 12:55:20 +00:00
itojun
1b6504a175
improve cnw driver, looking at bsdi/freebsd-pao cnw driver by wide+prb@bsdi.
...
- implement ioctls compatible with bsdi/freebsd-pao. stat type is
changed from u_int to u_quad_t to avoid overflows. now it is possible
to switch domain/encryption key from the userland, using cnwctl(8).
- implement multicast/promiscuous mode. tested with IPv6.
1999-11-29 12:53:59 +00:00
itojun
a075f72b0e
cnw driver ioctls, from FreeBSD/PAO2 repository
1999-11-29 12:40:59 +00:00
uch
878e985d08
Some TX39 I/O region lies over 512MByte. KSEG2IOBUFSIZE reserves PTE to map there.
1999-11-29 11:14:49 +00:00
uch
8b01b15437
TX3912/22 specific register defines.
1999-11-29 11:13:11 +00:00
uch
347ea4cd91
TX3912/22 support. ENABLE_MIPS_TX3900 enables it.
1999-11-29 11:12:12 +00:00
nisimura
558c978dea
Const poisoning.
1999-11-29 07:50:54 +00:00
jun
9c0f37b416
regen.
1999-11-29 02:28:55 +00:00
jun
dd7b5aed5b
Support for TDK LAC-CF010
...
by Ichiro Fukuhara (ichiro@ichiro.org ) on kern/8900
ichiro test TDK CF Card on Opensource matsuri,tokyo and send patch to us.
thanx.
1999-11-29 02:28:19 +00:00
shin
ce5757bb6b
fix Fujitsu INTERTOP CX300 keymap.
1999-11-29 02:20:20 +00:00
shin
82cd5e5ce2
add Fujitsu INTERTOP CX300.
1999-11-29 02:20:11 +00:00
augustss
18f862c072
More USB_DEBUG and DIAGNOSTIC output.
1999-11-28 22:49:53 +00:00
is
4905974fd1
Very initial support for booting PPC kernels on P5 boards.
1999-11-28 22:10:47 +00:00
is
14ed33e42e
Fix typo (&& -> &).
1999-11-28 20:30:57 +00:00
bouyer
0c3ecf8e5e
Improve Ultra/66 support now that I've got some docs from Promise.
1999-11-28 20:05:18 +00:00
bouyer
7bd006b847
Improve a few debug messages.
1999-11-28 20:04:22 +00:00
thorpej
94552ad5d6
- Use alpha_atomic_{add,sub}_q() to update the pmap statistics. We now no
...
longer need to lock the kernel pmap in pmap_kenter_pa() and pmap_kremove().
- Since locking the kernel pmap in interrupt context is no longer required,
don't go to splimp() when locking the kernel pmap.
- Implement a new pmap_remove() function, not yet enabled by default. It
is structured like pmap_protect, and should be *much* faster. This was
actually written quite some time ago, but never committed because it
didn't work properly. Given the recent bugfix to pmap_protect(), "duh,
of course it didn't work properly before...". It seems to work fine now
(have done several builds and run the UVM regression tests using the new
code), but it is currently run-time optional so that some performance
measurements can be easily run against the old and new code.
1999-11-28 19:53:11 +00:00
thorpej
1710fad449
Implement atomic addition and subtraction on quadwords.
1999-11-28 19:47:13 +00:00
matt
9fcf201409
Make this compile again on sparc.
1999-11-28 18:06:46 +00:00
scw
54f42f17fc
Don't bother spinning in the console 'putc' routine for the transmitter
...
to become idle; it actually doesn't matter as the chip takes care of
this for us. It would also spin endlessly in certain circumstances
during shutdown.
While I'm here, (finally) add code to allow sending BREAK characters.
1999-11-28 12:23:18 +00:00
takemura
f972baf686
Add definition for VR's special instructions.
1999-11-28 12:11:45 +00:00
scottr
3029c58799
Use a bitwise-and to test CC_IPURGE, not a logical-and. This could have led
...
to flushing the entire cache unnecessarily.
1999-11-28 11:10:47 +00:00
sato
943c083676
PowerOff code. (not yet completely)
...
'halt -p' availavle.
not yet all power off...
cannot exit poweroff mode. (reset required..)
1999-11-28 10:59:05 +00:00
scottr
86a8f1d201
Sync cachectl1() implementation with other m68k ports.
1999-11-28 10:36:56 +00:00
scottr
99d3468790
Don't use the plural form of the word "target" if there is only one!
1999-11-28 10:10:51 +00:00
scottr
dc2663bf69
If there is only one ADB device, it will do us no good to avoid it
...
when guessing which device to poll next. Resolves PR 7407, but the
bug is a lot older than that.
1999-11-28 10:07:34 +00:00
simonb
465c7f924f
Don't use magic numbers! Use XINE_REG_IMSK and KMIN_REG_IMSK.
1999-11-28 08:29:00 +00:00
simonb
71cc75d706
Don't check for a write to write protected label if we are writing to
...
the raw partition.
1999-11-28 06:28:37 +00:00
simonb
fcab0ccebb
Tidy up the formatting of a comment.
1999-11-28 06:06:21 +00:00
simonb
d805fbc3b6
Check bounds against RAW_PART instead of partition 0.
1999-11-28 04:55:39 +00:00
takemura
62009df24f
Add new device vrdsu, with which we can hard reset the VR41xx CPU.
...
Why don't you try shutdown comand with option '-r ?
1999-11-28 04:29:37 +00:00
simonb
1fcc860815
Enable new pmax bootblocks.
1999-11-28 03:17:11 +00:00
simonb
bc7deba55e
Bump bootblock version number to 1.2.
1999-11-28 00:40:16 +00:00
simonb
70cbfb6fcd
Add CPPFLAGS and set LDSTATIC to -static.
1999-11-28 00:39:30 +00:00
mark
52dcf041ef
Remove the ISP scsi driver. With the removal of the Qlogic microcode
...
it is no longer possible to setup these devices thus the driver will not
work.
1999-11-28 00:34:17 +00:00
simonb
50b389d4a6
Bootblock installer - based heavily on the alpha installboot but with
...
some significant differences:
* Because the pmax bootblocks don't have a fixed load address, we
need to keep the first stage blocks in /usr/mdec with some sort
of executable format that includes load and transfer address.
Since ELF is native, /usr/mdec/bootxx_* are in ELF format and
installboot (in loadbootstrap.c) needs knowledge of the ELF format.
* Support for installing the first stage at an arbitiary position.
-a adds the first stage to end of the "disk" (only on works on
regular files) and -i <block> puts the first stage at ISO
filesystem block number <block> for use in multi-arch boot
CDs (see installboot(8) for more details and an example).
* No checksum support. This should really be done in some sort of
MI way rather than duplicating code between ports' installboot.c
1999-11-28 00:32:29 +00:00
simonb
b96c403e14
New alpha-style first stage bootblock Makefiles.
1999-11-27 23:59:15 +00:00
simonb
b013ce2a48
Updated for new Makefile.booters and stand/ layout.
1999-11-27 23:57:42 +00:00
simonb
6fb34407ab
Update for new alpha-style bootblocks - a good deal of this is based on
...
the alpha stand/Makefile.bootprogs and stand/Makefile.bootxx.
1999-11-27 23:55:23 +00:00
eeh
c7f61c6f0e
Apparently sys/sysctl.h includes vm/vm_map.h which makes use of vaddr_t,
1999-11-27 20:05:45 +00:00
hannken
2a59794a70
Fix typo introduced in rev. 1.55.
...
It caused IP6 packets to be sent as AF_UNSPEC instead of AF_INET6.
1999-11-27 18:45:08 +00:00
minoura
bf013a4539
Remove ether+ driver. Requested by msaitoh.
1999-11-27 15:57:17 +00:00
mrg
2c11d38827
add some missing #ifdef SUN4M to the MP-handling code.
1999-11-27 14:54:53 +00:00
takemura
b006c3cae6
Fix frame buffer type for NEC MC-R520 and -R520A.
...
Add a menu item for IBM WorkPad z50.
1999-11-27 13:17:44 +00:00
mrg
9a6c8313f7
minor cosmetic merges; long way to go here.
1999-11-27 12:14:26 +00:00
mrg
264af07cff
merge sparc64 types.h; these files are now identical.
1999-11-27 11:33:39 +00:00
mrg
d7e14b468a
more sparc64 merging; these files are (basically) identical.
1999-11-27 11:20:41 +00:00
mrg
faa527dcc9
merge sparc64 limits.h; these files are now identical. this includes
...
a `fix' for when s?size_t was changed from int to long but the
definitions of S?SIZE_MAX were left as U?INT_MAX. these are now
U?LONG_MAX.
1999-11-27 11:14:40 +00:00
mrg
9d1afb7522
merge cosmetic differences from sparc port.
1999-11-27 11:06:36 +00:00
mrg
492e85822e
MNN has been standard for a Long Time.
1999-11-27 10:22:19 +00:00
mrg
aa206906a3
make this idempotent (from sparc/include/limits.h)
1999-11-27 10:13:15 +00:00
mrg
484cb25f55
s/long/int/ to make this identical the sparc64 version.
1999-11-27 10:10:02 +00:00
mrg
3c756ae10c
these files were removed years ago (exec.h was not even installed).
1999-11-27 10:04:30 +00:00
castor
df56622ada
regen
1999-11-27 09:02:22 +00:00
castor
3de779c46a
Add support for CS4235 codec as found on Intel KU440EX motherboard.
1999-11-27 09:02:13 +00:00
simonb
42b18ab82a
Clean up headers.
1999-11-27 07:07:04 +00:00
simonb
64b57a767e
Add prom_write() declaration.
1999-11-27 07:02:24 +00:00
simonb
77f2cc3a2f
Use alpha-style banner display and bootprog_* variables.
...
Look for default kernels in order of: netbsd.pmax netbsd netbsd.gz
netbsd.bak netbsd.old onetbsd gennetbsd.
1999-11-27 07:00:35 +00:00
simonb
4772d7bcd7
Check that a first-stage bootblock fits in a specified size - virtually
...
a copy of the alpha checksize.sh.
1999-11-27 06:55:04 +00:00
simonb
326cce3c7a
Add a PROM call stub for getchar.
1999-11-27 06:52:05 +00:00
simonb
92bd89485a
Remove code in sector 0 support - we don't need the space and it allows
...
for the coexistance for other port's bootblocks in sector 0.
1999-11-27 06:49:34 +00:00
simonb
1463e10159
Don't require a disklabel at the start of a disk - needed for
...
ISO 9660 f/s support.
1999-11-27 06:48:08 +00:00
simonb
31d531e54b
Header file include cleanup.
1999-11-27 06:47:24 +00:00
simonb
4001a35043
Small cleanup based on Alpha newvers.sh.
1999-11-27 06:46:56 +00:00
simonb
0246cad68c
GC register keyword.
...
Add LIBSA_SINGLE_DEVICE support.
1999-11-27 06:46:36 +00:00
simonb
8160906e08
Add lfs, cd9660, nfs and ustarfs filesystem support.
...
Remove callv variable declaration.
1999-11-27 06:45:52 +00:00
simonb
55ae392784
Add some PROM function prototypes
...
Add bootprog* variable declarations (ala alpha/stand/common.h).
1999-11-27 06:45:07 +00:00
simonb
4bb143c0ea
Move callv variable declaration here from conf.c.
1999-11-27 06:44:00 +00:00
simonb
c3c29ad5c5
Load second stage bootblocks from "boot.pmax", falling back to "boot"
...
for backwards compatibility and "boot.pma" after that for people who
make ISO filesystems with 8.3 format file names.
1999-11-27 06:34:06 +00:00
simonb
26b61c0dff
callvec.c has moved from stand/lib to stand/common.
...
XXX: The kernel proper shouldn't rely on files in stand! Will fix soon.
1999-11-27 05:35:00 +00:00
simonb
10c7b5ab91
Remove the remaining files in lib directory. The other files in
...
this directory were moved to ../common via a CVS repository copy.
1999-11-27 03:55:46 +00:00
simonb
40bbc6129e
Remove the remaining files in scsiboot directory. The other files in
...
this directory were moved to ../common via a CVS repository copy.
1999-11-27 03:54:43 +00:00
simonb
426c66b28c
Moved to common/callvec.c,v
1999-11-27 03:14:47 +00:00
simonb
42fdd5dfb7
Moved from lib/callvec.c,v
1999-11-27 03:14:46 +00:00
simonb
e2751ce295
Moved to common/printf.S,v
1999-11-27 03:12:24 +00:00
simonb
360739d57f
Moved from scsiboot/printf.S,v
1999-11-27 03:12:23 +00:00
simonb
88b44c10cb
Moved to common/clear_cache.S,v
1999-11-27 03:11:56 +00:00
simonb
ea515c3a7f
Moved from scsiboot/clear_cache.S,v
1999-11-27 03:11:55 +00:00
simonb
16ddb8bd85
Moved to common/bootxx.c,v
1999-11-27 03:11:41 +00:00
simonb
9bbac58265
Moved from scsiboot/bootxx.c,v
1999-11-27 03:11:40 +00:00
simonb
acefb84bcb
Moved to common/startprog.S,v
1999-11-27 03:10:17 +00:00
simonb
81ff761e62
Moved from lib/startprog.S,v
1999-11-27 03:10:16 +00:00
simonb
a61aff17a2
Moved to common/start.S,v
1999-11-27 03:10:07 +00:00
simonb
ffab24d77d
Moved from lib/start.S,v
1999-11-27 03:10:06 +00:00
simonb
d4e109f26d
Moved to common/rz.h,v
1999-11-27 03:09:52 +00:00
simonb
2dcb3cc6f2
Moved from lib/rz.h,v
1999-11-27 03:09:51 +00:00
simonb
de5d47be57
Moved to common/rz.c,v
1999-11-27 03:09:42 +00:00
simonb
dd6570cdf6
Moved from lib/rz.c,v
1999-11-27 03:09:41 +00:00
simonb
875e06c29a
Moved to common/putchar.c,v
1999-11-27 03:09:27 +00:00
simonb
59e9772e78
Moved from lib/putchar.c,v
1999-11-27 03:09:26 +00:00
simonb
7915729248
Moved to common/newvers.sh,v
1999-11-27 03:09:06 +00:00
simonb
cf4333e101
Moved from lib/newvers.sh,v
1999-11-27 03:09:05 +00:00
simonb
b24ec11fca
Moved to common/devopen.c,v
1999-11-27 03:08:47 +00:00
simonb
16c74987cc
Moved from lib/devopen.c,v
1999-11-27 03:08:46 +00:00
simonb
1a4a126f90
Moved to common/conf.c,v
1999-11-27 03:08:31 +00:00
simonb
b02cf094dc
Moved from lib/conf.c,v
1999-11-27 03:08:30 +00:00
simonb
8ac75f530b
Moved to common/common.h,v
1999-11-27 03:08:02 +00:00
simonb
034554d0a8
Moved from lib/common.h,v
1999-11-27 03:08:01 +00:00
simonb
41f1bf53e1
Moved to common/bootread.S,v
1999-11-27 03:07:40 +00:00
simonb
4a75552397
Moved from lib/bootread.S,v
1999-11-27 03:07:39 +00:00
simonb
d5c8b5ad99
Moved to common/bootinit.S,v
1999-11-27 03:07:22 +00:00
simonb
1f59f63d6d
Moved from lib/bootinit.S,v
1999-11-27 03:07:21 +00:00
simonb
4d2b51c4be
Moved to common/bootinfo.h,v
1999-11-27 03:06:56 +00:00
simonb
3f99fedebd
Moved from lib/bootinfo.h,v
1999-11-27 03:06:55 +00:00
simonb
4a53cd4daa
Moved to common/bootinfo.c,v
1999-11-27 03:06:31 +00:00
simonb
1e9b1f56a7
Moved from lib/bootinfo.c,v
1999-11-27 03:06:30 +00:00
simonb
089a87b280
Moved from boot/boot.c,v
1999-11-27 02:52:07 +00:00
simonb
9f8721cd67
Moved to common/boot.c,v
1999-11-27 02:52:06 +00:00
simonb
fbbde1126e
Remove NUMBOOT define - disklabel doesn't install bootblocks anymore.
1999-11-27 01:58:37 +00:00
simonb
db783e76e8
Use explicitly sized types for entities that exist on disk.
...
Use alpha-like defines for boot block offset on disk and boot block size.
1999-11-27 01:51:20 +00:00
simonb
b83882f7c7
Use new pmax stand structure for multi-filesystem bootblocks. All
...
entries are commented out for now until everything else is updated.
1999-11-27 01:45:46 +00:00
simonb
69e1252d6a
Oops, px* won't work right now - go back to px0.
1999-11-27 01:31:47 +00:00
simonb
0b1eae6c7a
* all device attachments, after discussion with Jason Thorpe and Toru
...
Nishimura.
1999-11-27 01:19:31 +00:00
soren
6f6045c97d
Regen.
1999-11-27 01:03:33 +00:00
soren
8c5ab0744f
IBM cards update.
1999-11-27 01:03:18 +00:00
mycroft
1d9d2c47c5
In pmap_emulate_reference(), always or in the bits. I know the code is trying
...
to be clever, but...
Also, a slight optimization for the write case.
1999-11-27 00:25:15 +00:00
mycroft
f26df92bed
Fix bugs in pmap_protect() that were responsible for the `ld.elf_so lossage'.
...
* We could overrun the eva by as much as L1SEG_SIZE-PAGE_SIZE.
* sva was advanced *twice* for each valid l3 or l2 page, causing it to get out
of sync with the PTE pointers.
1999-11-26 23:04:33 +00:00
fvdl
2aea14c604
Clear B_AGE in bdirty(), this buffer must go through the LRU again
...
to be back on the AGE queue. Otherwise we risk recycling a set
of buffers with (soft) dependencies on the AGE list, which may
last forever if the vnode they belong to is locked (i.e. the syncer
won't get to the buffers they depend on, so their dependencies
are never flushed).
1999-11-26 17:18:15 +00:00
soren
506836faa1
Regen.
1999-11-26 17:17:21 +00:00
soren
71f7530292
Add two 3Com modems.
1999-11-26 17:16:53 +00:00
bouyer
8f56b89950
More WDCDEBUG_PRINT.
1999-11-26 12:39:43 +00:00
augustss
97fc004770
Don't complain when umodemstartread() returns USBD_IN_PROGRESS. It's normal.
1999-11-26 09:12:50 +00:00
augustss
d94a5b55fb
Make timeout device exploration optional in debug mode.
1999-11-26 01:41:03 +00:00
augustss
77bb4d8ce2
Cosmetic change.
1999-11-26 01:40:01 +00:00
augustss
aa32088c20
Cosmetic changes.
1999-11-26 01:39:27 +00:00
augustss
240991073c
Generate an error message when attachment fails.
1999-11-26 01:38:40 +00:00
is
14d940c179
Jens, not Joerg
1999-11-25 22:11:03 +00:00
is
5a05d40012
Address range scaling is hidden by the bus_space functions. Correct the
...
definitions in case we ever do bus_space accounting on Amiga.
1999-11-25 21:58:57 +00:00
is
366a09427a
Add a few boards we know about.
...
This should really be table-driven and optional.
1999-11-25 21:57:45 +00:00
is
57ac5a3ea7
Another RTL8019 board: X-serve by Individual Computers Jens Schoenfeld.
1999-11-25 21:53:01 +00:00
is
df61f0409e
From the 68040 User Manual, page 4-10:
...
"To fully support self-modifying code in any situation, it is imperative that
a CPUSHA intrcution is executed before the execution of the first self-modified
instruction. The CPUSHA instruction has the effect of ensuring that there is
no stale data iin memory, the pipeline is flushed, and instruction prefetches
are repeated and taken from external memory."
I verified that this is the only way (I can think of) to make the sigtramp
regression test work on 68040. doing cpushl dc; cinvl ic; over the affected
address range, then nop (to synchronize the pipeline) is not enough; apparently
the nop does not FLUSH the pipeline and prefetch...
Note that the 68060 UM has copied the above cited passage, but in fact this is
not true. This might be connected to the fact that the 68060 does ensure
memory access order under most conditions.
1999-11-25 20:30:38 +00:00
ad
6783a346b9
Fix date in copyright string.
1999-11-25 16:40:19 +00:00
pk
249aa2e089
Target `machine' symlink explicitly at the sparc64 headers.
1999-11-25 14:46:08 +00:00
pk
e0118ca933
Suppress the `machine' symlink when making target `obj'.
...
Also add it to the clean target list.
1999-11-25 13:27:30 +00:00
pk
b797a06151
Make symlink to appropriate header directory and have cpp use it.
1999-11-25 13:25:09 +00:00
mrg
dcba4f5e10
use a portable invocation for cc -E
1999-11-25 06:06:03 +00:00
mrg
ca66e6b619
- pass slot number to sbus_get_intr() as a new argument.
...
- in sbus_get_intr(), if we are not an onboard device (ie, sbus card),
encode the slot number into the sbi_pri so that we can later extract
it and use it to find the interrupt map & clear registers for this
device.
- remove "intr" support as it is really pre-sun4u only.
- don't "pause" for so long in sbus interrupt debug messages..
with the slot number being passed back from sbus_get_intr(), the FS/BE
card in an ultra2 now appears to get interrupts and gets beyond
waiting for the scsibus probe!
1999-11-25 05:03:53 +00:00
nisimura
36e75e7449
Some fix on comment descriptions.
1999-11-25 02:53:46 +00:00
nisimura
94b897d4bf
Reorder device descriptions to reflect what kernel shows on screen,
...
mostly in address ascending order.
1999-11-25 02:48:12 +00:00
simonb
353ca54019
Move memory sizing to a new function memsize_scan(), and add an empty
...
stub for memsize_bitmap() to use the PROM bitmap for memory information.
Add a memsize function pointer to the platform structure, and make all
existing DECstation models use memsize_scan() for now.
Interestingly, from the Ultrix cpuconf.{c,h} only the 3100 and 5400 use
a memory scan to determine available memory - all other models use the
PROM bitmap...
1999-11-25 01:40:22 +00:00
augustss
961d4d6ad2
Change CS4297 id entry.
1999-11-24 23:21:01 +00:00
augustss
df60fd6eac
Regen.
1999-11-24 23:18:07 +00:00
augustss
ae1dcc2dc0
Comment out some entries for Entrega serial adapters. These entries
...
are only relevant before firmware download.
1999-11-24 23:17:27 +00:00
augustss
c156651eb9
Avoid the special when disconnecting devices with no config descriptor.
...
It was wrong.
1999-11-24 23:14:39 +00:00
augustss
bb2a9b3008
Add some more debug printing.
1999-11-24 23:13:19 +00:00
scottr
2454426afe
Take a cue from the i386 port: Enable DHCP by default, rather than
...
BOOTP.
1999-11-24 22:01:19 +00:00
drochner
cfabac64f5
fix vm_page initialization for the case where kernel+symbols+tables
...
exceed 16M
1999-11-24 18:32:50 +00:00
drochner
b1f2453dee
add a diagnostic panic to catch illegal memory ranges passed to
...
uvm_page_physload()
1999-11-24 18:28:49 +00:00
simonb
93d33f5806
Wildcard 3max {asc,le}0 at tc attachment.
1999-11-24 02:25:37 +00:00
thorpej
635d546dd9
Specify the locators for everything.
1999-11-24 02:10:47 +00:00
thorpej
4d7bdecfce
My 3MAX's config file.
1999-11-24 02:05:40 +00:00
thorpej
7fa174a09e
Specify all the locators for the various devices.
1999-11-24 02:05:12 +00:00
mrg
d4cf67e2d2
s/CEXTRAFLAG/CEXTRAFLAGS/ so it works.
1999-11-24 01:54:34 +00:00
mrg
abc579187f
prefix a variable with "pci_"
1999-11-24 01:53:38 +00:00
simonb
05715b1dbd
Attach asc0 and le0 at tc 5 and 6 respectively - 5000/200 now works again.
...
XXX: Should the turbochannel slot numbers be wildcarded or hardcoded?
It's not as if they can appear anywhere else...
1999-11-24 01:52:06 +00:00
simonb
6a03465ac4
Don't check for additional dc instances yet.
1999-11-24 01:43:38 +00:00
thorpej
11ea81b1c2
Delete now-unreferenced files.
1999-11-24 01:18:13 +00:00
simonb
d6a69159ca
Fix tyop in comment.
1999-11-24 00:18:37 +00:00
thorpej
298f4b27f4
Make separate device lists for the 3100 and 5100, and add a way to probe
...
for optional `dc' devices on the 5100.
1999-11-24 00:04:06 +00:00
fvdl
d901f6eae0
Be more careful to block bio interrupts for some data structures. There
...
were at least a few missed cases where vp->v_{clean,dirty}blkhd were
unprotected since the softdep/trickle sync merge.
1999-11-23 23:52:40 +00:00
augustss
881d3f4735
A little cosmetic.
1999-11-23 20:36:10 +00:00
thorpej
98e19f8e0e
Add an `addr' locator to the `ibus' bus. This allows you to wire down
...
unti numbers on systems which have e.g. multiple `dc' devices on the
internal bus (like the 5100).
1999-11-23 20:07:34 +00:00
leo
761038f279
Correct the test for a free-slot for isa_intr_alloc(). Also issue a warning
...
that should make it clear in which slot the card is expected to be in.
Isapnp is not what it seems to be on the atari (where interrupts are
hardwired to slot numbers).
1999-11-23 14:48:58 +00:00
minoura
c48182e1ae
Add missing `major' entries: md and fd.
1999-11-23 14:17:09 +00:00
simonb
a09d3191a0
Remove leading '/' from pathnames, using same logic as ufs.c. Allows new
...
style (but not yet committed) pmax bootblocks to open "/boot.pmax" on an
ISO image. Same problem reported for NFS by Jason Thorpe.
1999-11-23 12:20:53 +00:00
augustss
2e175b3f88
Avoid 0 blocksize.
1999-11-23 08:38:30 +00:00
shin
6378e492c1
RAMDISK = GENERIC + md
1999-11-23 05:08:25 +00:00
scottr
d617933e27
Round out our options with 4bpp framebuffer support, conditional
...
on RCONS_4BPP.
1999-11-23 01:52:52 +00:00
wrstuden
e9c570ec77
Now make an ofwboot.xcf, and XCOFF version of ofwboot. Uses the new
...
fix-coff program.
1999-11-23 01:35:37 +00:00
wrstuden
cd6e26a395
Add fixcoff, a program to be used during a build to help make xcoff'
...
binaries from elf ones.
1999-11-23 01:32:37 +00:00
augustss
17971be39a
Don't used extern on uhcidebug and ohidebug variables.
1999-11-22 21:57:09 +00:00
jdolecek
e55cd100f8
minor stylistic change
1999-11-22 19:15:12 +00:00
jdolecek
5d1658a740
don't prototype Debugger() here, including <sys/sytm.h> is enough
1999-11-22 19:05:32 +00:00
jdolecek
5b50e62cbb
don't prototype Debugger() here, i't done in <sys/systm.h>
1999-11-22 19:01:50 +00:00
jdolecek
b9d5c93b1c
Debugger() --> cpu_Debugger(), include <sys/sytm.h> for it's prototype
...
remove obsolete comment
1999-11-22 19:00:57 +00:00
jdolecek
9986dd3f7d
Debugger()/cpu_Debugger() is always available and always defined/prototyped
...
in <sys/systm.h> for sun3/sun3x, even in non-DDB case
1999-11-22 18:34:00 +00:00
jdolecek
aca868ca69
previous is true even for sun3x
1999-11-22 18:05:41 +00:00
jdolecek
a0d86c452f
sun3 has cpu_Debugger() and hence Debugger() available even in non-DDB case
1999-11-22 16:53:59 +00:00
tsubai
1acee6a50f
Remove D-I cache synchronization code in setregs(). MI part has it now.
1999-11-22 13:31:44 +00:00
tsubai
668b553d53
Need opt_compat_netbsd.h.
1999-11-22 13:26:59 +00:00
tron
82d9324e38
Remove duplicate IPv6 options.
1999-11-22 08:14:05 +00:00
itojun
0cea637239
merge SHARK.v6 into SHARK.
1999-11-22 05:17:33 +00:00
sommerfeld
17d170b1ca
defopt COM_DEBUG, COM_HAYESP, and COM16650
1999-11-22 03:53:38 +00:00
shin
1cf30597ea
forgot to change 'VRKIU_LAYOUT' to 'PCKBD_LAYOUT'.
1999-11-22 02:14:30 +00:00
shin
49ead2a4a7
add RCS Id.
...
add copyright & license notice.
1999-11-22 02:11:09 +00:00
itohy
3e16beaf22
Add a bunch of "__attribute__((__packed__))"s
...
to get along with the ELF compiler.
1999-11-22 01:14:55 +00:00
perseant
bb2093f24a
Initialize i_ffs_effnlink, so every file doesn't look like it's already been
...
deleted for the purpose of dirops (particularly create and mkdir). Addresses
PR#8815.
1999-11-21 19:25:31 +00:00
is
58f7417063
Call the machine dependent code to do d-cache/i-cache synchronization, for
...
architectures that need it. Without this, at least on Motorola 68040 and 68060
machines, the sigtramp regression test fails.
1999-11-21 17:04:05 +00:00
pk
633fd1e1cc
Check presence of Sbus interrupt properties before using them.
1999-11-21 15:23:01 +00:00
pk
d5a471ccc9
Check presence of Sbus interrupt properties before using them.
...
Only one case is known to trigger this omission: a Sparc Classic
configured as X terminal.
1999-11-21 15:01:50 +00:00
itojun
e9a0023b37
bring in content of GENERIC.v6 into GENERIC.
...
remove GENERIC.v6 file (as it is part of GENERIC now).
"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only). We may need to think about it again.
if you have problem compiling with INET6 on archs I do not have access to,
please contact me.
XXX what to do with arch/arm32/SHARK{,.v6}?
1999-11-21 14:00:37 +00:00
shin
312ac4e1e1
add scan code mapping for
...
IBM WorkPad z50
NEC MobilePro 770, 800
Sharp Tripad PV6000 / Vadem Clio
NEC MC-CS series
Fujitsu Intertop CX300
change keyboard layout according to model(default).
add options PCKBD_LAYOUT to override default.
1999-11-21 12:53:57 +00:00
shin
a16b5d0ff6
Regen.
1999-11-21 12:49:07 +00:00
shin
26fe8d79e2
regen.
1999-11-21 12:48:44 +00:00
shin
85bb334fd0
add IBM WorkPad z50
1999-11-21 12:48:25 +00:00
shin
69af3df31f
add MCCS comctrl (GPIO 14)
...
add IBM WorkPad z50
1999-11-21 12:47:33 +00:00
shin
40fbdc840c
add wscons to compile
1999-11-21 12:46:51 +00:00
pk
d92a868bcf
Avoid unused symbol warnings when not using DDB.
1999-11-21 11:47:51 +00:00
pk
a4e956ce77
Also pull in <pci/pciidereg.h>.
1999-11-21 11:17:35 +00:00
takemura
cad52c9e08
Add a entry for Mobile Dock 2, which is 2.5" HDD adapter.
1999-11-21 10:13:08 +00:00
takemura
3abbbd219e
Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A).
1999-11-21 07:58:49 +00:00
uch
4c747fe97d
TX3912/3922 support
1999-11-21 07:04:31 +00:00
uch
fe6ca23b78
add new function vr_fb_init, vr_mem_init.
1999-11-21 07:01:54 +00:00
uch
5bd99e89d8
add fb_init, mem_init member to struct platform.
1999-11-21 06:59:41 +00:00
uch
0816e8d336
when frame buffer address is not specified, don't try to access.
1999-11-21 06:53:21 +00:00
uch
9a758aab34
PLUM2(TC6358TB) TX3922 companion chip
1999-11-21 06:50:26 +00:00
uch
a8b695c150
ITE IT8368E PCMCIA controller
1999-11-21 06:48:58 +00:00
uch
480704756f
Compaq C-series keyboard driver
1999-11-21 06:48:02 +00:00
uch
6326e09f77
PLUM2-ISA bridge
1999-11-21 06:46:02 +00:00
eeh
2277dc3475
Move KERNBASE down from 0xf8000000 to 0xf1000000, just beyond the PROM.
1999-11-21 00:17:18 +00:00
uch
1760a4ef69
Toshiba TX3912/3922 internal modules.
1999-11-20 19:56:31 +00:00
uch
1b4b351fab
allow to handle > 512MByte physical address
1999-11-20 19:44:30 +00:00
uch
041804dc8e
Add base offset to rend
1999-11-20 19:40:58 +00:00
jtk
a65648a323
regen
1999-11-20 18:32:31 +00:00
jtk
35b90fb812
add Xircom CE3 10/100 Ethernet
1999-11-20 18:32:08 +00:00
eeh
9b628a6223
Add handler for T_FLUSHWIN trap in case old code makes use of it.
1999-11-20 18:12:00 +00:00
eeh
97b34de711
Limit buffers to 1/4 of the kernel address space.
1999-11-20 18:10:44 +00:00
eeh
18fefbe895
Add softdep option.
1999-11-20 18:09:52 +00:00
eeh
6daa33d3fe
Install NetBSD/sparc64 headers on NetBSD/sparc systems.
1999-11-20 16:35:24 +00:00
jun
62d5d129d5
- merge CATS.v6 to CATS
...
- add UCONSOLE
- remove XSERVER (it only uses in shark/pccons.c?)
1999-11-20 07:28:35 +00:00
jun
c58149afb8
merge GENERIC.v6 to GENERIC
1999-11-20 07:18:59 +00:00
nisimura
40f7514028
Introduce wscons vsxxx mice (and possible tablet) routines; changes
...
of existing codes (lk201_ws.c, zskbd.c, and zsms.c) will follow.
1999-11-20 04:55:30 +00:00
augustss
f73590bbf0
Print the PnP id of unknown codecs.
1999-11-20 01:16:15 +00:00
augustss
14896709bf
Join two lines in the attach message.
1999-11-20 01:15:25 +00:00
augustss
7b92ed07bd
Propagate the USB revision number to the usb driver.
1999-11-20 00:57:08 +00:00
thorpej
046d593425
Add the `packed' attribute to structures which describe wire protocol data.
1999-11-20 00:37:58 +00:00
mrg
d07a6cf8e4
pull across fix from dec_3000_500.c:
...
>split the "asc" and "tcds" searching into two separate sections and
>keep a "tcdsdev" of the booted tcds device. make sure that the "asc"
>is the child of the tcds. this fixes boot device detection on dec
>5000/400 (prolly 400-900) machines in the presense of a tcds option
>card, which would use the right tcds chip & disk scsiid of the last
>attached tcds -- which meant it would choose the wrong disk, or not
>find the boot device at all if the corresponding scsiid was unused in
>the last attached disk.
>
>XXX: this may need to be copied to dec_3000_300.c but i have no idea
>as i can not test this hardware at all...
>
>fixes PR#8771 by myself.
1999-11-20 00:01:14 +00:00
augustss
83c33f4fee
Fix typo in comment. From Brad <brad@openbsd.org>
1999-11-19 23:50:21 +00:00
ragge
351a7de621
Get symbol "NETISR_IPV6". This fixes PR#8790, but in a different way.
1999-11-19 22:09:55 +00:00
ragge
7e650509f4
Include param.h instead of types.h, to get mem* macros on vax.
1999-11-19 22:07:12 +00:00
thorpej
e1ed9178a1
Add the `packed' attribute to structures which describe wire protocol
...
data formats.
1999-11-19 20:41:19 +00:00
thorpej
7479d29f00
Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.
1999-11-19 18:27:18 +00:00
thorpej
f1ba0d46a3
Regen.
1999-11-19 18:26:22 +00:00
thorpej
55495ae2e9
Add OUI for Enable Semiconductor.
1999-11-19 18:26:09 +00:00
thorpej
0c3eefb6a5
Add a basic CardBus front-end for the `tlp' driver. Still more work to do.
1999-11-19 18:23:35 +00:00
thorpej
9ed17102f4
- Use the common MII bit-bang module.
...
- Add support other than 128-byte SROMs.
- Add support for the 21142/21143 MII.
1999-11-19 18:22:42 +00:00
thorpej
dc5a586c1c
Use the common MII bit-bang module.
1999-11-19 18:17:14 +00:00
thorpej
b5fd53184a
Add the mii_bitbang attribute to the elink3 and tlp drivers.
1999-11-19 18:16:13 +00:00
joda
d7496546b5
try to do a better job of figuring out the EEPROM size; the old code
...
didn't work on (some?) 557-based cards
1999-11-19 15:19:14 +00:00
bouyer
a15ba40c30
Bump __NetBSD_Version__ to match osrelease.sh. Thanks Bernd :)
1999-11-19 13:32:39 +00:00
bouyer
89e847a90f
kernel interface changed, bup version number (what will come after
...
1.4Z ? :)
1999-11-19 13:05:06 +00:00
mrg
9f1959ab2b
split the "asc" and "tcds" searching into two separate sections and
...
keep a "tcdsdev" of the booted tcds device. make sure that the "asc"
is the child of the tcds. this fixes boot device detection on dec
5000/400 (prolly 400-900) machines in the presense of a tcds option
card, which would use the right tcds chip & disk scsiid of the last
attached tcds -- which meant it would choose the wrong disk, or not
find the boot device at all if the corresponding scsiid was unused in
the last attached disk.
XXX: this may need to be copied to dec_3000_300.c but i have no idea
as i can not test this hardware at all...
fixes PR#8771 by myself.
1999-11-19 10:49:46 +00:00
bouyer
3a220103e8
Adapt printf format for 64bit stats counters.
1999-11-19 10:42:48 +00:00
bouyer
f86517a031
Update protocoles and interfaces stats counters to 64bit.
...
RTM_IFINFO is now 0xf, 0xe is RTM_OIFINFO which returns the old (if_msghdr14)
struct with 32bit counters (binary compat, conditioned on COMPAT_14).
Same for sysctl: node 3 is renamed NET_RT_OIFLIST, NET_RT_IFLIST is now node 4.
Change rt_msg1() to add an mbuf to the mbuf chain instead of just panic()
when the message is larger than MHLEN.
1999-11-19 10:41:41 +00:00
jun
c090b6a417
add comments
...
XSERVER
INSECURE
SOFTDEP
1999-11-19 06:25:11 +00:00
matt
b7af02bb1b
defopt SOFTDEP
1999-11-19 05:49:53 +00:00
simonb
95d4e16c43
Remove function declarations already declared in ibusvar.h and
...
fix typo in dec_3100_intr_*() declarations.
1999-11-19 04:34:01 +00:00
itohy
7be83cbb7c
Oops, I misspelt a macro name.
1999-11-19 03:54:08 +00:00
nisimura
dad420bf58
Move declarations of 3100/5100 ibus interrupt establishment routines
...
to ibusvar.h
1999-11-19 03:15:28 +00:00
simonb
682b4e3665
Include SCSI version of disk in device display.
1999-11-19 03:14:22 +00:00
simonb
af2a80f51c
Show the SCSI version of the tape drive. Also, when printing out info
...
about the tape drive, only use one ``printf("\n");'' at the end rather
than having lots of \n's.
1999-11-19 03:04:39 +00:00
matt
1d740db7d2
Not all platform have devices which need isadma. Make the isa_dmainit
...
call conditional.
1999-11-19 02:40:25 +00:00
simonb
9dacfe6b24
Don't need extern with function declaration.
1999-11-19 02:35:40 +00:00
simonb
1dd2a74d0a
Only all the kbd/mouse init functions if NRASTERCONSOLE > 0.
1999-11-19 02:17:01 +00:00
simonb
88673ee539
Only call tcfb_cnattach() if NRASTERCONSOLE > 0.
1999-11-19 02:16:06 +00:00
simonb
253ea37824
Include "opt_dec_{3,5}100.h" so we know what models are
...
configured. Also fix prototypes for dec_3100_intr_establish()
and dec_3100_intr_disestablish().
1999-11-19 02:11:47 +00:00
nisimura
adf0157d64
Fix system type case analysis error; pointed by John.P.Darrow@wheaton.edu.
1999-11-19 01:28:08 +00:00
lonhyn
090c4d2e66
Program to convert back and forth between PPM and CHRP boot icon images.
1999-11-19 00:43:20 +00:00
augustss
3386c68b46
Cosmetic changes and some small improvements. From FreeBSD and Nick Hibma.
1999-11-18 23:32:25 +00:00
joda
b578473fae
include dev/cardbus/cardbusdevs.h
1999-11-18 16:57:41 +00:00
joda
88d26dd881
regen
1999-11-18 16:03:43 +00:00
joda
08bc681319
fix bogus comment
1999-11-18 16:03:12 +00:00
minoura
13d97a81a4
pmap_enter() change.
1999-11-18 15:19:26 +00:00
joda
175087230a
use CARDBUS_VENDOR_INVALID
1999-11-18 15:11:15 +00:00
joda
8c62b47d9f
regen
1999-11-18 15:09:59 +00:00
joda
40f1a07541
add INVALID vendor, and an Intel modem
1999-11-18 15:09:30 +00:00
minoura
e8a82e3d7e
Do not reset SCSI bus.
1999-11-18 15:03:03 +00:00
enami
38acee1010
Cope with new return value of pcmcia_scan_cis(). (Actually, it's not
...
so new but at least newer when I wrote these code).
1999-11-18 14:25:28 +00:00
enami
f38640f00f
Add some comments and reformat comment which doesn't confirm KNF.
1999-11-18 14:20:11 +00:00
minoura
8ae197322f
Sync w/ GENERIC (options SOFTDEP).
...
Add IPv6 options to ALL.
1999-11-18 14:09:40 +00:00
minoura
b799f7bb46
Remove MAPPEDCOPY (somewhat buggy?).
1999-11-18 14:08:24 +00:00
oster
5fd68b5d02
We must initialize bp->b_dep in InitBP().
1999-11-18 13:28:06 +00:00
enami
13cd632041
Define i_e2fs_rdev.
1999-11-18 08:26:21 +00:00
enami
068ded93c6
Cosmetic changes; fix indentation and usage of white spaces.
1999-11-18 08:23:22 +00:00
jun
46b5560f98
and add sys/arch/mips/mips/fpemu.c
1999-11-18 06:50:17 +00:00
jun
0e8bb20fd2
on port-mips@netbsd.org:
...
Shuichiro URATA <ur@a-r.org> makes kernel softfloat emulation code.
http://www.a-r.org/~ur/softfloat1116.diff.gz
is Patch for
sys/arch/mips/conf/files.mips
sys/arch/mips/mips/fp.S
sys/arch/mips/mips/fpemu.c
sys/arch/mips/mips/genassym.cf
sys/arch/mips/mips/locore.S
sys/arch/mips/mips/mips_machdep.c
sys/arch/mips/mips/process_machdep.c
sys/arch/mips/mips/trap.c
sys/arch/mips/mips/vm_machdep.c
After apply this patch,pmax package binary works on hpcmips!
1999-11-18 06:47:48 +00:00
enami
f6b8114fc7
Initialize the vnode_hold_list correctly.
1999-11-18 05:50:25 +00:00
is
082c2a59eb
- strings handled by the common functions sysctl_string() and sysctl_rdstring()
...
are handled as arrays; that is, a truncated old value is returned, alongside
with ENOMEM, if the buffer is too small.
- in all int, quad, and single struct cases, and all specials handled inside
this file, oldlenp semantics are now as documented in the manual page, that
is, a NULL oldp, but non-NULL oldlenp returns the needed size
[I had to change the oldlenp handling, so I thought I should make it as
advertized. Formerly, the subroutines would not know when a NULL oldlenp
was passed, do the work anyway, and the value would be thrown away.]
This is needed as a first step to make gethostname() and getdomainname()
conform to its own manual page and SUSV2. (See pr 7836 by Simon Burge)
1999-11-17 23:24:54 +00:00
augustss
cdaec29859
A few more purely stylistic changes that I missed in the last round.
1999-11-17 23:00:49 +00:00
augustss
08aacd4e6f
Regen.
1999-11-17 22:59:30 +00:00
augustss
206c85df58
Add CATC analyzer.
1999-11-17 22:59:04 +00:00
kleink
4c461e0055
s/completition/completion/
1999-11-17 22:53:47 +00:00
tron
6bb7163ea2
Fix typo.
1999-11-17 20:41:27 +00:00
perseant
ff33b3365d
Fix spllevel problem with superblock exclusion and with segment write throttle.
...
May address PR#8383.
1999-11-17 20:08:30 +00:00
thorpej
7f28924acc
If we see a bogus $PIR table entry, just ignore it. The MPIIX has
...
entries for the IRQs used by the IDE controller, which aren't really
PCI IRQs (they're ISA compat IRQs), and thus have link values that
don't make a lot of sense.
1999-11-17 18:55:15 +00:00
matt
a56a96a888
#elifdef ??? Change to #elif defined(__ELF__)
1999-11-17 18:08:01 +00:00
thorpej
916d6aaa36
Use the common MII bit-bang module.
1999-11-17 17:56:52 +00:00
thorpej
94407b9f8f
Define the `mii_bitbang' attribute, and give it to the `ex' driver.
1999-11-17 17:56:00 +00:00
thorpej
6c50cb64e1
Common module for bit-bang'ing the MII.
1999-11-17 17:47:59 +00:00
kleink
eac5784583
Move signal management code common to all PowerPC platforms (sendsig(),
...
sigreturn(), sigcode) to a single place in the shared powerpc directory.
(The struct sigcontext etc. definitions were already being shared.)
1999-11-17 14:56:10 +00:00
kleink
c76614ee74
One more pmap_enter() catch-up.
1999-11-17 14:48:43 +00:00
soren
b4c9eea282
Add newline in debug printf.
1999-11-17 12:34:52 +00:00
fvdl
ba7e45647d
Initialize buffer dependencies list for soft updates when initializing
...
a new buffer.
1999-11-17 09:34:03 +00:00
thorpej
ce25407921
Make this a lot more like the PCI front-end.
1999-11-17 08:49:16 +00:00
mrg
e69f5159aa
fix a problem in previous: avoid using shadow variable names.
1999-11-17 08:43:53 +00:00
soren
f361f1b1b8
Also disable EX_CONF_INTPHY on the B model.
1999-11-17 08:42:06 +00:00
thorpej
5bd0644a68
Make the MII code match the `ep' driver's (*again*).
1999-11-17 08:03:30 +00:00
thorpej
e1a760a4a7
The 3c575-TX does *not* have an internal PHY.
1999-11-17 07:59:57 +00:00
thorpej
3f761bc3a7
Enable PCI bus renumbering, and add some CardBus Ethernet cards.
1999-11-17 07:34:48 +00:00
thorpej
11d76dfece
Add PCI bus renumbering code.
1999-11-17 07:34:15 +00:00
thorpej
0d79886ad5
Fix up the PCI bus numbering after fixing up interrupts.
1999-11-17 07:33:41 +00:00
thorpej
f4b4d4508a
Code from UCHIYAMA Yasushi's PCI BIOS patches to renumber the PCI
...
busses.
1999-11-17 07:32:58 +00:00
chs
7fa6c707d3
update a prototype for the new pmap_enter().
1999-11-17 06:16:49 +00:00
jun
b2557d295c
add:
...
#options SOFTDEP # FFS soft updates support.
1999-11-17 03:56:38 +00:00
simonb
fca16d1571
Move the "Attach the interface" section after printing the mac address
...
and buffer sizes. Stops the ipv6 attach info from messing up the
other driver info.
1999-11-17 03:42:24 +00:00
nisimura
8bcd9ac481
Consistent panic messages when erroneous kernel configurations are found.
1999-11-17 03:42:20 +00:00
jun
559f1ca662
re-generating isapnpdevs.c isapnpdevs.h
1999-11-17 02:03:10 +00:00
thorpej
92fcbce96b
Add my laptop's configuration file as an example.
1999-11-17 01:24:49 +00:00
thorpej
ad161afb12
Add glue for BIOS32 and PCI BIOS.
1999-11-17 01:22:29 +00:00
thorpej
4bfa60e3d3
Initialize BIOS32 and PCI BIOS as appropriate.
1999-11-17 01:22:09 +00:00
thorpej
d6d9fbe240
Interrupt router drivers from UCHIYAMA Yasushi's PCI BIOS patches,
...
cleaned up and reworked a bit be me.
1999-11-17 01:21:20 +00:00
thorpej
2026e5f71b
PCI interrupt routing fixup code, from UCHIYAMA Yasushi's PCI BIOS
...
patches, cleaned up and heavily reworked by me. Basic algorithm is
the same, although the code structure is now quite different.
Main differences:
- Initialization path is totally different.
- We use the `compat router' information, if present, to determine which
PCI ICU driver we should use.
- Fixup configuration headers on devices not on bus 0.
1999-11-17 01:20:38 +00:00
oster
e589155692
Remove some minor stuff that wasn't right, and wasn't even really used.
1999-11-17 01:16:37 +00:00
thorpej
e345f0f17c
Basic interface to the PCI BIOS and PCI Interrupt Routing table, separated
...
out from UCHIYAMA Yasushi's PCI BIOS patches, and fairly heavily reworked
by me.
Main differences:
- Only use the PCI BIOS to get the config mechanism and interrupt routing
info for now. No need to use the BIOS for PCI config access right now,
since the old mechanism works fine, and this keeps the code smaller.
- PCI BIOS initialization code path is much different.
- Always use the $PIR table if it exists, and only fallback to the
PCI BIOS 2.1 GetInterruptRouting call if it's not there.
This module does not include any of the fixup code; that is coming
in separate commits.
1999-11-17 01:16:36 +00:00
thorpej
4a98f5856e
Basic interface to BIOS32. Separated from UCHIYAMA Yasushi's PCI BIOS
...
patches and cleaned up a bit.
1999-11-17 00:55:50 +00:00
nisimura
dab18ce266
A file which escaped from 11/15 jombo commit work.
1999-11-17 00:10:00 +00:00
augustss
ef8e85f177
Regen.
1999-11-17 00:09:48 +00:00
augustss
62058f9f6b
Add the SBLive! joystick device.
1999-11-17 00:09:17 +00:00
augustss
d37a1f8e3b
Implement OSS_SOUND_MIXER_INFO.
1999-11-17 00:06:38 +00:00
augustss
ffb29861c2
Add a few more diagnostics.
1999-11-16 22:19:03 +00:00
augustss
70ad5362d4
Fix a pointer test that I got wrong in the big code cleanup.
1999-11-16 22:15:50 +00:00
mjacob
a7c74fb98f
Re-add stub Qlogic F/W files so that life is easier when/if the new
...
Qlogic F/W copyright is approved.
1999-11-16 18:48:40 +00:00
mjacob
8cf9a14802
Add in a step to actually probe for MCPCIAs. This allows us to run on
...
4100s that only have two of four possible MCPCIAs.
1999-11-16 18:37:24 +00:00
mjacob
2981278f40
Add in a define for a MCPCIA bridge register that would be suitable for
...
probing for with badaddr(9).
1999-11-16 18:36:27 +00:00
mjacob
ce28c5e558
Make sure a MCPCIA exists before trying to initialize it. Also make
...
sure a MCPCIA softc exists before trying to do post-config cleanup
on it.
1999-11-16 18:33:11 +00:00
matthias
87bb3a7b2b
make this work again with -mrtd.
1999-11-16 18:16:53 +00:00
enami
0a4858667a
Include sys/device.h so that this file compiles again; file dev/tc/tcvar.h
...
now contains the definition of tc_softc.
1999-11-16 12:26:42 +00:00
augustss
c5019ec09a
Add a quirk for a buggy Qtronix keyboard.
1999-11-16 12:08:38 +00:00
augustss
b019d68caa
Some minor changes from OpenBSD.
1999-11-16 12:04:28 +00:00
augustss
1d1d6b868d
Mark an early Altec Lansing speaker as broken.
1999-11-16 11:39:48 +00:00
tron
073ee3b029
- Add IPv6 options and devices.
...
- Add commented out softdep option.
1999-11-16 10:22:42 +00:00
augustss
982eb1b4e6
Preallocate DMA buffers. Fixes problem reported by Hubert Feyrer.
1999-11-16 10:21:11 +00:00
dan
46ccd498df
Add entries for we[01] (configured as for the i386 GENERIC) to enable
...
WD/SMC ISA ethernet cards to be used for installation and setup.
1999-11-16 07:37:43 +00:00
nisimura
e810ae49c6
Resolve 3max IOASIC disguise; round #2 .
1999-11-16 06:00:11 +00:00
jun
1e396f9b0b
Support for Adaptec AVA-1502P
...
kern/8804 patch by NAKAGAWA, Yoshihisa
1999-11-16 05:10:54 +00:00
jun
a525b9a12a
Commit patch kern/8778
...
Subject: NEC PCI modem support
1999-11-16 03:15:17 +00:00
lukem
a3b9423bb0
fix lp64 lossage
1999-11-16 03:06:06 +00:00
nisimura
7917bfc69d
Back out a part of change in the previous commit; old driver uses it.
1999-11-16 02:48:24 +00:00
nisimura
5948b59226
Fix a typo in PX TC device identification case analysis.
1999-11-16 02:39:03 +00:00
nisimura
fb43e6e177
Remove now defunct definitions and declaratins.
1999-11-16 02:34:30 +00:00
nisimura
1c6749cc03
Restore a change in 1.23 which I accidentally lost at the previous commit.
1999-11-16 02:16:04 +00:00