leo
8d079317a6
pmap_changebit() no longer static.
1996-11-06 15:33:56 +00:00
leo
f2501673f5
Prototytpe bus_mem_map/bus_mem_unmap functions.
1996-11-06 15:33:05 +00:00
leo
44263b4564
Add the external drive to the standard setup.
1996-11-06 14:05:31 +00:00
leo
5f28db13df
- Make it's behaviour on minor numbers identical to that of the Hades
...
floppy driver.
- Fixup format types in the debug-printf's
- Don't print empty lines on unconfigured drives.
- When a drive is detected, show it's default format.
---- Warning: minor numbers are shifted! ---
1996-11-06 14:03:15 +00:00
leo
8bad301566
Re-arrange the order in which devices are scanned for a root filesystem.
...
It's really bogus to try a floppy before a harddisk.
1996-11-06 13:57:12 +00:00
leo
37ae30708a
pmap_changebit() can no longer be static since the bus_mem* functions use
...
it.
1996-11-06 13:55:38 +00:00
leo
bc03497d55
Add bus_mem_(un)map functions.
1996-11-06 13:53:35 +00:00
leo
11a4058f20
Remove fdopen->Fdopen cruft. This is no longer necessary.
1996-11-06 13:51:49 +00:00
leo
291d9eabda
These shouldn't have been imported...
1996-11-06 13:46:10 +00:00
leo
e285606c68
mouse configuration, by Thomas Gerner.
1996-11-06 13:38:12 +00:00
mikel
19bb57bc5a
Add another broken CDROM. Fixes PR kern/2913.
...
Some misc. cleanup.
1996-11-06 05:50:31 +00:00
mikel
2241acdd09
vga_move_charset() shouldn't need XSERVER. Fixes port-i386/2904.
1996-11-06 05:28:49 +00:00
chuck
5c91907fb4
add options: EXEC_AOUT and EXEC_SCRIPT
1996-11-06 03:35:03 +00:00
thorpej
34e2fb3bb6
Performance enhancement from Kirk McKusick <mckusick@McKusick.COM>:
...
When freeing an indirect block, there is no need to write it (synchronously,
no less!) before tossing it.
1996-11-06 03:02:59 +00:00
mikel
53945ccb19
Eliminate unsolicited spewage; PR #2108 .
1996-11-05 07:20:32 +00:00
scottr
047ae9a04d
LC III+/Performa 460 series use same vectors as the LC III.
...
Verified by Bob Nestor and Pete Nush.
1996-11-05 07:20:09 +00:00
mikel
697941357c
Eliminate unsolicited spewage; PR #2108 .
1996-11-05 07:17:23 +00:00
mikel
acaccdd747
make X support code dependent on XSERVER; PR port-i386/2528.
1996-11-05 06:21:25 +00:00
jonathan
79b026a8f3
* Add command struct and modifier definitions for controlling the
...
ISA-compatible port space of PCI buslogic cards.
* Add call to bha_pci.c to disable the ISA-compatible ports of a PCI
device. The ISA-compatible ports are enabled by default, which
causes the card to be autoconfigured a second time as an ISA device,
which appears to deadlock the card.
* Change bha_cmd() to return the number of bytes it actually received
in response to a command, or -1 on error.
* Use heuristics (checking for bha-only registers, and checking the size
of the response to BHA_INQURE_EXTENDED) to bha_find, to make sure the
bha driver never matches an aha (Adaptec 1542 or compatible) device.
A single kernel should now boot on either Adaptec or BusLogic controllers,
provided we always probe for BusLogic devices before Adaptec devices,
but this has not yet been verified.
1996-11-05 03:04:28 +00:00
thorpej
dd7ad6d7b8
Trim the name of the clock interrupt event counters. They were one byte
...
too long, causing a panic in DIAGNOSTIC kernels.
From Steve Woodford <steve@mctavish.demon.co.uk>, on the port-mvme68k
mailing list.
1996-11-05 02:51:03 +00:00
explorer
22523c6ffd
Update TODO list for lkm stuff
1996-11-05 02:34:24 +00:00
explorer
4f2a5a3b7d
remove deadfs and fifofs
1996-11-05 02:30:16 +00:00
explorer
0c69983b3e
remove the deadfs 'filesystem' from the lkm tree. This wasn't supposed to make
...
it in there anyway.
1996-11-05 02:29:29 +00:00
explorer
5b1de90fba
remove the fifo 'filesystem' from the lkm tree. This wasn't supposed to make
...
it in there anyway.
1996-11-05 02:27:19 +00:00
jtc
4620e80691
The copyright for this file has been assigned to the NetBSD Foundation
1996-11-04 23:04:43 +00:00
briggs
bbd25d0c38
- Move offset for 2nd scsi controller (Q900/Q950/WGS95) to 0x402
...
instead of 0x400.
- Restructure interrupt handling for more performance--continue to
read/write data as long as the device keeps us in a data xfer phase.
There is still a lot of room for speed improvement here. Perhaps it
lies is speeding up the interrupt path in general?
1996-11-04 21:20:01 +00:00
gwr
ffe8c5a2ab
Clean out some hacks left over from the old zs driver.
1996-11-04 16:16:09 +00:00
mycroft
24620e1cd0
Rearrange wds_attach() to initialize DMA channel before setting to cascade
...
mode.
Fix silly error in -ASC case, pointed out by Niklas Hallqvist.
1996-11-03 16:20:31 +00:00
pk
aa965ce3bf
Declare device `audio' at sbus.
1996-11-03 11:18:15 +00:00
scottr
9da963b048
Remove include of ncr96scsi.h, since it's now an artifact, and the
...
unused include of ncrscsi.h while we're here.
1996-11-02 07:18:53 +00:00
briggs
7685e9d70b
Improve reliability on my Q700, at least. Was getting the occasional
...
glitch--an extra byte on occasion.
1996-11-02 06:52:24 +00:00
pk
92d21510ef
Drop in a sun4m version of AUDIO_SET_SWINTR; thanks to Nick Sayer for
...
the reminder.
1996-11-01 23:32:15 +00:00
pk
33558b9e5f
Take care of the sun4m way of raising soft interrupts.
1996-11-01 23:30:09 +00:00
pk
19b8bfdf3d
Declare device `audio' at sbus where it resides on Microsparc machines,
...
from Nick Sayer's PR#2908.
1996-11-01 23:15:51 +00:00
pk
39379f9a46
Reset `sc_async' on device close.
1996-11-01 23:05:45 +00:00
explorer
236a28d49e
Make this compile without COMPAT_10 or _11
1996-10-31 01:16:57 +00:00
is
e4d7a09a2a
Bug fix for FSINCOS: wouldn't handle FPc == FP1 earlier.
1996-10-30 14:44:47 +00:00
is
a747e15eed
Add the 68060 bus control register to the list of known cpu superisor mode
...
registers.
1996-10-30 08:22:39 +00:00
is
be08e182af
In my earlier patch to the m68k fmovem disassembler, I repaired the register
...
naming for fmovem, while breaking it for fmove. We probably never will
see normal fmove in the kernel, nevertheless it should be corrected while
somebody remembers.
Besides, the correct patch is smaller and thus easier to verify than the
origininal one.
1996-10-30 08:11:21 +00:00
briggs
20c7b48d76
macs with scsibase offset 0x10000 from iobase use a SCSI CLK of 16.5MHz
...
(off PrimeTime)--all others appear to use 25MHz.
1996-10-30 05:39:21 +00:00
briggs
d5e58a6b20
Fix spelling error in panic. Double since of ResHndls[]. Use I/O kludge on
...
all systems, not just CLASSII--A bunch of Quadras apparently have hardcoded
I/O addresses in the ROMs, too.
1996-10-30 05:30:57 +00:00
mark
de6db9f206
Added fix from Jasper Wallace th=at solves the bus hang ups caused when
...
DMA to the card going wrong.
1996-10-30 01:50:01 +00:00
gwr
f9d54194d5
Allow the config line "flags" to set bits in si_options.
...
Thanks to Jason Thorpe for the fix! (PR#1929)
1996-10-30 00:31:39 +00:00
gwr
769fe0dfca
Get rid of some cruft in the match function.
1996-10-30 00:24:32 +00:00
gwr
aac9e275ac
Add a "submatch" function to the obio bus driver so the children
...
of this driver can get rid of the cruft in their match functions.
1996-10-30 00:20:01 +00:00
gwr
2fcc0a64d2
Use explicit addresses for obio devices.
1996-10-30 00:17:10 +00:00
mark
84d36b5c2f
Brought right up to date and cleaned up.
1996-10-30 00:12:40 +00:00
mark
0bec347c79
Allocate a DMA channel number when setting up the podule descriptors.
...
The DMA channel is determined by the IOMD present in the machine and the
podule slot number.
1996-10-30 00:07:42 +00:00
gwr
2f8b021957
cosmetic...
1996-10-30 00:04:31 +00:00
mark
c11a34daff
Added a dma_channel field to the podulebus structure so that the
...
podulebus driver can allocate the DMA channels for the podules located.
1996-10-30 00:01:05 +00:00
mark
29465fe28a
Updated the acknowledgement comments.
1996-10-29 23:52:59 +00:00
mark
f5a1f76622
Remove the bufferable bit from the pte for the DMA buffer.
1996-10-29 23:37:39 +00:00
mark
68ecde0706
Added support for switch mouse reports between absolute and relative
...
positions.
1996-10-29 23:28:12 +00:00
mark
8666e8f843
Treat MOUSEMODE_REL as an absolute value rather than as a bit flag.
...
Use sc_mode rather than mode.
1996-10-29 23:25:29 +00:00
mark
8d9b74e953
Make sure that DMA channels 2 and 3 are setup as external for the podulebus
...
on RiscPC machines.
1996-10-29 23:22:57 +00:00
mark
7824cc4e83
Added definitions of the IOMD DMA registers.
1996-10-29 23:14:34 +00:00
mark
9785e7cd61
Added support for all variations of the msr instruction.
...
Added support the new instructions defined in the ARM V4 Architecture
Reference manual (long multiplies, half word load and stores,
half word/byte signed loads).
Added support for the ARM810 IMB architecture defined SWIs.
Fixed bug in calculating some immediate constants.
Added support for the wfs, rfs, wfc, rfc instructions
Added support for the floating point compare instructions
Added ldf, stf, ldc and stc instructions.
Fixed mis-disassembly of some msr/mrs instructions.
The ldm and stm instructions will modify the direction identifier to
use the stack variations if the base register is r13.
1996-10-29 23:12:26 +00:00
gwr
23439db6ba
The new cg4 driver does not use dev/bt_subr.c
1996-10-29 19:58:14 +00:00
gwr
d6dfd783d9
Checkpoint new version of this driver with support for the "Type A"
...
variant of the CG4 (the one with the AMD colormap DACs). This has
been tested only on the "Type B" H/W at this point (Brooktree DACs).
Thanks to Ezra Story and Scott Ellis for the "Type A" support.
1996-10-29 19:54:19 +00:00
gwr
cb78378201
Fix typo (fbattach => fb_attach)
1996-10-29 19:27:37 +00:00
briggs
a4d7da78e4
Add esp1 at obio?
1996-10-29 06:16:29 +00:00
briggs
50c2da8f27
Interrupt-driven, but slow, NCR 53c96 driver for the 040-based macs. Contains
...
some guesses for the machines that have two of these buggers (I don't have
such a machine). This driver is a copy of the sparc/alpha esp with a
minimum of changes--after we get it performing a bit more respectably,
we should see about re-normalizing the sources.
1996-10-29 06:08:58 +00:00
briggs
32e07b8b3a
Add prototype for mac68k_register_scsi_b_irq().
1996-10-29 05:42:16 +00:00
briggs
215afb273e
Flag Q900/950 as having a second scsi controller.
1996-10-29 05:36:15 +00:00
briggs
487a6bebfc
Add a function to install an interrupt handler for 2nd scsi bus (Q900/950).
...
Take a guess that it's at via2, bit 0 (where 5380 DRQ is).
1996-10-29 05:33:37 +00:00
briggs
35667ae56f
ncr96scsi -> esp for consistency with sparc and alpha.
1996-10-29 04:26:57 +00:00
briggs
3c34dac1d0
Obsolete.
1996-10-29 04:23:50 +00:00
sommerfe
d26717de0e
Workaround for building linux-emulation LKM.
1996-10-29 02:19:25 +00:00
scottr
531802b5dd
cpp -> ${CPP}
1996-10-29 00:11:27 +00:00
pk
59b640b2fc
Call kvm_uncache() from dvma_malloc() where it belongs and make sure
...
it's called when SUN4M is nor defined.
Merge in changes from Jason to make dvma_mapin() work on (sun4c) machines
with a write-back cache.
1996-10-28 23:02:54 +00:00
fvdl
0c32bba802
Make this compile with -Wcast-qual.
1996-10-28 08:46:35 +00:00
is
072b7020c4
* Fix a few wrong fallthroughs in switch cases:
...
- add a missing return; at the end of a case, leading to wrong disassembly
of the next few instructions after fmovem.
- while we're here, correct the same bug in PBcc.
XXX there are a few other dubious fallthroughs in this file (which are
not explicitly marked with /* FALLTHROUGH */), which I didn't yet analyze.
* Fix other FMOVEM interpretation bugs:
- correct printing of FP data register lists if all are used (only FP0
would be mentioned)
- correct printing of FP data register lists in the case the list is reversed
(would have printed nothing)
- correct mapping of fp0-fp7 to register list bits (was reversed)
- correct printing of FP control register lists (this list is never reversed)
- correct printing of FMOVEM with FP control registers (the data direction
was interpreted the wrong way)
* While we're here, enhance the comments in MOVC's list of cpu control
registers
1996-10-28 08:43:18 +00:00
fvdl
d5f094e14f
Make this compile with -Wcast-qual
1996-10-28 08:42:13 +00:00
briggs
1e7948408e
Most 040 models have scsi regs at base + 0x10000, not base + 0xf000
...
like the Q700.
1996-10-28 03:54:08 +00:00
abrown
cafb62af25
Fix timer initialization so that we don't gain one extra microsecond per
...
second on Sun4m machines. Although this was in the noise of the unstable
Sun clock crystals before, the discrepancy amounted to about 100 ppm, and
thus made NTP perform poorly. NTP now works happily on my SS20...
1996-10-28 00:20:31 +00:00
gwr
f5927ca260
Minor nit in my change regarding const and non-ansi code...
1996-10-27 21:50:33 +00:00
gwr
2ada6af51b
Oops, part of that last commit was not meant to go in.
...
The definitions of va_alist, va_dcl belong elsewhere.
1996-10-27 20:50:00 +00:00
gwr
a0d9bd5bb2
The hack-ish tricks to make the ANSI-style va_start macro work in
...
non-ANSI mode were not quite complete. This makes non-ANSI work.
Perhaps it would be better to eliminate this hack altogether...
1996-10-27 20:30:52 +00:00
gwr
9b8d79eeed
Clarify the purpose of this file (user-level code only).
1996-10-27 19:27:54 +00:00
oki
eb605060cc
Add options EXEC_SCRIPT and EXEC_AOUT.
1996-10-27 09:14:59 +00:00
oki
2c83ce47ad
add options EXEC_SCRIPT and EXEC_AOUT
...
Sync with ALL, config again.
1996-10-27 09:07:50 +00:00
oki
dd2ea83317
add EXEC_SCRIPT and EXEC_AOUT
1996-10-27 08:52:04 +00:00
is
e4d79db27e
enable bznsc driver
1996-10-26 17:42:07 +00:00
cgd
ca80cc0ce0
add -Wcast-qual
1996-10-25 23:47:01 +00:00
cgd
ce53653783
make the namei struct members ni_dirp and ni_next, and the componentname
...
struct member cn_nameptr 'const', since they should never be used to
modify the path name. (Only the pathname buffer, cn_pnbuf, should be
modified.) Propagate the const poisoning to code that uses the namei
and componentname structs.
1996-10-25 23:13:58 +00:00
cgd
8800178e5c
-Wcast-qual cleanups. Don't discard 'const' when casting.
1996-10-25 22:15:54 +00:00
cgd
9fa0b6391e
don't thow away char_type's 'const'ness via a cast when passing it to scanc().
...
(1) that causes -Wcast-qual to be unhappy, and (2) the cast is unnecessary!
1996-10-25 22:11:39 +00:00
cgd
ca829ca73c
don't assign non-const pointers from const pointers; make the appropriate
...
pointers 'const'. (-Wcast-qual)
1996-10-25 22:01:44 +00:00
cgd
a67c0b16b8
define path name string variables that we should not (and, thankfully, do
...
not) modify as 'const char *' rather 'char *'.
1996-10-25 21:57:58 +00:00
cgd
eaa37ec87a
remove bogus cast of second arg to bcmp(). (nm_name is a const char*,
...
and was being unnecessarily cast to 'char *'; -Wcast-qual.)
1996-10-25 21:52:02 +00:00
cgd
2ab4192195
update alpha_XXX_dmamap() invocations to match prototype.
1996-10-25 21:33:30 +00:00
cgd
614fa7e02e
make the first arg of b_to_q (the u_char * that points to data to be
...
stuffed into the queue) const, since it's not modified.
1996-10-25 21:22:10 +00:00
cgd
ef6504281a
remove duplicate prototypes from tty_subr.c (ndqb, putc, b_to_q), and
...
make the first arg of b_to_q (the u_char * that points to data to be
stuffed into the queue) const, since it's not modified.
1996-10-25 21:20:29 +00:00
cgd
a5649f782f
first arg to alpha_XXX_dmamap is now a vm_offset_t
1996-10-25 20:58:11 +00:00
cgd
22b29b5058
prototype alpha_XXX_dmamap(), the alpha DMA mapping hack.
1996-10-25 20:48:59 +00:00
thorpej
e50a1d048c
Bump NetBSD version to 1.2B (kernel interface changed)
1996-10-25 20:13:16 +00:00
leo
0cda663b65
Make installboot work for 1.2 & 1.2A (should be part of 1.2 patches).
1996-10-25 20:05:04 +00:00
leo
599db9a26c
Nuke declaration of susword(). It's declared in systm.h now.
1996-10-25 20:02:34 +00:00
leo
819ba49d29
Nuke 2 useless instructions that only cause _doboot to panic now that
...
page zero is *properly* protected.
1996-10-25 20:00:39 +00:00
leo
a93d33fb93
db_memrw.c:
...
- Sync with hp300 version.
Machdep.c:
- Notify the vm-system that kernel-text is read/execute
- Notify the vm-system that page zero isn't mapped
[ Grrr.. How do you cancel a check-in when you find out too late they
should have different comments ]
1996-10-25 19:58:42 +00:00
fvdl
f577ebda70
Move 'not finished' printf within AUDIO_DEBUG ifdefs, it should normally
...
be silent about this and caused confusion with stray interrupts.
1996-10-25 07:25:48 +00:00
thorpej
096b0d6c6e
In udp_output(), sanity check the length of the packet to be transmitted.
...
If it's larger than IP_MAXPACKET, return an error condition.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:35:16 +00:00
thorpej
59bbc2199e
In rip_output(), sanity check the length of the packet to be transmitted.
...
If it's larger than IP_MAXPACKET, return an error condition.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:33:36 +00:00
thorpej
e55c8a9c7e
Before concatenating frags, sanity check the length of the packet. If it's
...
larger than IP_MAXPACKET, discard it.
Based on a patch from Bill Fenner <fenner@parc.xerox.com>
1996-10-25 06:30:32 +00:00
thorpej
65c188b3c7
Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov>
...
Add a counter to IP stats, to count packets which are discarded on the
grounds that they are too large.
1996-10-25 06:24:16 +00:00
thorpej
ee34a9ab6d
Make length and offset fields unsigned. From Kevin M. Lahey <kml@nas.nasa.gov>
1996-10-25 06:22:24 +00:00
cgd
702e7ec138
make script_kvars an array of unsigned longs, and cast when assigning the
...
elements, to avoid warnings (with -Wcast-qual) about 'volatile'
qualifiers being discarded.
1996-10-25 00:33:00 +00:00
cgd
bba547e063
second and third args to scanc() (string and table) are not and should not
...
be modified. Make them 'const'.
1996-10-24 23:50:31 +00:00
cgd
311fcee75f
when casting const pointers, preserve const qualifiers. (-Wcast-qual)
1996-10-24 23:45:32 +00:00
is
6e74f35ac9
First small hack at 68060 support: processor configuration register.
...
(We don't use the new instructions lpstop and plpa in our kernel, so no hurry.)
1996-10-24 18:30:17 +00:00
is
b88543e379
Remove addressing bug in hand-optimized assembly code.
1996-10-24 15:52:08 +00:00
fvdl
753949629e
Make this compile again if PCI_CONF_MODE is defined (unused label).
1996-10-24 12:32:29 +00:00
fvdl
016d7b35dc
Make this compile without COMPAT_10 (unused variable).
1996-10-24 12:22:43 +00:00
cgd
574f71ab26
replace a construction in sys_setitimer() that was too tricky for its
...
(and my!) own good with a more straightforward one that is equally (and
more apparently) correct.
1996-10-24 04:35:33 +00:00
cgd
8595fc3073
make coredump() use more sensible error returns (even though they're
...
not used by anything, for now), and implement MNT_NOCOREDUMP by checking
whether or not MNT_NOCOREDUMP is set on the file system where the dump
would land (i.e. the file system of the process's current working
directory), and disallowing the core dump if it's set.
1996-10-23 23:13:19 +00:00
cgd
6d3337bdf6
permit MNT_NOCOREDUMP as a generic mount flag.
1996-10-23 23:07:08 +00:00
cgd
92f76697f5
add the MNT_NOCOREDUMP file system flag, which prevents the system
...
from writing core dumps on file systems for which it is set. Also, add
a comment noting that the mount flags aren't in numerical order.
1996-10-23 22:53:09 +00:00
mhitch
dd4aa9cef1
Fix typo: #endeif
1996-10-23 20:04:40 +00:00
gwr
601935b8ae
Use struct trapframe instead of struct frame, and include a
...
slight hack to make this cross-build correctly on a SPARC.
1996-10-23 16:39:27 +00:00
gwr
4e462c2f6e
Dont bother grouping labels in computeSignal().
...
This form is easier to compare with trap.h
1996-10-23 16:30:48 +00:00
gwr
6fa72d79b5
Add options EXEC_AOUT and EXEC_SCRIPT
1996-10-23 16:14:23 +00:00
briggs
4675aac3cf
Set SCSIBase properly on Quadras. Separate out CLASSAV. From Dave Huang
...
<khym@bga.com>.
Also fix COMPAT_NOMID to compile again.
1996-10-23 14:12:37 +00:00
briggs
0363bd9a12
Include ether.h since we're now using NETHER, also use NETHER > 0 not NETHER.
1996-10-23 13:35:41 +00:00
matthias
8738c57e61
* Phil Budne's is now integrated.
...
* Remote kerneldebugging with gdb works too.
1996-10-23 07:55:10 +00:00
matthias
2336fbd2c6
* Phil Budne's much improved scn driver.
1996-10-23 07:52:35 +00:00
matthias
e7e91939da
* Remove references to deleted files (oldncr.c, dp.c).
1996-10-23 07:50:03 +00:00
matthias
54eec4c697
* Add EXEC_SCRIPT and EXEC_AOUT.
1996-10-23 07:49:58 +00:00
matthias
0cdf2807ab
* KLONDIKE has only four serial lines.
...
* KLONDIKE has a ns381 installed.
* Add EXEC_SCRIPT and EXEC_AOUT.
* Enable ddb.
* Enable FDESC.
* Monitor speed is 9600 baud.
* Monitor speaks 8N1.
* Pin down devices on the SCSI-Bus.
* Configure vnd, bpfilter, ppp and tun.
1996-10-23 07:49:55 +00:00
matthias
45fe815542
* Add EXEC_SCRIPT and EXEC_AOUT.
...
* Remove lines commented out.
* scsibus0 is attached to ncr0.
1996-10-23 07:49:54 +00:00
matthias
225801ae14
* New file; configuration for my second pc532.
1996-10-23 07:49:52 +00:00
matthias
414cbce393
* Add EXEC_SCRIPT and EXEC_AOUT.
...
* Use new options for to set the console baudrate and the default
tty mode.
* Include PPP_BSDCOMP and PPP_DEFLATE.
* scsibus0 is attached to ncr0.
1996-10-23 07:49:49 +00:00
matthias
63d15a966d
* Sync with i386 version.
...
* Scratch ram for debugger stacks ends at VM_MIN_KERNEL_ADDRESS + 0x1000
and not at VM_MIN_KERNEL_ADDRESS + 0x2000.
1996-10-23 07:46:08 +00:00
matthias
e9a160096b
* Sync with i386 version.
1996-10-23 07:46:07 +00:00
matthias
4b2a039488
* configure() has to be declared void.
1996-10-23 07:46:04 +00:00
matthias
865930408c
* Do not include limits.h, use machine/limits.h.
1996-10-23 07:43:44 +00:00
matthias
897acfdcbb
* Do not include stddef.h.
...
* Add definition of offsetof.
1996-10-23 07:43:42 +00:00
matthias
1a81564477
* Declare reserve_dumppages and pmap_activate.
1996-10-23 07:30:57 +00:00
matthias
1731660b98
* Declare kvtop.
1996-10-23 07:30:54 +00:00
matthias
c53ad1988a
* At least the Teac FC-1 Shugart-SCSI bridgeboard does motor on/off
...
management by itself. But when it gets a start unit request, it keeps
the floppy motor running all the time. This adds code for dealing with
yet another quirk (SDEV_NOSTARTUNIT) that prevents sd.c from sending
start unit requests. A entry for the Teac FC-1 is added to the quirk
table.
1996-10-23 07:25:39 +00:00
matthias
3ff0c0553e
* The kernel-stack no longer needs to be wired-down on the pc532.
1996-10-23 07:20:09 +00:00
matthias
a587cc60a0
* In dosetrlimit ensure that rlim_cur and rlim_max are >0. Otherwise
...
the kernel might crash due to invalid values passed to setrlimit.
1996-10-23 07:19:38 +00:00
cgd
2e7c250f84
update drivers to use the new NetBSD/alpha DMA mapping hack, since
...
the old one is not workable with the new bus.h.
1996-10-23 04:37:31 +00:00
cgd
1b03f1bca7
update for new bus.h macros. bus_io_* and bus_mem_* integrated into
...
single bus_space_* framework. Unfortunately, bus_space_{read,write}_*
operations still imply barriers. That will change soon.
1996-10-23 04:12:13 +00:00
mhitch
0023076caa
Need to initialize fi_glasstty before using it.
1996-10-23 02:34:23 +00:00
gwr
e1467b90b1
Add prototypes, and a few more fields now used in z8530tty.c
1996-10-23 00:38:05 +00:00
gwr
a329be829e
Add masks for some combinations of bits that are set as a group.
1996-10-23 00:32:31 +00:00
mhitch
32fccda062
The active target needs to be initialized in siiattach() instead of
...
old_siiattach().
1996-10-22 23:15:10 +00:00
explorer
8e8c326f5d
Spelling error
1996-10-22 22:28:20 +00:00
cgd
2f614ee518
update for new bus.h
1996-10-22 21:34:19 +00:00
cgd
8f5cf31b8a
clean up the recent reimplementation, and kill several bogons in the new
...
definitions.
1996-10-22 21:23:49 +00:00
cgd
6d917387e4
there is no TC I/O space, so in the new bus.h world order there
...
is no tc_bus_io.c.
1996-10-22 21:15:45 +00:00
mhitch
39079306ce
Add the missing ".set noreorder".
1996-10-22 20:46:09 +00:00
explorer
239580d5d0
Clean up changes to make sys/lkm build again
1996-10-22 19:43:13 +00:00
explorer
03d7e64aaa
Make this compile again for i386
1996-10-22 19:32:06 +00:00
pk
fd8ac8b221
If no specific kernel architecture is requested, define the CPU_* and
...
NBPG et.al. as in the generic case. This would be the expected thing to do
when compiling LKMs and such.
1996-10-22 19:11:19 +00:00
explorer
6b59a239ae
Change MACHINE to MACHINE_ARCH, to properly find the machine-dependant sunos
...
files; closes pr port-m68k/2881 from David Carrel
1996-10-22 19:09:50 +00:00
cgd
48dc9aaae4
update alpha bus.h for new bus space interfaces. chipsets haven't
...
been updated yet, and the hacked DMA vto(busphys) macro is gone and
hasn't yet been replaced.
1996-10-22 18:06:54 +00:00
veego
cf6307b2e7
Fix GRFTOGGLE.
...
The old version only toggles to the amiga signal and do not go back to
the CyberVision signal.
1996-10-22 16:59:56 +00:00
perry
8ca5cce5c7
sync (mostly) with Alpha version. Among other things, this fixes the
...
boot-time printf better.
1996-10-22 16:38:34 +00:00
gwr
b0e589ced7
Define the *poll functions.
1996-10-22 15:58:12 +00:00
veego
b962d9a3eb
Fix a panic from the pfil_hooks.
1996-10-22 11:27:05 +00:00
perry
ac4e0ab44e
add a missing \n in the printf in rd_attach_hook. added an XXX
...
comment to note that this printf still isn't quite right (possibly
because this is now a pseudodevice), and the autoconf printout when
mounting root on a ramdisk isn't right, either. This should both be
fixed.
1996-10-22 10:19:10 +00:00
cgd
233251d896
add missing argument to bus_space_map in ESP code
1996-10-22 00:45:25 +00:00
thorpej
b84a8f42d9
Implement eisa_mem_{alloc,free}(), a method for allocating/freeing
...
EISA bus physical address space.
This i386 implementation allocates system physical address space
after the end of RAM.
1996-10-21 23:12:56 +00:00
thorpej
546c8abcee
New bus.h implementation/interface:
...
- No more distinction between i/o-mapped and memory-mapped
devices. It's all "bus space" now, and space tags
differentiate the space with finer grain than the
bus chipset tag.
- Add memory barrier methods.
- Implement space alloc/free methods.
- Implement region read/write methods (like memcpy to/from
bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.
1996-10-21 22:56:24 +00:00
thorpej
769a499800
New bus.h implementation/interface:
...
- No more distinction between i/o-mapped and memory-mapped
devices. It's all "bus space" now, and space tags
differentiate the space with finer grain than the
bus chipset tag.
- Add memory barrier methods.
- Implement space alloc/free methods.
- Implement region read/write methods (like memcpy to/from
bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.
1996-10-21 22:34:38 +00:00
thorpej
16c4c5af26
New bus.h implementation/interface:
...
- No more distinction between i/o-mapped and memory-mapped
devices. It's all "bus space" now, and space tags
differentiate the space with finer grain than the
bus chipset tag.
- Add memory barrier methods.
- Implement space alloc/free methods.
- Implement region read/write methods (like memcpy to/from
bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.
1996-10-21 22:24:37 +00:00
jtc
4039b6bcba
Return ESPIPE when filedes is associated with a FIFO.
1996-10-21 17:42:48 +00:00
hpeyerl
05fe4c93dc
Force some drive mappings for reasons I won't get into.
1996-10-21 16:43:05 +00:00
veego
d576aeff5e
include update for config(8)
...
increase the number of bpfilters to 16
1996-10-21 11:13:39 +00:00
veego
c8902b053c
include update for config(8)
1996-10-21 11:11:23 +00:00
veego
2745d7df21
This config files are no longer needed.
...
Copy the GENERIC config file and use that.
1996-10-21 11:04:32 +00:00
veego
0d00de6c6e
Fix console problem on fast machines. pr#2777
1996-10-21 09:31:53 +00:00
scottr
289b73be85
Fix a raft of printf format strings and some declaration problems for
...
the case where we define DEBUG. From Erik Bertelsen, closes PR 2871.
1996-10-21 05:42:23 +00:00
jtc
2fd5ec5f18
Bump _POSIX_VERSION to correspond to 1003.1-90
1996-10-21 05:14:01 +00:00
briggs
084b3f6a4c
Fix two bugs noticed by Taras Ivanenko <ivanenko@ctpa03.mit.edu>
...
via.c: don't allow spl to remain at splhigh on error.
mainbus.c: Make sure that variable is initialized.
1996-10-21 01:59:31 +00:00
perry
3189406a17
Small fix to make this compile even if no BPFs are being compiled
...
in. Unfortunately, the BPF-only code called a label that wan't also
being #if'ed, and this made the compiler bitch. Now that we compile
with -Werror, this prevented the thing from compiling at all! (sigh)
1996-10-21 01:58:23 +00:00
perry
7117cf93ec
Add #include <sys/systm.h>, so that cc -W* doesn't bitch and error out
...
when printf() gets used in this file.
1996-10-21 01:49:22 +00:00
perry
9ab047883b
Fix unused variable -Wxxx failure when MINIROOTSIZE defined.
1996-10-21 01:32:38 +00:00
scottr
a6865e3d2b
Don't try to reference nfsbootdevname if we have no ether devices.
...
Fixes PR 2860, from Paul Goyette <paul@pgoyette.bdt.com>.
1996-10-21 00:31:18 +00:00
thorpej
43ba106ec2
Remove declaration for now-gone function.
1996-10-20 23:47:40 +00:00
thorpej
af8d8d2a56
Arrange this file into sections (configure(), root device goo, console goo,
...
old-config goo). Place old-config goo at the end so that it's easy to
#ifdef our or delete (muahahah!).
Garbage collect a couple of unused functions.
1996-10-20 23:46:06 +00:00
thorpej
bbdd41a2a7
Back out last change, and add a comment about what should happen.
...
(*grumble* will teach me to do a `make clean' next time.)
1996-10-20 23:23:28 +00:00
mrg
155a0b4d1d
enable lkm on non alpha/mips platforms.
1996-10-20 23:03:07 +00:00
hpeyerl
7aa41bf1a7
#ifdef out a couple of variables dependant on USER_LDT.
1996-10-20 22:39:03 +00:00
pk
52acac0518
Regroup the definitions of NBPG, PGOFSET and PGSHIFT into the section that
...
enumerates the possible SUN? combinations.
1996-10-20 20:26:52 +00:00
pk
62c32ff2dc
Drop a duplicate `#include ppp.h'; noted by Chris Demetriou.
1996-10-20 19:32:42 +00:00
pk
4dd0b24bf9
Make sure to refer to `sc_ovtype' only when SUN4 is defined, as noted
...
by `r.evans@ic.ac.uk'.
Also, explicitly testwhether we're dealing with a pfour.
1996-10-20 19:18:00 +00:00
pk
b246894d9b
Document `-a karch' option.
...
Fix a formatting nit.
1996-10-20 16:17:04 +00:00
pk
5ced353a7a
Add -a <arch>' switch to force the target architecture. Retain
-h' for
...
compatibility.
1996-10-20 16:00:14 +00:00
fvdl
735944405b
Enhancements from Matthias Drochner:
...
- Try V3 first for diskless booting. Fall back to V2 if V3 fails.
- optionally (option NFS_BOOT_TCP) try a TCP mount first
for diskless booting. Fall back to UDP if it fails.
- Enable switching between UDP and TCP for remounts.
1996-10-20 13:13:22 +00:00
thorpej
7133ecf2ca
Don't need to mark 0-NBPG as VM_PROT_NONE in kernel_map anymore; the
...
first entry is now properly setup in kmem_init().
1996-10-19 21:11:32 +00:00
thorpej
7958973110
Set VM_MIN_KERNEL_ADDRESS to NBPG. This is a better way of getting
...
the kernel_map to treat page 0 properly.
1996-10-19 21:07:42 +00:00
is
e10e9e8455
Clean up the attach messages a bit.
1996-10-19 16:54:14 +00:00
jonathan
3bd4c6caee
regen from pcidevs 1.20
1996-10-19 13:04:51 +00:00
jonathan
7717235f4c
Add productId for RealTek 8029 PCI ethernet board.
1996-10-19 13:01:49 +00:00
jonathan
05c95ca095
Update copyright.
1996-10-19 12:40:31 +00:00
thorpej
cf9b36ab1d
Set up a kernel_map entry for the text segment with protection of
...
VM_PROT_READ|VM_PROT_EXECUTE. The previous default (VM_PROT_ALL)
would cause the following scenario:
- someone attempts to write kernel text (my test was writing
to an offset of /dev/kmem which was known to be in the text
segment, while in single-user mode).
- enter trap() with MMU fault (because of RO pte).
- trap() calls vm_fault(), which looks up vm_map_entry for
fauling address.
- vm_fault interprets write fault and VM_PROT_WRITE (in VM_PROT_ALL)
as COW; new page allocated, data copied to new page, new page
mapped in at trunc_page(<faulting va>).
- wow, look at the fireworks!
Fixes two potential symptoms:
- kernacc() returns TRUE when checking for permission to write
an offset in kernel text, which is bogus, since the text has
been mapped RO by pmap_bootstrap().
- Handling of a stray pointer that attempted to scribble into
kernel text would not be executed properly.
1996-10-19 08:51:33 +00:00
cgd
a6d9feb7a5
clean up chrtoblktbl, adding comments naming the devices which actually do
...
have entries in both device switch tables. Add 'st' entry to chrtoblktbl.
1996-10-18 21:26:57 +00:00
cgd
44365140cf
Severely clean up netisr handling. Clean up includes for netisr handlers.
...
Fix PPP netisr handling, add NATM netisr handling.
1996-10-18 20:35:23 +00:00