mjacob
261191603a
copyright foo
1997-11-19 15:35:36 +00:00
augustss
2e65c33090
Make sure isapnp_config() runs before we allocate the DMA channels.
1997-11-19 14:19:59 +00:00
briggs
1adbb93466
* Disable parity checking on all devices until we find a better way to
...
deal with cheap CD-ROMs and other devices that do not appear to have
any way to enable parity generation. In the future, it might be nice
to have this configurable on a per-device basis with back-to-back
parity errors automatically disabling parity for the device. That
would require some MI changes.
* Handle unaligned and odd-length transfers.
This could probably be handled better in the future.
1997-11-19 13:01:32 +00:00
mycroft
0afda495f5
Do the Pentium bug fix differently. Put the IDT in a read-only page and check
...
for a write fault on the illegal instruction descriptor. Don't ask why this
works unless you have a strong stomach.
1997-11-19 11:11:22 +00:00
scottr
2311eecbad
Fix emulation, mostly from Dave Huang in PR 4482 (one tweak by me for CUU/CUD, and
...
one from him to correct a fencepost error in {reset,clear}_tabs()).
1997-11-19 07:00:03 +00:00
augustss
470342eec5
Recognize HP ScanJet 5p.
1997-11-19 03:03:15 +00:00
gwr
5ea276f19a
Correct handling of "physical address" values given to us by the
...
VM code, which may have low bits specifying device space!
1997-11-19 00:19:10 +00:00
enami
d0333aa752
Define struct statfs.f_flags as unsigned short instead of signed short.
...
Fixes PR#4530. Suggested by Jason R. Thorpe.
1997-11-18 21:35:16 +00:00
mhitch
44c123573b
Define PC_ADVANCE() to advance the PC around the break instruction only
...
if the break instruction is still there. This works around a problem with
the software single step in DDB not recognizing the temporary breakpoint
set to emulate the single step.
1997-11-18 21:13:17 +00:00
mhitch
f027428995
Cursor is supposed to be turned on when unblanking the screen.
1997-11-18 20:16:28 +00:00
augustss
f1a39fe2df
Recognize another card and handle the case when both drqs are the same.
1997-11-18 19:24:46 +00:00
augustss
ba76377205
Make an XXX note about the broken ALS id.
1997-11-18 19:17:21 +00:00
hannken
50be28153c
Change order of include files. See PR #4532 .
1997-11-18 12:40:31 +00:00
bouyer
e0746c57db
Fix for systems with multiple tl interfaces:
...
nullbuf (used to pad packets < ETHER_MIN_SIZE) is used for all tl
interfaces. Allocates only once, and never deallocate it (as we can't say
if another instance of the driver is interface is using it).
1997-11-18 12:26:09 +00:00
augustss
fe3e796d68
Dropped an else in last commit.
1997-11-18 11:34:50 +00:00
augustss
ee5628ee52
Add another PnP id.
1997-11-18 11:31:07 +00:00
augustss
c622832eb0
Add another card and take care of swapped drqs.
1997-11-18 11:27:04 +00:00
sakamoto
760b87dd7c
Debugger() is called outside #ifdef DDB - fix.
...
remove simple monitor.
1997-11-18 03:09:09 +00:00
phil
7cf15a500f
Boot loader changed addresses due to a size increase and a similar change
...
size in the boot floppy.
1997-11-18 01:19:21 +00:00
thorpej
7ec7599a61
Change the interface name from "st" to "strip", so as to match the
...
pseudo-device option listed in the kernel config file, and to avoid
a name clash with the "SCSI tape" driver.
1997-11-17 23:35:28 +00:00
thorpej
22284276e8
Remove a gratuitous debugging printf.
1997-11-17 23:01:44 +00:00
ws
4e4c231c15
PR4393: additional fixes of format strings for unsigned parameters
...
PR4394: be more consistent with other MSDOSFS_DEBUG messages
PR4395: fix generation numbers as in the PR, and fix short name for e.g. x.aaaa
PR4396: easier fix then given in the PR
All PRs by Rick Byers. Thanks Rick for pointing these out
1997-11-17 15:36:17 +00:00
mrg
fc911d1529
fix checksum problems (from marc boucher via darren reed).
1997-11-17 14:33:46 +00:00
jonathan
1c7a3c901e
Apply version of cursor for bt431 cursor chip on mfb:
...
Fix cursor sprite for X11 startup/exit:
* add cursor on/off functions.
* Default cursor state is off (for framebuffer console).
* Turn off cursor in each driver's xxxCursorInit() entrypoint.
* Turn on cursor at the end of each driver's xxxLoadCursor() entrypoint.
works with X11R5 servers shipped with NetBSD 1.3.
1997-11-17 11:44:50 +00:00
thorpej
c356454eef
Cosmetic changes.
1997-11-17 09:08:26 +00:00
thorpej
1413de77e0
KNF.
1997-11-17 09:02:27 +00:00
thorpej
fc216e9a85
Cosmetic changes.
1997-11-17 08:56:08 +00:00
thorpej
5bf3550518
KNF.
1997-11-17 08:52:38 +00:00
thorpej
3a748eae8f
KNF.
1997-11-17 08:38:04 +00:00
thorpej
942f131579
Fix RCS ID.
1997-11-17 08:28:09 +00:00
thorpej
7602fbd930
Cosmetic changes.
1997-11-17 08:25:56 +00:00
thorpej
7e8aa22eaa
Sigh, now that we've fixed a bug in PCI space management (the bug caused
...
i/o-mapped space to always be used), we discover that at least one
ThunderLAN interface can't read the EEPROM properly if memory-mapped
access is used. Kludge around this for now by "prefering" i/o space.
1997-11-17 08:14:53 +00:00
mjacob
fee73b1391
Roll to 1.7 F/W level.
1997-11-17 05:07:02 +00:00
thorpej
f56e6f631f
Add an i/o address for iy0 (from GENERIC)
1997-11-17 03:42:52 +00:00
thorpej
9246032610
Put lc0 at i/o 0x320.
1997-11-17 03:39:42 +00:00
thorpej
639dc38fd4
Rewrite lc_isa_probe() to not scan i/o space for LEMAC cards, but rather
...
to look specifically at the address it was provided *only*, since the
scan isn't safe (it can stomp on cards that will be probed later, like
NE2000 clones).
1997-11-17 03:34:24 +00:00
lukem
e8cb388f65
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:58:31 +00:00
thorpej
bbee567187
Fix a couple of bugs/annoyances in match/attach:
...
- Do PCI space configuration like the other drivers. In particular,
don't _disable_ the space we're not using because some lame firmware
implementations might not reenable it on warm boot. Also, prefer
memory space always.
- Make match and info-gathering in attach table-driven.
- Rearrange things a bit to be a bit more visually pleasing during boot.
Also, fixup some #include problems.
1997-11-17 01:58:29 +00:00
lukem
6c986561ee
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:57:23 +00:00
thorpej
dffffc2120
Cosmetic change.
1997-11-17 01:44:58 +00:00
ross
3877611a5c
Put it back the way it was.
1997-11-17 00:59:56 +00:00
ross
711247adf8
Eliminate %: use from alpha/trap.c; the policy is to get rid of these
...
anyway. I _still_ have my doubts about the kprintf %: code, though.
1997-11-17 00:52:49 +00:00
ross
9dcfc52387
Put in Jason's recommended fix for the null-curproc-in-pmap.old.c problem.
1997-11-17 00:11:22 +00:00
lukem
4e3ba1ea9e
s/DB_HISTORY_SIZE/DDB_HISTORY_SIZE/, for consistency with other DDB #defines
1997-11-16 23:51:23 +00:00
fvdl
e46f160a4a
Make sure the receive lock is taken when disconnecting a socket. Also
...
change a check for a 'connected' socket to use the socket rather than
the mount flags.
From Matthias Drochner.
1997-11-16 23:23:20 +00:00
christos
669a5c22a2
Regen
1997-11-16 22:51:15 +00:00
christos
6a9178e444
From Todd Vierling:
...
- Fix memcntl()
- Fixed stat and mknod syscalls to properly disassemble and reassemble
dev_t values to/from emulation dev_t's
- Added pty (ptmx) subsystem at svr4net minor number 10 -- /dev/ptmx
- Implemented fork1() as fork() (should change if and when threads get
added to the system)
- fixed spellings in disclaimer in svr4_net.c; it looks like someone went
and did a s/nd/st/g on the whole file... yuck
- changed ptmx device to also halt on ENXIO (for pty files that exist with
no kernel pty to back them)
- fixed SVR4 setpgrp() to be a near equivalent to BSD setsid() (old
emulation didn't create a new session)
1997-11-16 22:50:55 +00:00
christos
ab417737fa
Add declaration for db_delete_line
1997-11-16 22:46:39 +00:00
christos
473310c0a4
PR/4510: William Coldwell: Recognize TI thunderlan.
1997-11-16 22:38:33 +00:00
christos
739eae3e8b
Regen.
1997-11-16 22:33:59 +00:00
christos
9279ce1dc1
PR/4510: William Coldwell: Add TI thunderlan support.
1997-11-16 22:33:19 +00:00
christos
98ec14c8e6
PR/4504: Tero Kivinen: Add DB_HISTORY_SIZE option to enable history in ddb
1997-11-16 22:24:47 +00:00
christos
af27f4e9b5
PR/4506: Andreas Gustafsson: Finnish keyboard mapping for pccons.
1997-11-16 22:05:48 +00:00
christos
ceedd58536
PR/4394: Rick Byers: MSDOSFS_DEBUG kernel panics during mount.
1997-11-16 21:50:10 +00:00
christos
96a8d9af7b
PR/4393: Rick Byers: MSDOSFS_DEBUG kernel does not compile.
1997-11-16 21:47:27 +00:00
mycroft
466fb6d0db
On output, if the packet length doesn't match the length in the IP header,
...
drop the packet with EINVAL.
1997-11-16 20:58:18 +00:00
mycroft
0963ca7386
Minor change.
1997-11-16 12:31:00 +00:00
mycroft
d7107be1c9
Fix a condition where we might keep interrupts blocked while servicing a soft
...
interrupt.
Fixes serial port silo overflow problems.
1997-11-16 12:30:00 +00:00
jonathan
45ad7fb3e5
Fix cursor sprite for X11 startup/exit:
...
* add cursor on/off functions.
* Default cursor state is off (for framebuffer console).
* Turn off cursor in each driver's xxxCursorInit() entrypoint.
* Turn on cursor at the end of each driver's xxxLoadCursor() entrypoint.
works with X11R5 servers shipped with NetBSD 1.3.
1997-11-16 10:17:53 +00:00
carrel
2030b7b104
Turn off reseting and disabling the device by default.
...
Document the option to turn them back on.
1997-11-15 20:18:50 +00:00
pk
639260ce32
Use DESTDIR consistently when constructing `boot.net'.
1997-11-15 14:29:36 +00:00
ross
42046e9698
A new kprintf was imported on 10/24, and it will cause a kernel panic
...
whenever the %: format is used on NetBSD/Alpha. Disable %: for __alpha__.
Note: the "correct" (but untested on other architectures) fix is to
change the wrong: kprintf(cp, oflags, tp, NULL, va_arg(ap, va_list));
to the right: kprintf(cp, oflags, tp, NULL, ap);
1997-11-15 09:27:33 +00:00
mycroft
93b31159bf
When fixing up traps 1, 3 and 4, turn off the RF flag.
1997-11-15 04:47:30 +00:00
thorpej
de98182f51
If DESTDIR is set and not empty and not /, force SYS_INCLUDES to "copies";
...
chances are, we're building a release or snapshot in this case.
1997-11-15 01:09:15 +00:00
mrg
84ecff38c2
merge ip-filter 3.2.1
1997-11-14 12:40:06 +00:00
mycroft
6250567ba0
Make INTO actually work right.
1997-11-14 12:30:06 +00:00
mrg
61cbfaca09
import ip-filter 3.2.1
1997-11-14 08:03:01 +00:00
jonathan
0c7ac6dc71
Initialize 3100 cursor to off, for rcons text mode.
...
(Minimal-distance fix for 1.3 release).
1997-11-14 02:01:22 +00:00
jonathan
a5449ca17c
Back out read-side DELAY() in previous revision added on advice of
...
tech-kern. Reported by Sean Davidson to cause erroneous doubling of
keyboard input on a 5000/50 under load.
Increasing the DELAY() from 2 to 30 doesn't help. Remove it for the
1.3 release. May cause problems with low-speed serial input, but
console keyboards work properly.
1997-11-14 01:38:57 +00:00
is
ad4c422ef9
Oops. Somehow the code to actually config_find the BBC on A1200s wasn't
...
committed.
1997-11-13 23:03:10 +00:00
phil
2516dd1548
int -> long in a structure.
1997-11-13 20:57:31 +00:00
mjacob
940f8fcfd1
remove unneeded and conflicting prototype
1997-11-13 18:06:01 +00:00
veego
86086729e7
if NARP -> if NARP > 0
1997-11-13 10:48:19 +00:00
veego
8b485c5962
Add a missing #if NARP > 0 around arpintr(); and add a #include "arp.h"
...
for NARP. This is for the 'new' arp system.
1997-11-13 10:43:06 +00:00
veego
df6d37534b
s/NETHER/NARP/ and s/ether.h/arp.h/ for the 'new' arp system.
1997-11-13 10:37:40 +00:00
mycroft
b1c7e79679
Map NMI in user-level code to SIGBUS.
1997-11-13 10:13:46 +00:00
mycroft
f946a9746d
Oops; previous logic was wrong.
1997-11-13 07:21:23 +00:00
mycroft
da60005b96
Only do the Pentium trap fixup when we get a kernel mode page fault.
1997-11-13 05:31:04 +00:00
mhitch
7984f5ce3a
The scsi command length was not being set in rz_command(), which caused
...
the SII driver to fail when trying to get the drive geometry.
Remove extraneous newline when printing out the disk geometry during device
probes.
1997-11-13 03:56:49 +00:00
mycroft
4f8b60c6bb
Implement the BSDI kluge for the Pentium `hang'; leave the first 7 IDT
...
descriptors in an unmapped page, and patch up the trap information inside
the page fault handler if the faulting VA is inside the IDT.
1997-11-13 03:25:27 +00:00
mycroft
6a310175c6
Some general cleanup:
...
* Call gdt_init() earlier on.
* Don't bother to check for TSS and LDT descriptors in verr_gdt().
* Nuke the sti special case for trace and breakpoint traps.
* Move some variable declarations into more appropriate locations.
1997-11-13 03:16:42 +00:00
thorpej
ce4c770f88
Make sure CPP, AR, AS, and RANLIB are defined.
1997-11-12 23:11:50 +00:00
thorpej
a421995756
Define LORDER, NM, and TSORT here, like we do the rest of the tools.
1997-11-12 22:25:31 +00:00
pk
ff4f5f4528
If necessary, defer console output until TX interrupt handler runs.
1997-11-12 22:18:54 +00:00
pk
39879b883e
Use a 1-character queue so polled console output can be deferred if
...
regular I/O has been scheduled.
1997-11-12 22:17:07 +00:00
augustss
dd95190002
XXX Workaround for ViBRA cards with two 8 bit DMA channels.
1997-11-12 20:28:42 +00:00
pk
a309481f34
Change load address to avoid cache-aliasing on machines with Harvard-style
...
cache implementations (notably the Hypersparcs).
1997-11-12 00:37:07 +00:00
fvdl
db0d6c4018
Add missing ;
1997-11-11 22:43:51 +00:00
kml
3b9fc85803
Remove an extraneous call to rtfree() in the path mtu discovery code;
...
this was causing negative reference counts on routes...
1997-11-11 21:10:50 +00:00
drochner
b80ad6c934
-point to console(4) manpage for serial console parameters
...
(suggested by Chuck Cranor)
-insert a reasonable IO base address for "iy at isa"
(from Ignatios Souvatzis)
1997-11-11 20:31:38 +00:00
scottr
d28cbedf2f
Fix typo in last change that causes lossage depending on
...
whether the MRG_ADB option is used or not.
1997-11-11 17:31:11 +00:00
mhitch
c390c7a5e1
The address used by mips1_FlushICache() is a virtual address, not a physical
...
address. This caused DDB to hang the machine hard when trying to set a
breakpoint.
1997-11-11 16:50:57 +00:00
thorpej
b6ac221d7c
Type/alignment cleanup in EEPROM code.
1997-11-11 06:35:46 +00:00
thorpej
6fcc8cd8b1
Add locators for "eg0" device, and enable it.
1997-11-11 05:53:06 +00:00
jonathan
b8636b832f
chipset driver for DEC pixelstamp and STIC (stamp Interface chip).
1997-11-11 04:47:57 +00:00
is
9360bfcc81
Remove remnants from ISA com console attachment code, which caused, due
...
to missing variable initialization, a panic on the DraCo.
1997-11-10 22:29:03 +00:00
ragge
7b60c8ed11
Fix multivolume installation bug; PR#4454.
1997-11-10 22:14:16 +00:00
mhitch
b0367937cb
Fix typo: NRASTERRCONSOLE -> NRASTERCONSOLE
1997-11-10 21:59:18 +00:00
pk
85524f37b3
Set `dvma_cachealign' on Hypersparc.
1997-11-10 21:20:07 +00:00
mjacob
479bc8877c
Protect userland applications from the inline splraise function.
1997-11-10 18:23:50 +00:00