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
41226e9d0a
Set request sense data size from xp->req_sense_length if != 0.
...
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-22 19:45:22 +00:00
David Greenman
f5cf85d40a
Removed unused fifth argument to vm_object_page_clean(). Fixed bug with
...
VTEXT not always getting cleared when it is supposed to. Added check to
make sure that vm_object_remove() isn't called with a NULL pager or for
a pager for an OBJ_INTERNAL object (neither of which will be on the hash
list). Clear OBJ_CANPERSIST if we decide to terminate it because of no
resident pages.
1995-03-22 12:24:11 +00:00
Stefan Eßer
6bf3dde846
Remove use of unitialised variable xp->req_sense_length.
...
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-22 11:00:23 +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
David Greenman
563128e49e
Fixed potential sleep/wakeup race conditional with splhigh().
...
Submitted by: John Dyson
1995-03-22 08:08:44 +00:00
David Greenman
efea4e5256
Fixes and improvements from John Dyson:
...
Fixed the I/O statistics
Allow WD1007 type controllers to work
Support MULTI-BLOCK I/O
Correct delay to use port 0x84, reading the status register
might not be a long enough delay.
Changed probe message to match SCSI type devices.
1995-03-22 05:23:01 +00:00
David Greenman
c419d77e29
Added a check for wrong object size; print a warning, but deal with it
...
correctly. The warning will tell us that there is a bug somewhere else
in sizing the object correctly.
Submitted by: John Dyson
1995-03-22 05:12:18 +00:00
David Greenman
8f4e17d4b2
Fixed bug in vm_mmap() where the object that is created in some cases
...
was the wrong size. This is the likely cause of panics reported by
Lars Fredriksen and Paul Richards related to a -1 blkno when paging
via the swap_pager.
Submitted by: John Dyson
1995-03-22 05:08:41 +00:00
David Greenman
1b369d9858
Removed unused variable declaration missed in previous commit.
1995-03-21 23:09:53 +00:00
David Greenman
71263bf8db
Removed do-nothing VOP_UPDATE() call.
1995-03-21 23:07:19 +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
Stefan Eßer
8673e05a9a
Completely new PCI code:
...
1) Supports PCI to PCI bridge devices (and tries to initialise them,
even if the BIOS is brain dead).
2) Supports shared PCI interrupts. Interrupt handlers now MUST return
'0' if they found nothing to do, '1' otherwise.
New features tested with i486 systems based on the Intel Saturn and
a DEC 4channel Ethernet card only, but expected to work on most systems.
The option PCI_REMAP has been removed !
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-21 23:01:06 +00:00
Stefan Eßer
1a4077c4c2
Stylistic changes. Update Wolfgang's e-mail address.
...
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-21 22:48:36 +00:00
Stefan Eßer
b4b37e9058
Silence "gcc -Wall".
...
Submitted by: Wolfgang Stanglmeier <wolf@kintaro.cologne.de>
1995-03-21 22:43:04 +00:00
Stefan Eßer
067968d4d7
Cosmetic changes.
...
Submitted by: Wolfgang Stnglmeier <wolf@kintaro.cologne.de>
1995-03-21 22:41:19 +00:00
Stefan Eßer
82c5c9a9f0
Major cleanup: Stylistic changes, 386BSD specific code removed.
...
Adaptec to new PCI code.
Submitted by: Wolfgang Stnglmeier <wolf@kintaro.cologne.de>
1995-03-21 22:14:27 +00:00
Garrett Wollman
771edb14e9
Protocol-cloned routes should gain a reference to their parents to make
...
sure that rt->rt_parent values can never be re-used harmfully.
1995-03-21 19:50:34 +00:00
Peter Dufault
3749fcff67
Set it so you can add and remove line disciplines without replicating
...
code for looking for open slots in table (and you could hide the table
if you wanted to).
1995-03-21 11:24:05 +00:00
Peter Dufault
e8d9ff42ce
Julian's suport of compressed tape drives.
1995-03-21 11:21:37 +00:00
Peter Dufault
3358f19c6e
cd.c: Julian's CD audio cleanup
...
sd.c: Julian's removal of subdriver requests
st.c, scsi_tape.h: Julian's suport of compressed tape drives
Note: compressed tape drives are still not working fully.
scsiconf.h, scsi_base.c, scsi_driver.c: address problems in probes
and error console logs
1995-03-21 11:21:08 +00:00
David Greenman
bc9ad24756
Disallow non page-aligned file offsets in vm_mmap(). We don't support this
...
in either the high or low level parts of the VM system. Just return EINVAL
in this case, just like SunOS does.
1995-03-21 10:15:52 +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
fbcfcdf7db
Fixed bug in the size == 0 case of msync() caused by a bogus return value
...
check..
1995-03-21 02:54:04 +00:00
David Greenman
b946193056
Fixed vinvalbuf() to work like NFS wants it to. The previous code wouldn't
...
flush pages in the vm object if V_SAVE was true.
1995-03-21 01:13:16 +00:00
David Greenman
7c1f6cedec
Added a new boolean argument to vm_object_page_clean that causes it to
...
only toss out clean pages if TRUE.
1995-03-21 01:11:44 +00:00
David Greenman
3682d2baf0
Made minor readability tweak.
1995-03-20 23:00:57 +00:00
Garrett Wollman
c2bed6a371
Better fix for the deletion of parents of cloned routes problem,
...
superseding the `nextchild' hack. This also provides a way
forward to fix RTM_CHANGE and RTM_ADD as well.
1995-03-20 21:30:21 +00:00
Garrett Wollman
cea0f2a090
Forgot pppcompress.c in PPP module.
1995-03-20 19:33:35 +00:00
Garrett Wollman
3432f42658
Forgot slcompress.c in SLIP module.
1995-03-20 19:31:47 +00:00
Garrett Wollman
f065639f29
The discard, tunnel, SLIP, and PPP network interface pseudo-devices
...
are now dynamically loadable. It doesn't make sense to do the same
for the loopback.
1995-03-20 19:25:49 +00:00
Garrett Wollman
69244b69db
Support for pseudo-device LKMs. Note that this is restricted to only
...
one pseudo per module (a restriction which will eventually be lifted) and
isthus not in its final form.
1995-03-20 19:20:44 +00:00
Garrett Wollman
27a15c94ed
Add support for pseudo-device LKMs.
1995-03-20 19:18:51 +00:00
Garrett Wollman
20e8807c09
This should be splimp() rather than splnet() since ifaddrs might go away
...
as a result of link-layer processing.
1995-03-20 18:31:51 +00:00
Garrett Wollman
9b626c29f7
Fix race conditions involved in setting IP multicast options. This should
...
fix Dennis Fortin's problem for good, if I've got it figured out right.
(The problem was that a `struct ifaddr' could get deleted out from under
the current requester, thus leaving him with an invalid interface pointer
and causing even more bogus accesses.)
1995-03-20 18:11:31 +00:00
David Greenman
0426122fa0
Don't gain/lose an object reference in vnode_pager_setsize(). It will
...
cause vnode locking problems in vm_object_terminate().
Implement proper vnode locking in vm_object_terminate().
1995-03-20 10:20:42 +00:00
David Greenman
62b71ed629
Don't gain/lose a reference to the object when yanking its pages in
...
vinvalbuf()...it will cause vnode locking problems in vm_object_terminate,
and isn't necessary anyway.
1995-03-20 10:19:09 +00:00
David Greenman
9ba0a56334
Fixed "objde1" hang. It was caused by a "&" where an "&&" belonged in the
...
expression that decides if a wakeup should occur.
1995-03-20 10:14:55 +00:00
David Greenman
ff769afc81
Don't attempt to sync pages in the V_SAVE case of vinvalbuf; doing so can
...
lead to a deadlock. Just let the VM system deal with it.
1995-03-20 02:08:24 +00:00
David Greenman
83edfd47d8
Removed an unnecessary call to vinvalbuf after the page clean.
1995-03-20 02:06:09 +00:00
David Greenman
0bdb7528db
Do proper vnode locking when doing paging I/O. Removed the asynchronous
...
paging capability to facilitate this (we saw little or no measureable
improvement with this anyway).
Submitted by: John Dyson
1995-03-19 23:46:25 +00:00
David Greenman
9022e4ad9c
Fixed bug introduced in the previous commit - the lock must be held until
...
after the call to exec_check_permissions().
1995-03-19 23:27:57 +00:00
David Greenman
f5277ae71e
Lose the lock on the vnode. Changes to implement proper locking in the
...
vnode pager now require this.
Submitted by: John Dyson
1995-03-19 23:08:12 +00:00
David Greenman
edf8a81561
Removed redundant newlines that were in some panic strings.
1995-03-19 14:29:26 +00:00
David Greenman
1b2cfc2645
Backed out change to panic call: As Chris just pointed out to me, panic()
...
does indeed work like printf(). gdb gets the string untranslated for some
reason.
1995-03-19 13:44:03 +00:00
David Greenman
967a3bf893
Fix from Doug Rabson: Don't try to release a pbuf we didn't get.
...
Minor style change by me.
1995-03-19 13:28:54 +00:00
David Greenman
c01a9b8ca0
Incorporated 4.4-lite vnode_pager_uncache() and vnode_pager_umount()
...
routines (and merged local changes). The changed vnode_pager_uncache
gets rids of the bogosity that you can call the routine without
having the vnode locked. The changed vnode_pager_umount properly locks
the vnode before calling vnode_pager_uncache.
1995-03-19 12:36:10 +00:00
David Greenman
0f52ba3503
Removed bogus, commented out, call to vnode_pager_uncache().
1995-03-19 12:11:13 +00:00