Andrey A. Chernov
a30090c5f7
Print "on isa" for devices with port==0 per Bruce suggestion
1995-04-06 13:55:56 +00:00
Rodney W. Grimes
5f34517b1c
Output the CPU features line during the probe on a seperate line, for
...
folks with lots of features the output use to wrap and look ugle.
Reviewed by: phk
1995-04-06 07:55:42 +00:00
Andrey A. Chernov
29ecb6a386
Print "on motherboard" for isa? devices with id_iobase == 0
1995-04-04 22:48:40 +00:00
David Greenman
7b0047e213
Made pmap_testbit a static function.
1995-03-30 08:55:39 +00:00
Rodney W. Grimes
ad0c439a34
Submitted by: Mahesh Neelakanta <mahesh@gcomm.com>
...
Change I/O address of Intel EtherExpress driver (ix0) from 0x280 to
0x300.
1995-03-30 00:20:08 +00:00
Bruce Evans
3aa12267a5
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
...
(except in netccitt, netiso and netns) that I didn't notice when I fixed
"all" such warnings before.
1995-03-28 07:58:53 +00:00
David Greenman
1ae89ac36a
Removed declaration of pmap_changebit()...it is no longer exported.
...
Submitted by: John Dyson
1995-03-26 23:42:55 +00:00
David Greenman
880d1d842e
Changed pmap_changebit() into a static function as it always should
...
have been.
Submitted by: John Dyson
1995-03-26 23:42:07 +00:00
Steven Wallace
c27bd0ad13
Do a printf("\n") after all conditional printfs have been done so that
...
a newline is always done. Remove \n's from last conditonal printfs.
1995-03-25 05:54:33 +00:00
Stefan Eßer
0f29bf015c
Correct pcibus_setup() to return as soon as one test succeeds.
1995-03-22 21:35:39 +00:00
Stefan Eßer
9c6f3c132b
Delete PCI PCI bridge simulator code ...
...
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-22 19:51:59 +00:00
Stefan Eßer
33865a313c
Remove spurious declaration of printf().
...
Submitted by: Michael Reifenberger <root@rz-wb.fh-sw.de>
1995-03-22 10:52:05 +00:00
Stefan Eßer
5b3f532eb1
New ISA specific PCI code.
...
Supports shared PCI interrupts.
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-21 23:06:07 +00:00
David Greenman
f550a707bd
Added a new version of trap_pfault() that disallows kernel page faults
...
to the user address space unless pcb_onfault is set. The code is currently
commented out because iBCS2 and process debugging parts of the kernel
need to be changed/fixed first.
1995-03-21 07:16:12 +00:00
David Greenman
c6d5f3ac3e
Changed some #ifdef DIAGNOSTIC code that I added to be #ifdef DEBUG.
1995-03-21 07:02:51 +00:00
David Greenman
edf8a81561
Removed redundant newlines that were in some panic strings.
1995-03-19 14:29:26 +00:00
Rodney W. Grimes
f8e028be26
Add Intel EtherExpress16 (ix0) driver.
...
Reviewed by:
Submitted by:
Obtained from:
1995-03-18 08:12:48 +00:00
David Greenman
3e3eb41588
Call dev_shutdownall() just after unmounting filesystems.
1995-03-17 04:19:19 +00:00
Bruce Evans
b5e8ce9f12
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
...
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
1995-03-16 18:17:34 +00:00
Stefan Eßer
9b2fa02dd9
Prepare for shared interrupts (required by the new PCI code that adds
...
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-16 17:31:19 +00:00
Atsushi Murai
9cfb8f7ee9
Adding tunnel pseudo-device for Network Installation with User process PPP.
...
Reviewed by: amruai@spec.co.jp
1995-03-12 12:10:35 +00:00
Poul-Henning Kamp
fc20488fba
Moved bb stuff to support.s per Bruces suggestion.
1995-03-11 03:49:50 +00:00
Poul-Henning Kamp
9eefa8bfc4
Add a dummy ___bb_init_func for BB profiling of the kernel.
...
To use this: recompile src/gnu/usr.bin/cc, compile your kernel. The
files you want to profile should be compiled with '-a -g'. "strip -x"
the kernel and run. You don't need to profile all files in the kernel.
My next commit is the program to extract the data from the running kernel.
1995-03-10 08:41:26 +00:00
David Greenman
b4abbbcad3
kmem_alloc() returns zero-filled memory; it isn't necessary to bzero()
...
it.
1995-03-10 08:13:07 +00:00
David Greenman
90c47808bb
Removed unnecessary routines vm_get_pmap() and vm_put_pmap().
...
kmem_alloc() returns zero filled memory, so no need to explicitly
bzero() it.
1995-03-10 08:05:00 +00:00
David Greenman
d8cb3fb153
Increased number of buffers to 1/12 of (page_count - 1024). This makes the
...
cache minimum closer to 10% in the usual case.
1995-03-07 19:58:02 +00:00
Joerg Wunsch
68cfe626f7
pcvt is still using the XSERVER option; document this.
1995-03-05 22:23:35 +00:00
Bill Paul
bf3e3428b6
Changed the printf()s in npxattach a bit so you don't end up with
...
messages like this:
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST506>
wd0: size unknown, using BIOS values: 615 cyl, 4 head, 17 sec, bytes/sec 512
npx0 at 0xf0-0xff irq 13 on motherboard
npx0: changing root device to wd0a
^^^^^^
The spurious 'npx0: ' pops up if you have a 386 with a 387 FPU.
1995-03-05 04:06:44 +00:00
David Greenman
812a11a2ec
Removed obsolete vtrace() and reorganized a little.
1995-03-04 02:25:36 +00:00
David Greenman
3b7517f887
Preserve reverse link integraty while doing the queue insertion.
1995-03-03 22:14:42 +00:00
David Greenman
9ad19d92e1
Use copyout to install the sigframe rather than directly writing to the
...
user's stack.
1995-03-03 00:43:08 +00:00
Jordan K. Hubbard
05e1d9d455
Changes to incorporate the Matsushita CDROM driver (otherwise known as
...
the "Sound blaster CDROM").
Submitted by: Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-03-02 04:07:03 +00:00
David Greenman
1d1b971bec
Use su/fubyte instead of directly touching the user's address space.
1995-03-01 23:59:21 +00:00
David Greenman
fde2cdc48a
Various changes from John and myself that do the following:
...
New functions create - vm_object_pip_wakeup and pagedaemon_wakeup that
are used to reduce the actual number of wakeups.
New function vm_page_protect which is used in conjuction with some new
page flags to reduce the number of calls to pmap_page_protect.
Minor changes to reduce unnecessary spl nesting.
Rewrote vm_page_alloc() to improve readability.
Various other mostly cosmetic changes.
1995-03-01 22:08:55 +00:00
David Greenman
54ab07303b
Slight change to include file order to accommodate upcoming changes.
1995-03-01 21:37:44 +00:00
Bruce Evans
550f8550ec
Replace all remaining instances of i386/include' by
machine' and fix
...
nearby #include inconsistencies.
1995-02-26 05:14:53 +00:00
Poul-Henning Kamp
ca063ee672
Change EISA size to 256 instead of 4096.
...
Neither are correct, but 256 does least damage.
1995-02-25 20:26:14 +00:00
Poul-Henning Kamp
6e65a78aee
Read K&R and get the { } right :-)
1995-02-25 18:55:53 +00:00
Poul-Henning Kamp
d8ee5072e3
I belive I finally got the "on eisa" right.
...
| if (!(isdp->id_iobase & 0xf300)) {
| printf(" on motherboard\n");
| } else if (isdp->id_iobase >= 0x1000 &&
| !(isdp->id_opbase & 0x300)) {
| printf (" on eisa slot %d\n",
| isdp->id_iobase >> 12);
| } else {
| printf (" on isa\n");
| }
| }
Based on info in "The undocumented PC" p.165
1995-02-25 18:29:10 +00:00
Stefan Eßer
781d9d4623
Keep PCI_CONF_MODE in a safe place for later reference, if #defined.
...
Reviewed by: se
Submitted by: seb@erix.ericsson.se (Sebastian Strollo)
1995-02-25 17:51:18 +00:00
Bruce Evans
7f3ae831f7
Submitted by: seb@erix.ericsson.se (Sebastian Strollo)
...
Remove over-cautious early fnop() synchronization. It caused the probe to
hang on systems without an FPU.
1995-02-23 17:32:38 +00:00
David Greenman
68940ac1a0
Use of vm_allocate() and vm_deallocate() has been deprecated.
1995-02-20 22:23:31 +00:00
Bill Paul
188291d20f
Do away with 'options SWAP_GENERIC' once and for all: I get ill
...
just thinking about it.
Two changes need to be made to allow 'config kernel swap generic' to
work properly without requiring any compile-time flags:
/usr/src/usr.sbin/config/mkswapconf.c: we need to define a dummy stub
for the setconf() function to replace the one in swapgeneric.c that
isn't available in non-generic configurations.
/usr/src/sys/i386/i386/autoconf.c: the -a boot flag causes setroot()
to be skipped and lets setconf() prompt the user for a root device.
If you skip setroot() in a non-generic kernel, you could get severely
hosed. To avoid this, we silently ignore the -a flag if rootdev != NODEV.
(rootdev is always initialized to NODEV in swapgeneric.c, so if
we find that rootdev is something other than NODEV, we know we're
not using a generic configuration.)
1995-02-18 18:05:35 +00:00
Bruce Evans
390784fbeb
Undo the busy latch changes made in the previous revision. They broke
...
some 386/387 systems.
Don't print the IRQ number twice in the boot diagnostics.
1995-02-17 19:38:13 +00:00
Poul-Henning Kamp
648c711bb4
This is the latest version of the APM stuff from HOSOKAWA, I have looked
...
briefly over it, and see some serious architectural issues in this stuff.
On the other hand, I doubt that we will have any solution to these issues
before 2.1, so we might as well leave this in.
Most of the stuff is bracketed by #ifdef's so it shouldn't matter too much
in the normal case.
Reviewed by: phk
Submitted by: HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
1995-02-17 02:22:57 +00:00
Bruce Evans
ceb91b3e4a
Fix syntax errors in #ifdefed out code.
1995-02-16 13:21:47 +00:00
Joerg Wunsch
c851c2f0ea
Include three lines about the pcvt console driver, so we don't ever need
...
a different config file for it.
1995-02-15 20:38:36 +00:00
David Greenman
919364ea6a
Use proc0's proc struct rather than curproc's when calling sync.
1995-02-15 12:27:01 +00:00
David Greenman
7389231d06
Killed the pmap_use_pt and pmap_unuse_pt prototypes as they are now in
...
machine/pmap.h.
1995-02-15 04:36:31 +00:00
Søren Schmidt
1e1e0b4463
First attempt to run linux binaries. This is only the changes needed to
...
the generic kernel. The actual emulator is a separate LKM. (not finished
yet, sorry).
Submitted by: sos@freebsd.org & sef@kithrup.com
1995-02-14 19:23:22 +00:00