Rodney W. Grimes
12fafb2d5a
1. Completely rewritten Makefile that uses bsd.prog.mk more effectively.
...
2. Clean up the .S files to use /* */ style comments.
This is a totally cosmetic change, not one byte of the resulting boot
code changes. But at least it is installed with correct owners and in
the right places, and gets recompiled correctly when things change!
1994-10-02 05:18:26 +00:00
David Greenman
7216391e49
"idle priority" support. Based on code from Henrik Vestergaard Draboel,
...
but substantially rewritten by me.
1994-10-02 04:48:21 +00:00
Poul-Henning Kamp
3d1dcf1ba5
Replaced the magic register union with inline assembler. Now it works
...
"mostly". My machine still panics from time to time, and I think the
problem is a stack-problem.
1994-10-02 01:45:42 +00:00
Rodney W. Grimes
21abf3d3ce
1. Remove all references to cyloffset, it has been unused for some time.
...
2. New detection code so we know what boot code called us.
3. Remove old DISKLESS support code and halt if we are called by that boot
code as it will NOT work with the new nfs_diskless structure.
This is really in preperation for new boot code and new diskless support.
Reviewed by: davidg
1994-10-02 01:32:53 +00:00
Rodney W. Grimes
723b616383
Add code to generate NFSDISKLESS_SIZE for use in locore for copying the
...
nfs_diskless structure in from the boot code.
Reviewed by: davidg
1994-10-02 01:28:38 +00:00
Garrett Wollman
28e822955c
Implement full proxy ARP, gated on option ARP_PROXYALL. This allows
...
a FreeBSD box to do proxy ARP as easily as most commercial routers do,
without messing around with (potentially variable) Ethernet addresses.
This code is really quite simple; I'm not at all sure why it wasn't
implemented in 4.4.
It might be worth stealing an interface flag (maybe IFF_LINK1) to use for
finer-grained control over which interfaces get proxy treatment. For the
moment, it's all or nothing.
1994-10-01 21:50:33 +00:00
Rodney W. Grimes
470d929ec2
genassym: depends on the source code too.
1994-10-01 21:43:24 +00:00
Poul-Henning Kamp
64bb0d8861
On my GW2K Handbook486 this code would reset when called from locore.s
...
I think I have narrowed this down to the stack being overflown. I have
taken the push/pop of %fs out, it shouldn't be needed anyway, but the
real & correct solution might to save the registers on the stack in
locore.s before calling this stuff.
1994-10-01 21:29:50 +00:00
Garrett Wollman
24161ef88f
Add Matt Thomas's DC21040 PCI Ethernet driver. (This is turning out
...
to be quite a popular chip, so expect to see a number of products
based on it.)
1994-10-01 20:16:47 +00:00
Garrett Wollman
911ac34b1d
Update DEPCA/DE422 et al driver to latest version, from Matt Thomas.
...
This file was run through unifdef -DMULTICAST in preparation.
1994-10-01 20:15:47 +00:00
Garrett Wollman
01b3600a69
Correct `de' device ID.
...
Add pd_npresent field for future loadable PCI drivers.
1994-10-01 19:47:33 +00:00
Garrett Wollman
37be1da83f
Define IFF_ALTPHYS to be IFF_LINK2. Gross, but effective. (There aren't any
...
more bits left in if_flags and I don't want to make it a long this late in
the release cycle.)
1994-10-01 19:44:38 +00:00
David Greenman
fae772f7b2
Added Cortex-I Frame Grabber by Paul S. LaFollette, Jr.
...
Submitted by: Paul S. LaFollette, Jr.
1994-10-01 17:59:42 +00:00
Poul-Henning Kamp
93e9832a32
#Driver for Advaced Power Management (also need options APM)
...
-device apm0 isa?
+device apm0 at isa?
1994-10-01 16:44:07 +00:00
Andrey A. Chernov
d598f5b350
Fix again PAS16D detection and MVA508 handle.
...
Initial importers (swallace) please be more carefully to not break
old things!
1994-10-01 12:42:17 +00:00
David Greenman
2c7b20a75f
Get rid of redundant declaration, and changed DDB -> SDDB to get rid
...
of the conflict that results otherwise.
1994-10-01 05:46:01 +00:00
David Greenman
3af6b6527a
Added options APM and device apm0 for Advanced Power Management support.
1994-10-01 05:43:09 +00:00
David Greenman
5185ed0d3a
Added $Id$
1994-10-01 05:13:37 +00:00
David Greenman
8321fda1d9
Woops, missed these two files; part of HOSOKAWA Tatsumi's APM support.
1994-10-01 05:05:10 +00:00
David Greenman
414c40f66d
Minor improvement to probe routine.
...
Submitted by: HOSOKAWA Tatsumi
1994-10-01 03:29:28 +00:00
David Greenman
22414e535a
Laptop Advanced Power Management support by HOSOKAWA Tatsumi.
...
Submitted by: HOSOKAWA Tatsumi
1994-10-01 02:56:21 +00:00
Steven Wallace
7f4295e337
add new sound files to kernel config file list
1994-10-01 02:36:24 +00:00
Steven Wallace
c64aa890c4
Use Voxware's new 2.90 soundcard.h.
...
NOTE: 2.9 is backwards compatable with programs compiled with older
soundcard.h, but new programs compiled with 2.9 will not work on pre-2.9
sound drivers.
1994-10-01 02:32:23 +00:00
Steven Wallace
4e82b8b0a5
Merged in changes to Hannu Savolainen's VoxWare sound drivers, version 2.9.
1994-10-01 02:17:17 +00:00
Steven Wallace
8f25169ce6
This commit was generated by cvs2svn to compensate for changes in r3252,
...
which included commits to RCS files with non-trunk default branches.
1994-10-01 01:33:47 +00:00
Steven Wallace
fbb347fe32
Hannu Savolainen's VoxWare original sound drivers, version 2.9.
1994-10-01 01:33:47 +00:00
Garrett Wollman
e902866cf7
Correct DEC -> Digital Equipment Corporation.
1994-10-01 00:18:53 +00:00
Steven Wallace
085d9ce09a
Add #ifndef ALLOW_CONFLICT_IRQ
...
Reviewed by: jkh
1994-09-30 05:35:55 +00:00
Andrey A. Chernov
c364e17e10
Log SA_CORE signals
...
Obtained from: FreeBSD 1.x
1994-09-30 00:38:34 +00:00
Søren Schmidt
f880ac76c8
Oops, forgot one patch for the changed selwakeup, fixed.
1994-09-29 21:11:29 +00:00
Andrey A. Chernov
e4b1dc5b1e
Fix broken FAT_CURSOR support, don't set cursor shape on VGA
1994-09-29 15:49:09 +00:00
Geoff Rehmet
27476ec8f6
Do strip -x of kernel
...
Obtained from:1.1.5.1
1994-09-29 14:02:40 +00:00
Søren Schmidt
f57fd595a6
Added pcaselect call.
1994-09-29 08:59:33 +00:00
Søren Schmidt
a2a0e15a82
Changed header sligthly.
1994-09-29 08:31:39 +00:00
Søren Schmidt
444ada0bd0
Changed header slightly.
1994-09-29 08:29:21 +00:00
Søren Schmidt
336abda6cd
Updated pcaudio.c to latest from 1.1.5.1
...
Enabled timer reprogramming in clock.c (this could use more work).
Obtained from: FreeBSD-1.1.5.1
1994-09-29 08:24:45 +00:00
Garrett Wollman
93e010b0fd
Fixed bug in hardclock() that caused adjtime() to fail when given
...
a negative offset. This would be seen in xntpd as a rash of
``Previous time adjustment didn't complete'' messages on startup.
1994-09-29 00:52:06 +00:00
Garrett Wollman
af27b9fc77
GENERIC*: remove commented-out options; the user should have to do
...
/some/ research to figure out how to turn them on.
LINT: better description of TCP_COMPAT_42: ``emulate 4.2BSD TCP bugs''.
1994-09-28 22:57:24 +00:00
Garrett Wollman
33e7ce7c3d
LKMs are no longer options, so remove the `options LKM' from LINT.
1994-09-28 22:51:54 +00:00
David Greenman
99cab48d34
Now that LKM is standard, PROCFS isn't needed in the GENERIC kernels
...
either.
1994-09-28 22:49:54 +00:00
David Greenman
97643f6f38
The FDESC filesystem is definately not needed in the GENERIC kernels.
1994-09-28 22:46:22 +00:00
Garrett Wollman
5ea9b26376
LKM support is no longer optional.
1994-09-28 22:45:04 +00:00
Garrett Wollman
cd5bc3689f
Disable MFS as loadable until someone figures out how to make it work.
1994-09-28 22:16:27 +00:00
Stefan Eßer
92a25df797
Reviewed by: Julian Elischer / Jordan K. Hubbard
...
Changes are only effective, if NEW_SCSICONF is defined:
1) Added u_int16 quirks to struct scsi_link for device quirks.
2) Added void *devmodes to struct scsi_link for tape density modes.
3) Modified selectdev() to return first full match (with wildcard).
With this patch all device dependent configuration is done in one place
(scsiconf.c), while there were some specifications in st.c and some
hardware dependent drivers (ie. ncr.c) before.
1994-09-28 20:16:45 +00:00
Poul-Henning Kamp
92cbac681e
A potential panic, found by adding declarations.
1994-09-28 19:55:10 +00:00
Poul-Henning Kamp
12d17f6512
Added a %p to printf & friends, same thing as 0x%08x but more with the
...
potiential to make a warning from gcc more useful.
1994-09-28 19:22:32 +00:00
Poul-Henning Kamp
cdf03d9cdf
#include ddb.h not db_output.h
1994-09-28 19:16:24 +00:00
Sean Eric Fagan
0a061aacf3
Get rid of parentheses in version stuff. Use 2.0.0-Development instead.
1994-09-28 18:26:02 +00:00
Stefan Eßer
5c370a2e33
Added entries for PCI and NCR device drivers.
1994-09-28 17:00:14 +00:00
Doug Rabson
9abf4d6ee0
Make NFS ask the filesystems for directory cookies instead of making them
...
itself.
1994-09-28 16:45:22 +00:00
Stefan Eßer
799e5f277f
Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
...
New version with improved support for WIDE SCSI using the NCR 53c825.
Test for buggy secondary cache implementations.
PCI Int to IRQ mapping now specified per slot.
1994-09-28 16:34:13 +00:00
Jordan K. Hubbard
5d72c1c4ef
Make bt_timeout() match proper calling conventions - thank you -W!
1994-09-28 16:23:13 +00:00
Jordan K. Hubbard
6254670e83
Re-port over all of Atsushi Murai's 32bit support and various and sundry
...
improvements from 1.1.5.1. I tried to compile a kernel without BOUNCE_BUFFERS
with the previous version for my Bt946c and it puked and died. Bringing
these enhancements back in allows the faster controllers to DTRT while
still not messing up the older ISA/broken VLB controllers, since
bounce-buffering is still the default. In theory, anyway. Bt445S and Bt545S
folks should start testing this ASAP! (actually, Bt445C and Bt545C folks
even more so!).
1994-09-28 15:55:35 +00:00
Bruce Evans
e04520cef3
Ensure normal selection and alignment of the text and data sections before
...
including files. vector.s sometimes left the data section misaligned
(depending on the configuration) so all the time-critical globals in icu.s
were sometimes misaligned.
1994-09-28 03:37:49 +00:00
Poul-Henning Kamp
9570795993
A minor slip, ktrnamei() is void, not int.
1994-09-27 21:26:56 +00:00
David Greenman
1ffd2a2cbd
Previous commit should have read ...in vm_page_alloc_contig().
...
...(this commit): moved initialization of 'start' to make it more clear
that it is initialized properly (also in vm_page_alloc_contig).
Reviewed by:
Submitted by:
Obtained from:
1994-09-27 20:49:02 +00:00
David Greenman
5992708aea
Fixed another bug, and cleaned up the code.
1994-09-27 20:45:24 +00:00
Poul-Henning Kamp
c3c6d51ea0
Added declarations, fixed bugs due to missing decls. At least one of them
...
could panic a system. (I know, it paniced mine!).
1994-09-27 20:42:59 +00:00
Poul-Henning Kamp
c172c3e66a
ktrace.c: added decl of ktrnamei
...
lkm.h: added decl of lkmdispatch
mount.h: added decl of vfs_busy,vfs_unbusy
syscall: The "created from" changed.
1994-09-27 20:39:54 +00:00
Poul-Henning Kamp
0dc7d9074f
Added
...
options DIAGNOSTIC
options MSDOSFS_DEBUG
1994-09-27 20:36:26 +00:00
Poul-Henning Kamp
24e6444874
Added include of <machine/cons.h> so that cngetc() gets declared.
1994-09-27 20:35:55 +00:00
Poul-Henning Kamp
3810319894
Moved the "relookup" routine into vfs_lookup.c from ufs/ufs/ufs_vnops.c.
...
Several FS's use this, so it doesn't belong in ufs. (unionfs, msdosfs and ufs)
1994-09-27 20:33:41 +00:00
David Greenman
0d040c7eae
Fixed multiple bugs in previous version of vm_page_alloc_contig.
1994-09-27 19:34:16 +00:00
David Greenman
d3c2cf7a80
1) New "vm_page_alloc_contig" routine by me.
...
2) Created a new vm_page flag "PG_FREE" to help track free pages.
3) Use PG_FREE flag to detect inconsistencies in a few places.
1994-09-27 18:00:29 +00:00
David Greenman
4b301dcfc5
First round of changes to get the sound code working in 2.0.
1994-09-27 17:58:30 +00:00
David Greenman
e00fb8aaea
Woops, wrong solution to the problem. Backed out previous fix to ddb.h, and
...
nuked the db_printf() declaration from db_output.h.
Reviewed by:
Submitted by:
Obtained from:
1994-09-27 12:15:56 +00:00
David Greenman
1c7d67ba9c
Nuked db_printf() prototype; it now clashes with the one in db_output.h.
1994-09-27 12:11:09 +00:00
Andrey A. Chernov
7b3e881e50
Bug fixed: cursor shaping in mode swithching produce wrong results for
...
non-fat cursors, cursor_start goes beyond font size.
1994-09-27 11:40:02 +00:00
Poul-Henning Kamp
169cd910b7
Makes gcc silent in sys/ddb.
1994-09-27 03:34:58 +00:00
Andrey A. Chernov
38ddc3a6d6
Refuse text mode switching when proper font not loaded
1994-09-27 01:50:07 +00:00
Garrett Wollman
d2920e07e6
Lots of kernel code requires vnodE_if.h, so provide code to generate it
...
if requested. LKMs which need it should use:
SRCS+= vnode_if.h
CLEANFILES+= vnode_if.h vnode_if.c
These rules were already present for VFS LKMs; now they are enabled all
the time. (VFS LKMs do not need the fragment above; it is still done for them.)
1994-09-26 22:34:04 +00:00
David Greenman
c7d893de7a
Process accounting implementation by Chris Demetriou, with minor local
...
changes.
Obtained from: NetBSD
1994-09-26 21:09:15 +00:00
Paul Traina
d43f5ad71e
Make Cyrix CPU flush internal cache any time it goes into hold state.
...
(Meant to commit this a long time ago... oh well).
1994-09-26 16:56:22 +00:00
Jordan K. Hubbard
380cab623b
Jim Babb's port of the AIC6360 driver.
...
Submitted by: babb
Obtained from: NetBSD
1994-09-26 16:15:45 +00:00
Jordan K. Hubbard
31208007c7
Jim Babb's port of the AIC6360 code.
...
Submitted by: babb
Obtained from: NetBSD
1994-09-26 16:15:06 +00:00
Poul-Henning Kamp
fa69874a39
init_sysent.c was missing the final newline.
1994-09-26 03:27:22 +00:00
Gary Palmer
1295d82e6c
Alterations to silence gcc -Wall. Some unused variables deleted.
...
Reviewed by: davidg
1994-09-26 00:32:59 +00:00
Poul-Henning Kamp
8c0390626e
An ifdef almost hit where it was supposed to go. Joerg owes me a good
...
German beer I think...
1994-09-25 23:37:38 +00:00
David Greenman
c770b47d56
Removed unimplemented subr_rmap.c and unused references to it.
1994-09-25 22:31:11 +00:00
David Greenman
7bfaa9cdaf
Inlined ins/outs functions.
...
Obtained from: NetBSD
1994-09-25 21:31:55 +00:00
David Greenman
d5c97aea74
Undo last change: the ins/outs functions DO NOT return a pointer!
1994-09-25 20:03:41 +00:00
Poul-Henning Kamp
bb56ec4a05
While in the real world, I had a bad case of being swapped out for a lot of
...
cycles. While waiting there I added a lot of the extra ()'s I have, (I have
never used LISP to any extent). So I compiled the kernel with -Wall and
shut up a lot of "suggest you add ()'s", removed a bunch of unused var's
and added a couple of declarations here and there. Having a lap-top is
highly recommended. My kernel still runs, yell at me if you kernel breaks.
1994-09-25 19:34:02 +00:00
Joerg Wunsch
c7a64a0369
Copied over the transfer speed definitions from sys/i386/isa/fdreg.h.
...
This is needed for having the fdformat program no longer searching
non-public include paths.
Protect the definitions in fdreg.h against double inclusion.
1994-09-25 18:42:23 +00:00
Joerg Wunsch
011b09f93f
Copied over the transfer speed definitions from sys/i386/isa/fdreg.h.
...
This is needed for having the fdformat program no longer searching
non-public include paths.
1994-09-25 18:41:21 +00:00
David Greenman
1359438003
Extended minor number to include bits 16-31. It was done this way rather
...
than making it 16bit and extending the major to 16bit because doing that
would have caused problems with existing filesystems /dev entries. This
change should have no apparant side effects.
This change is needed for the DOS partition re-work and other things.
Submitted by: Bruce Evans
1994-09-25 15:56:25 +00:00
Søren Schmidt
792b741dd4
LKM for ibcs2 support
1994-09-25 08:52:14 +00:00
Søren Schmidt
a2cedb8e88
Added support for EXEC type modules.
1994-09-25 08:51:07 +00:00
Poul-Henning Kamp
295cfc17bd
Made the kernel 256 bytes smaller by removing a unused
...
u_char bt_scratch_buf[256];
doesn't affect the file-size though :-(
1994-09-25 07:11:37 +00:00
Poul-Henning Kamp
87eafbcacd
Moved the ft.c from 1.1.5.1 over. It works on my Conner thingie. Got
...
rid of a ton of unused vars at the same time.
1994-09-25 06:04:25 +00:00
David Greenman
426de76026
Disabled swap anti-fragmentation code. It reduces swap paging performance
...
by 20% in my tests, and it appears to be the cause of a swap leak.
Submitted by: John Dyson
1994-09-25 04:02:10 +00:00
Andrey A. Chernov
7bf314246a
HARDFONTS option documented
1994-09-25 02:10:47 +00:00
Andrey A. Chernov
899fe378a6
1)Back out my previous change: only 8x16 font grabbing available,
...
more work required to grab all fonts
2)Make standard VGA font as default, make HARDFONTS an option
(load iso8859 fonts instead)
3)Check fonts_loaded for all restore (copy_font...palette)
sequences.
1994-09-25 02:06:51 +00:00
David Greenman
bc6d744470
Shuffled macros and definitions around to facilitate architecture
...
independance.
1994-09-24 21:37:01 +00:00
Andrey A. Chernov
248a9521f8
SAVE all fonts, if NO_HARDFONTS defined, not only 8x16
1994-09-24 21:29:38 +00:00
David Greenman
24881d11a7
New file to contain a.out specific macros and definitions.
1994-09-24 21:09:18 +00:00
David Greenman
7de4b2667e
Temporarily (?) disable block reallocation until either the real bug is
...
found or we throw out the vfs cluster code entirely.
1994-09-24 18:31:45 +00:00
David Greenman
0f85a55965
1) Added "." and ".." entries.
...
2) Fixed directory size to return something reasonable.
3) Disabled "file" until the code is completed.
4) Corrected directory link counts.
1994-09-24 17:01:05 +00:00
David Greenman
2a531c809e
Added support for p_textvp which stores the vnode pointer of the execed binary.
1994-09-24 16:58:43 +00:00
David Greenman
5a8420c53e
Nuked splnet before sync. Not only is this unnecessary, but it appears
...
to cause problems by making it impossible to sync NFS related buffers
when rebooting.
1994-09-24 12:22:47 +00:00
Rodney W. Grimes
1ee6b373eb
Add missing closing comment. I have taken the non-knf format
...
of this code up with the authors and they are looking at converting it,
but until then leave the format alone.
1994-09-24 02:42:11 +00:00