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