mycroft
621455a04a
Don't allow interrupts while in DDB.
1994-10-09 09:13:18 +00:00
mycroft
b90985ee3d
Don't poll the BUSY bit until the SDH register is set.
1994-10-07 11:34:52 +00:00
mycroft
1eaa03e7dc
Fix initial allocation of dev array, and simplify the code
...
slightly.
1994-10-07 09:08:29 +00:00
mycroft
4010acf9f3
Handle Cyrix CPUs a bit differently. Based on suggestions from Michael
...
VanLoon.
1994-10-06 03:36:40 +00:00
jtc
badcc17a6d
Add constants required by XPG3
1994-10-05 17:16:29 +00:00
mycroft
86e7908a72
Make some comments more clear.
1994-10-01 07:19:32 +00:00
mycroft
f7b0f89811
Various minor changes to sync better with DG's version.
1994-10-01 07:13:32 +00:00
mycroft
6ddbe860c2
Update from Wolfgang Stanglemeier.
1994-10-01 06:27:56 +00:00
mycroft
0e28696023
Add IO_PPI.
1994-10-01 03:52:46 +00:00
mycroft
e32c213d35
Add IO_PMP[12] and IO_PMPSIZE.
1994-10-01 03:48:49 +00:00
mycroft
1e0ffaa7d6
Clean up a little.
1994-10-01 03:42:59 +00:00
mycroft
c25a6980ac
Add INTRUNMASK().
1994-10-01 03:37:37 +00:00
jtc
62db8972b1
Updated bde's comments wrt. i387 control word settings so that they
...
describe NetBSD, rather than 386BSD 0.1.
Removed 386BSD and BDE control word constants, since we don't need and
will never use them. However, The iBCS control word constant is kept,
since we might want to use it in the iBCS binary compatibility code.
1994-09-22 00:37:13 +00:00
mycroft
1c8e17fb63
Prototype spllower().
1994-09-19 05:05:15 +00:00
mycroft
cc1852efe4
Add some delays to save the Gateway (lose, lose) keyboard controllers.
1994-09-18 19:33:11 +00:00
mycroft
b7cc64e049
Check the SB Pro IRQ and DRQ correctly. From Jason Thorpe.
1994-09-16 23:48:22 +00:00
mycroft
c7003d37d3
Only reset FIFO if changing baud rate. From John Kohl (slightly edited).
1994-09-16 02:50:39 +00:00
mycroft
8dd2c63b08
Turn off the delay debugging messages again.
1994-09-12 20:29:08 +00:00
mycroft
71564b8859
Turn off a few things.
1994-09-11 08:39:36 +00:00
jtc
bdd26b125c
asm -> __asm (PR #463 ).
1994-09-10 01:07:08 +00:00
mycroft
0d3651018e
Make kernel_pmap a macro that points directly to kernel_pmap_store.
1994-09-09 23:58:48 +00:00
mycroft
cf04bbff56
Small optimization for the !DIAGNOSTIC case.
1994-09-09 03:16:03 +00:00
mycroft
289bc175c6
Another tiny optimization.
1994-09-08 21:56:14 +00:00
mycroft
a90cca9558
Add a simple pv_page garbage collector (currently disabled).
1994-09-08 21:03:43 +00:00
mycroft
4116a4243e
Various changes:
...
* Inline some functions.
* Eliminate redundant calls to pmap_page_index().
* Reduce the number of TLB flushes in accordance with the i386 SSWG.
* Inline pmap_remove() in pmap_remove_all(). (Most if it is unnecessary.)
* Allocate pv_entry's in pages, and keep a list of free entries in each page,
and a list of pages with free entries. (Trying to reduce malloc() overhead,
and improve locality of reference.)
* Remove a couple of macros that aren't really useful.
* Remove pmap_kernel() completely.
1994-09-07 20:48:52 +00:00
mycroft
d884d26b32
Trivial change of no significance.
1994-09-07 20:32:45 +00:00
mycroft
9d4125d1ec
A few small optimizations.
1994-09-07 20:32:00 +00:00
mycroft
e4bc47c9fc
Remove bogus attempt to map the interrupt pins here. The BIOS is supposed to
...
do it anyway.
1994-09-06 01:25:22 +00:00
mycroft
faa18f6ce6
New iBCS2 code from Scott.
1994-09-05 01:08:43 +00:00
mycroft
584de55692
Missed an iobase that should be u_short.
1994-09-05 00:21:40 +00:00
mycroft
6c66af544c
Fix some ugly code.
1994-09-02 05:12:12 +00:00
jtc
b3b55d02f1
Misc changes to make this file more like the asm.h headers used by other
...
architectures:
Renamed _C_FUNC() to _C_LABEL()
Renamed _ASM_FUNC() to _ASM_LABEL()
Merged _BEGIN_ENTRY with _ENTRY
Renamed _END_ENTRY to _PROF_PROLOGUE
When assembling with profiling enabled, set up stack frame before calling
mcount() in _PROF_PROLOGUE. Also omit emitting .long 0's, as they are no
longer used by the profiling code.
1994-09-02 05:02:47 +00:00
mycroft
9ea30b3bf3
Check for bad p_emul.
1994-08-30 06:19:44 +00:00
mycroft
90b0e68767
Clean up deleted files.
1994-08-29 23:12:23 +00:00
cgd
e67ae11432
no more floppy bins; these now done by crunch.
1994-08-29 23:10:58 +00:00
mycroft
a13c1b15cc
Minor.
1994-08-26 12:43:17 +00:00
deraadt
de20d2cf67
Re-enable EISA reset code -- definately needed now. do RX_DISCARD_TOP_PACK
...
before leaving splhigh(), to give incoming packets a better chance.
1994-08-26 12:11:44 +00:00
glass
891ca8ce21
my kernel config
1994-08-26 05:07:00 +00:00
deraadt
6c2b49032b
fix debugging stuff, from dean
1994-08-25 20:18:25 +00:00
mycroft
cb3576ee87
If possible, lower the CPU class if the correct one is not configured.
1994-08-25 00:10:30 +00:00
mycroft
d20de15399
Add USPACE.
1994-08-24 19:32:36 +00:00
mycroft
f6a9558d05
Update to match reality.
1994-08-24 19:28:03 +00:00
mycroft
5e4a51278b
Set the FIFO threshold based on the receive speed, per Mark Weaver.
1994-08-24 07:25:18 +00:00
deraadt
62939dc113
pcvt & bt dynamic irq
1994-08-24 07:10:22 +00:00
mycroft
c4eac0f370
Some cleanup, checked by Dean.
1994-08-23 23:40:55 +00:00
mycroft
8ac5e10c5d
Various code cleanup.
1994-08-23 19:30:12 +00:00
deraadt
666f228bab
add `eg' driver for the 3c505 by <dean@fsa.ca>
1994-08-23 17:59:33 +00:00
mycroft
996b2b5c54
Disable EISA reset, for now.
1994-08-22 21:53:23 +00:00
mycroft
71c5da7bfb
Fix typo in WDCS_BITS.
1994-08-22 21:43:35 +00:00
mycroft
9c921e0ada
Remove SF and SR.
1994-08-21 15:25:28 +00:00
mycroft
8b8390a4bb
Look for MDMBUF in cflag, not lflag.
1994-08-21 15:04:37 +00:00
mycroft
24381e7f01
Validate unit number correctly.
1994-08-17 19:14:53 +00:00
deraadt
256353ef62
multicast
1994-08-17 06:04:49 +00:00
mycroft
0c5a342fde
Add vnd.
1994-08-16 19:20:14 +00:00
mycroft
3481b6aa87
Add iBCS2 files.
1994-08-15 23:33:59 +00:00
mycroft
82ccfef767
Remove misplaced SVR4 dispatch.
1994-08-15 22:38:39 +00:00
mycroft
1ec65d2465
Add iBCS2 glue.
1994-08-15 22:24:22 +00:00
mycroft
01c2a3243e
Add flags for iBCS2 compat.
1994-08-15 22:19:44 +00:00
cgd
cefdccbf31
changes for the new sys_process.c, and some cleanup
1994-08-15 16:37:04 +00:00
mycroft
d980c59b98
Better fix for the previous.
1994-08-15 15:19:55 +00:00
mycroft
05c7d6e9c7
Kill stupid compiler warning.
1994-08-15 15:17:07 +00:00
mycroft
5f27568164
Eliminate struct pte and struct pde.
1994-08-15 14:46:45 +00:00
mycroft
36975ff354
Don't use altsts. Sigh.
1994-08-15 08:22:20 +00:00
gwr
486ad2cc03
Correct bad memory reference when dumpdev == NODEV (i.e. DISKLESS).
1994-08-14 22:47:28 +00:00
gwr
8a15866490
Just like GENERIC but gets root/swap from NFS.
1994-08-14 22:38:54 +00:00
mycroft
a618f9d915
Slight optimization, and don't go bonkers if one of the sub-devices is not
...
configured.
1994-08-14 14:13:25 +00:00
mycroft
a570fcd929
Re-enable EISA reset.
1994-08-14 09:43:59 +00:00
mycroft
cd2f7cc8a0
Clean up a little.
1994-08-14 09:24:55 +00:00
mycroft
60280d9735
Don't allow VM86 mode, for now.
1994-08-13 06:55:47 +00:00
mycroft
3c3258eb6d
Make this work.
1994-08-11 04:54:13 +00:00
mycroft
55b11feb0a
Update some comments.
1994-08-10 04:37:52 +00:00
mycroft
e079a8f355
Add ncr0.
1994-08-09 22:31:45 +00:00
mycroft
d291808d92
Add NCR and PCI files.
1994-08-09 22:24:29 +00:00
mycroft
8dbfcf9e2e
Add NCR 53c8XX driver, originally from Wolfgang Stanglmeier.
1994-08-09 22:20:44 +00:00
mycroft
199e2eea6a
Fix handling of M-RET with PCVT_META_ESC defined.
1994-08-09 13:56:25 +00:00
mycroft
6df721be97
Add PCI autoconfiguration support.
1994-08-09 00:47:46 +00:00
mycroft
061c42c22d
Minor update.
1994-08-08 07:09:31 +00:00
mycroft
59de58a39b
Count up the silo overflows and only log a warning at most once per minute.
1994-08-07 11:27:51 +00:00
mycroft
9c8afcf191
Avoid using DFIFOHF, which doesn't exist on 6260 chips. Turn off
...
AIC_USE_DWORDS by default.
1994-08-07 10:51:40 +00:00
mycroft
b0db502d9c
Remove diagnostic.
1994-08-07 10:49:06 +00:00
mycroft
d9a996a92e
Add multiplexer for RT 4-port serial cards.
1994-08-07 10:45:53 +00:00
mycroft
70cc90a193
Add rtfps.
1994-08-07 10:43:56 +00:00
mycroft
b6e9bf14c8
Simplify the DEPCA memory test, and fix a problem with using the alternate
...
PROM address.
1994-08-07 00:56:04 +00:00
deraadt
ebd23fe5e0
cleanup
1994-08-06 23:19:39 +00:00
mycroft
558c00c001
Fix spelling of `STEREO'.
1994-08-05 22:56:19 +00:00
deraadt
cefefb25ca
cleanup, working 32 bit IO on the 3c579, and memory alignment of insl/insw
...
for better performance.
1994-08-05 21:16:33 +00:00
mycroft
74d29b909d
Disable most of the Cyrix-specific code by default; just turn off aching of
...
the ISA hole.
1994-08-03 22:35:02 +00:00
mycroft
3882663a9f
Don't mess with Cyrix configuration bits that are hardware-specific. Move
...
all of the cache-enabling junk into an #ifdef. Print a warning even if the
cache is enabled.
1994-08-03 22:11:53 +00:00
deraadt
ffb9d6e173
document cyrix configuration registers
1994-08-03 21:39:16 +00:00
mycroft
9d7eefb176
Change iosize to 16.
1994-08-03 09:17:12 +00:00
mycroft
a17171c0a2
Add a missing splx() and increase the reset delay during probe, as suggested
...
by Juergen Keil. Add a diagnostic message if the controller info is not what
we expect.
1994-08-03 08:57:59 +00:00
mycroft
50a6dfb61a
Actually, preserve PSL_T for debugging.
1994-08-03 06:28:10 +00:00
mycroft
0cdf874ccb
Reset eflags on exec.
1994-08-03 06:26:00 +00:00
mycroft
5cd29a7fce
Kill IOPL, dead, dead, dead.
1994-08-03 06:22:26 +00:00
ws
55211b963a
Unmount the first dir, too.
1994-08-02 12:27:10 +00:00
mycroft
45b0217c1e
Fix up u14_find() a bit; mainly, don't include a DRQ for the 34f.
1994-07-31 19:21:40 +00:00
mycroft
a00c5fdb91
Add some missing newlines in the attach messages.
1994-07-31 18:25:50 +00:00
mycroft
8a9df6389d
Bug fixes from Mark Weaver.
1994-07-31 11:34:38 +00:00
mycroft
fc66b93a38
Fix for Cirrus Logic 542x boards, from Onno van der Linden.
1994-07-31 09:44:50 +00:00
mycroft
01d7a6c28b
0 --> NODEV
1994-07-31 04:59:36 +00:00
mycroft
6990b98c64
Patch from Onno var der Linden to fix reading and writing of 360K floppies
...
in 1.2MB drives.
1994-07-31 01:20:52 +00:00
mycroft
3436a4a65b
Remove DIOCSDINFO completely; disklabel(8) will deal.
1994-07-31 00:47:52 +00:00
mycroft
1d2563f804
Use `swap generic'.
1994-07-29 01:16:35 +00:00
mycroft
3ed3679b67
Make this work.
1994-07-28 21:40:27 +00:00
mycroft
53f3b61cdc
Redux.
1994-07-28 19:57:31 +00:00
mycroft
c405e84a24
port --> iobase
1994-07-28 09:50:33 +00:00
mycroft
d02e11d543
Make the EISA reset code like the other drivers.
1994-07-28 08:44:47 +00:00
mycroft
fb500c4d07
Redo some of the EISA config stuff.
1994-07-28 02:39:21 +00:00
mycroft
c1a5741a3b
Remove unused macros.
1994-07-27 15:02:59 +00:00
mycroft
aeac43f556
Use the automatic IRQ/DRQ detection.
1994-07-27 14:46:34 +00:00
mycroft
5e04cfb942
Fix typo.
1994-07-27 13:24:17 +00:00
mycroft
4ac4810048
Normalize.
1994-07-27 13:14:14 +00:00
mycroft
1939acdbd2
Fix the DMA setup.
1994-07-27 13:10:33 +00:00
mycroft
1a9c6d05a3
Enable IRQ probing, and fix the DMA setup.
1994-07-27 12:57:02 +00:00
mycroft
dffcd8ea8d
Enable IRQ probing.
1994-07-27 03:09:21 +00:00
mycroft
16878bf2f9
Enable IRQ probing.
1994-07-27 01:50:57 +00:00
mycroft
35b4db3030
Add IRQUNK.
1994-07-27 01:50:15 +00:00
mycroft
55be0e4936
Don't lose if the symbol table is empty.
1994-07-27 01:48:29 +00:00
mycroft
3ba1d35da1
Fix a bogon that crept in when swdevt was changed to end with NODEV. Also
...
change to use MAXPARTITIONS.
1994-07-27 00:21:16 +00:00
mycroft
1e24ff6b3b
Don't modify the device number; let the driver do it.
1994-07-26 19:37:00 +00:00
mycroft
b5ce4d0cdd
Normalize label handling.
1994-07-26 19:36:06 +00:00
mycroft
233b5d12f4
Make sure this runs on a 386.
1994-07-26 19:33:49 +00:00
mycroft
a18c0c0d83
Look for errors in the right place in a transmit descriptor, and count
...
collisions.
1994-07-25 22:54:58 +00:00
mycroft
220a5a5095
Add missing splbio()s, pointed out by Gene Stark.
1994-07-25 04:29:56 +00:00
mycroft
8328e78454
Don't allow the clock chip to be reset if the time hasn't been initialized.
1994-07-25 00:19:47 +00:00
mycroft
45f83d31c4
Make this compile with GCC 2.6.
1994-07-22 22:26:12 +00:00
mycroft
5dcf8d2fa5
Change a btrl to btl. The use of btrl is no longer necessary.
1994-07-22 07:52:50 +00:00
mycroft
1c46c460ee
Return EINVAL if the requested transfer size is weird.
1994-07-21 23:44:16 +00:00
mycroft
f9a027fa33
Update version number.
1994-07-21 20:34:13 +00:00
mycroft
1dda4b8dab
Old fs compat.
1994-07-21 20:25:17 +00:00
mycroft
285ed388fb
Give a better diagnostic message for the previous.
1994-07-21 19:05:31 +00:00
mycroft
64232122c2
Make a rather lame attempt to discover bogus directories and not get wedged
...
in an infinite loop.
1994-07-21 18:06:26 +00:00
mycroft
7fca65c005
Remove something which cannot possibly be correct.
1994-07-21 04:15:05 +00:00
mycroft
37dc11891c
Fix a typo.
1994-07-21 03:40:53 +00:00
mycroft
4469aea569
Do the EISA probing a little differently.
1994-07-21 03:30:18 +00:00
deraadt
3013b3fdbc
check if eisa card exists before tromping on dma
1994-07-21 02:51:53 +00:00
mycroft
6d61cde9dd
Fix handling of null selectors.
1994-07-20 23:01:26 +00:00
cgd
3fbc338a62
define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi
1994-07-20 05:44:19 +00:00
mycroft
f2d6bac657
Fix various bugs, from Duncan McEwan and John Kohl.
1994-07-19 05:08:55 +00:00
mycroft
698fdf82c5
Add various and sundry options.
1994-07-18 08:34:59 +00:00
cgd
8ee00127c9
deal properly with 'obj' dirs, when making boot blocks, etc.
1994-07-18 08:03:20 +00:00
mycroft
560cc3b8bb
Invert the button logic. (Oops.)
1994-07-18 07:18:57 +00:00
mycroft
10e27106d0
Minor cleanup.
1994-07-17 19:35:32 +00:00
mycroft
ee120821cf
Updated to match other drivers, and three bugs fixed.
1994-07-17 19:24:40 +00:00
cgd
c750222ef4
reenable MSDOSFS
1994-07-16 21:46:44 +00:00
cgd
ea3d9333af
add MSDOSFS, DIAGNOSTIC, DEBUG
1994-07-16 21:41:11 +00:00
mycroft
cc9da7d69f
Fix failed probe message.
1994-07-16 13:45:59 +00:00
mycroft
e88e13f3bb
Fix a bogon relating to >16-bit addresses that I introduced. Fix up BPF
...
support for received packets.
1994-07-15 21:20:48 +00:00
mycroft
22b754f8e7
Fix disassembly of bit test instructions with an immediate shift count.
1994-07-15 21:11:34 +00:00
mycroft
551f7bc780
Since we're no longer using xchg instructions, there's no reason to prefer
...
a q reg over and other. Also, fix some types in the case of _POSIX_SOURCE.
1994-07-15 21:10:21 +00:00