simonb
c902cc84ca
Don't install intr.h - there's only a kernel function prototype in
...
this file.
1999-03-30 02:16:03 +00:00
eeh
468dc3bd2b
include compat_sparc32.h->compat_netbsd32.h
1999-03-30 02:12:37 +00:00
wrstuden
bd2d8363bc
The mode for a node is a mode_t in both struct stat and struct vattr -
...
don't use a u_short for intermediate storage in vn_stat.
1999-03-30 00:16:44 +00:00
wrstuden
eb10774f2b
Explicitly mask mode returned in old stat structure to 16 bits. Also correct
...
comment (we're converting from a new to an old struct stat).
1999-03-30 00:13:57 +00:00
thorpej
455b121ce8
In pmap_enter(), set the appropriate page attributes based on access_type.
...
The m68k maintains modified and referenced information for us, but seeding
the page attributes can save us a pv list traversal.
1999-03-30 00:12:32 +00:00
perseant
5589f33082
Fix unit mismatch in debugging code in lfs_segclean; also put it properly
...
within `#ifdef DEBUG_LFS'.
1999-03-29 22:13:07 +00:00
perseant
3e0bf5e0d8
Fix the other missing dirop wakeup
1999-03-29 21:54:26 +00:00
perseant
f058684b7f
lfs_truncate calls vinvalbuf to invalidate all currently-hald buffers, which
...
in turn forces a flush of the vnode, whether or not it is involved in a dirop.
(This can happen during a remove or rmdir, when the directory is shrunk.)
Because of the nature of dirops, however, flushing a vnode involved in a dirop
is disallowed (and was marked with a panic). This patch has lfs_truncate
call a specialized vinvalbuf that only invalidates buffers following the new
end-of-file, and thus does not require a flush. Also the panic is demoted,
in case I missed any other path to lfs_vflush.
1999-03-29 21:51:38 +00:00
perry
55adc1e16e
remove BROKEN_LPT_DELAY option
1999-03-29 21:51:25 +00:00
perry
d5a261206d
Replace the #ifdef'ed variable DELAYs with a pair of non-ifdefed
...
DELAY(1)'s. This should fix interrupt driven lpt driver hang and
reboot problems for the group of users who have experienced them, and
shouldn't hurt anyone else.
1999-03-29 21:50:06 +00:00
fvdl
c45bee7307
Regen.
1999-03-29 21:36:00 +00:00
fvdl
05eae31620
Now that he ESS 1868 and 1869 are working, enable them here.
1999-03-29 21:35:19 +00:00
pk
401d03761f
Initialize automatics in stp4020print(); noticed by Jonathan O'Brien.
1999-03-29 21:30:48 +00:00
drochner
2396efd0b7
add a commented out WS_KERNEL_BG option, closes PR port-i386/7271
...
by Charlie Root <root@theprovider.com>
1999-03-29 19:57:34 +00:00
mycroft
7c33a450ba
Recalculate delaytab[]. We need to round up in case we were on the edge of a
...
tick and the hardware mysteriously responds fast enough that the delay ends
up being 1 tick short. An unlikely event, but just in case anything actually
relies on this...
1999-03-29 17:54:34 +00:00
mycroft
c40877ff9d
delay(): For small values of n, use a fixed lookup table. Also use
...
rtclock_tval as the limit, since this is what we actually programmed the chip
for.
1999-03-29 17:33:29 +00:00
augustss
20d6f6afe6
Regen.
1999-03-29 17:24:33 +00:00
augustss
8333badc92
Add Epson printer cable.
1999-03-29 17:23:45 +00:00
simonb
a487471f7c
Remove bogus comment.
1999-03-29 13:48:25 +00:00
mycroft
f487bc59aa
Nuke bogus extra variable, too.
1999-03-29 13:40:41 +00:00
mycroft
85ad0d175c
Fix bogons in previous change:
...
* The fact that IIR_NOPEND was not set on entry does *not* mean that no
transmission was in progress. Besides, we don't want to throw away receive
interrupts either.
* In the !clearirq case, we didn't splx().
1999-03-29 13:21:15 +00:00
mrg
c17a4018cb
pull in new (?) BUS_SPACE_BARRIER_{READ,WRITE} definitions.
1999-03-29 12:42:51 +00:00
tsubai
7c3a6002b3
Use interrupt-map property rather than hard-coding irqs.
...
(From Dan Winship <danw@MIT.EDU>. Slightly modified by me)
1999-03-29 12:12:03 +00:00
cjs
5ecfcfbb96
Make `sun4m DMA not supported yet' message print only for this device,
...
rather than every sbus device probed.
1999-03-29 12:04:43 +00:00
fvdl
d58a5af79d
Fix multicast hashing function. PR 7274, from Izumi Tsutsui
1999-03-29 11:11:34 +00:00
mycroft
665b05efd4
GC physical_memoryblock.
1999-03-29 10:02:19 +00:00
ross
6a228da053
Mods to com_common_putc(). When doing kprintf() or kgdb output:
...
1. don't clear the irq unless it was clear before transmitting
2. also do various bus_space_barrier() ops
Stops console from freezing when kprintf interrupts tty driver output.
1999-03-29 10:01:39 +00:00
bouyer
ad69d389ab
Remove the hack to attach devices responding with ATA signatures as atapi if
...
IDENTIFY said so: it doesn't help for the drive this was supposed helping,
and seems to break another device.
In interrupt routine, don't return 0 if we are polling: this should fix the
"panic: wdc_exec_command: polled command not done" some people reported
(kern/7269).
1999-03-29 08:32:02 +00:00
nisimura
ed7699b360
- Unnecessary to have '#include <machine/autoconf.h>' for those.
1999-03-29 07:22:02 +00:00
mycroft
e89e34c04a
Nuke the contents of pmap_pageable(). It accomplishes nothing on this port,
...
and it's potentially a serious bug.
1999-03-29 07:15:06 +00:00
mycroft
460d63062a
Do the previously slightly differently; we want to count by pages anyway.
...
Also fixes a problem with not flushing TLB entries in vmapbuf().
1999-03-29 06:24:31 +00:00
mycroft
d05df6042f
Add mpu at isapnp, currently commented out.
1999-03-29 06:16:34 +00:00
nisimura
1902d11a08
- Minor formating knots. No functional change.
1999-03-29 05:56:29 +00:00
mycroft
671c65c6da
Duuuh. Back and front pages should have an access_type of 0, since we don't
...
know they're going to be used. What was I thinking??
1999-03-29 05:43:31 +00:00
mycroft
e3c8daf920
Panic if access_type has bits not in prot.
1999-03-29 05:31:24 +00:00
mycroft
12f5abbcee
A few things:
...
* Count page table pages in the RSS.
* Rather than patching it up, panic if access_type has bits not in prot, as
this should now be impossible.
* Add page table reference counting, but currently disabled as it still has
some issues.
1999-03-28 22:01:06 +00:00
sommerfe
3e341c9af5
sync with regular syscalls.master: Add getcwd, fchroot, and tweak __getlogin
1999-03-28 21:56:56 +00:00
mycroft
0ce76ca08b
Reduce the access_type for copy-on-write pages in the front and back regions.
1999-03-28 21:48:50 +00:00
is
67caec5886
Dont write through a zero pointer (when in probe mode of a2kugettod()).
1999-03-28 21:39:59 +00:00
is
29abee115f
Remove 20 lines of register dump from normal operation.
1999-03-28 21:09:54 +00:00
mycroft
8ed77cabd0
Fix a case I missed in the previous.
1999-03-28 21:01:25 +00:00
mhitch
d28c630840
I had to have been asleep when I changed Ignatios's constants to register symbols.
...
Use the correct symbols for ODR full bits.
1999-03-28 20:29:51 +00:00
sommerfe
ee7bbe5b2f
Fix bug in previous change which resulted in kernel VA space leak.
...
We need an accurate len after we clear the PTE's in vunmapbuf.
1999-03-28 20:21:51 +00:00
is
e657b604f3
Add back the "810" id string.
1999-03-28 20:09:09 +00:00
fvdl
0a8673f4ba
Add a few MBR types.
1999-03-28 20:01:52 +00:00
fvdl
1e3ed49ca1
Remove debugging printf.
1999-03-28 19:55:51 +00:00
mycroft
4831b815f5
Only turn off VM_PROT_WRITE for COW pages; not VM_PROT_EXECUTE.
1999-03-28 19:53:49 +00:00
fvdl
b815df141c
Only use the total number of sectors information field from the EDD if
...
the bit is set that declares the geometry valid. The spec itself says
that this field isn't covered by the "geometry valid" bit, but at
least one BIOS implements it that way.
1999-03-28 19:41:27 +00:00
is
c8c6cb17c3
Initialize all 16 elements. We're wide.
1999-03-28 19:39:24 +00:00
is
5ecbda755f
The "Phase mismatch, REQ not asserted" error happens on one of my disks
...
a few times a day. As the driver and system always recovers, when typing
a few c-ontinues, I think not entering the Debugger() won't hurt.
1999-03-28 19:30:07 +00:00