Commit Graph

22428 Commits

Author SHA1 Message Date
thorpej 7a239c12c6 In vfs_unmountall(), if curproc is NULL, abort, because unmounting
puts the requesting process to sleep until the file systems buffers
have flushed, and sleeping with a NULL curproc will cause a fault.
1998-04-26 19:10:33 +00:00
thorpej cbc64bb02d Make vfs_shutdown() look a little nicer. 1998-04-26 18:58:54 +00:00
scottr 268cc1fea2 Generalize add_nubus_intr() a little more. Also, complete KNFing. 1998-04-26 18:25:58 +00:00
briggs 1ab7701474 Deal with the video interrupt for the RasterOps 8/24XLi. Thanks for the
information go to Tadashi Ueda <ng6t-ued@asahi-net.or.jp>.
1998-04-26 16:47:39 +00:00
mycroft 359fa37f9a Fix a condition where we might erroneously write out a buffer with garbage
left in it.
Fixes PR 5354.
1998-04-26 14:45:23 +00:00
drochner 7f77474219 Oops, forgot to delete. It's in dev/pci now. 1998-04-26 11:57:00 +00:00
mrg 816ca00ce0 remove some register. 1998-04-26 06:17:20 +00:00
mycroft 0b2694152f Update copyright. 1998-04-26 06:03:23 +00:00
mycroft eddaea2d53 In LBA mode, always use the `total capacity' count, rather than calculating
the capacity based on the c/h/s numbers.  In fact, don't use the c/h/s
numbers for much of anything.
For ATA-4 drives or later, always use LBA mode, since it's now required.

Collectively, this allows >8GB disks (like the 12GB Bigfoot) to work.
1998-04-26 05:28:23 +00:00
mjacob 384418e4b7 "Whitespace" does not mean uncommenting a reference to a file that does not, as yet, exist in the tree 1998-04-26 05:18:50 +00:00
scottr fbf76298d3 GC several unused NuBus-related variable. While here, do some KNFing. 1998-04-26 03:59:18 +00:00
scottr 547ff1e300 Handle avail_start properly when setting up physical RAM segments.
Also, remove a KGDB-related piece that got committed prematurely.
1998-04-26 03:49:47 +00:00
scottr c5302e839e Attempt to clear stray NuBus interrupts in the default slot
interrupt handler.
1998-04-25 21:39:54 +00:00
scottr aa1b4c6045 Garbage collect the second (slot number) parameter to NuBus interrupt
handlers.  (Only slot_ignore() and slot_noint() need this, and we already
have a place to put this information.)  Adjust add_nubus_intr() so that if
the client_data arg is specified as NULL, pass the slot number as
client_data to the interrupt handler.
1998-04-25 21:27:40 +00:00
matthias fceafcf990 port-pc532 now has pmap_new just like port-i386. 1998-04-25 19:58:58 +00:00
matthias d84c3b6b89 use config (just set the defaults), pmap_new related changes. 1998-04-25 19:58:11 +00:00
matthias 9701d34100 changes to make the port-i386 pmap.new.c work for the pc532. 1998-04-25 19:54:32 +00:00
matthias 818f5df269 new command "config" to set type (for c), constraint and printmodifier. 1998-04-25 19:48:27 +00:00
scottr 00c8745cf0 Conditionalize some code that is only needed in the MACHINE_NONCONTIG
case.  Eventually we'll want to GC this.
1998-04-25 18:06:44 +00:00
matt 4bca66087f Now works with the Digital Hinote Ultra Mobile Media CD-ROM 1998-04-25 17:43:27 +00:00
matt bd055c0318 Adapt to new sosend/soreceive and upcall (now down in sowakeup) 1998-04-25 17:41:01 +00:00
matt 754c43dcfc Hook for 0-copy (or other optimized) sends and receives 1998-04-25 17:35:18 +00:00
matt 6f5e8f55aa Add hooks for 0 copy (or other optimized) sends and/or received. 1998-04-25 17:32:24 +00:00
matt e6595d8669 Add MSG_MCAST and MSG_BCAST so recvmsg can return how the message was received. 1998-04-25 17:29:45 +00:00
jonathan cb015e952e Resync 3max (kn02) support. 1998-04-25 16:29:06 +00:00
drochner 0652ed68a5 Initialize sc_frequency. (How could this ever work?)
Add PnP entry for USR Sportster 56k internal modem.
Remove BROKEN_INDIRECT_CONFIG.
1998-04-25 10:58:24 +00:00
kleink 2af6faff8a Per X/Open CAE Spec, Issue 5, define 3 preprocessor symbols to be used to
specify the type of socket shutdown(2).
1998-04-25 10:41:12 +00:00
scottr 12e01e36dd Missed removal of MACHINE_NONCONTIG. Pointed out by Allen. 1998-04-25 06:48:05 +00:00
thorpej b6eff278f2 Fix some whitespace lossage. 1998-04-25 00:12:44 +00:00
pk 7bd7c58939 Fix function argument type. 1998-04-24 20:20:33 +00:00
matthias f4b9ecfd19 initial imprt of i386 pmap_new 1998-04-24 20:10:19 +00:00
drochner 660e718e2e Drivers for PC-like console devices are MI now. 1998-04-24 20:05:54 +00:00
matthias e790849ac4 missing bits from the -mrtd changes (declare do_softclock, changed prototype
for child_return).
1998-04-24 20:05:39 +00:00
drochner 2cca6a1757 -catch zero and broadcast IP addresses sent by a DHCP server
-KNF
1998-04-24 18:50:23 +00:00
drochner bb2aeabe8a -catch zero and broadcast IP addresses sent by a DHCP server
-warn about them (and other invalid replies)
-print address of BOOTP/DHCP server for better problem tracking
-KNF
1998-04-24 18:38:30 +00:00
thorpej 6f3b521cd5 Whitespace sanity. 1998-04-24 18:18:41 +00:00
scottr e0114270c1 Replace outdated comment regarding the physical segment list in
mac68k_init() with something more appropriate.  Also, remove an
extraneous but fortunately harmless line of code.
1998-04-24 06:12:29 +00:00
scottr 0b0a42a47d From Allen: deal with avail_end correctly. This is simple
with the recent modifications to get_mapping() which caused it to
maintain a sorted segment list.
1998-04-24 05:53:29 +00:00
scottr 8bcac06284 Checkpoint of UVM work to date. This includes a fully-functioning
MACHINE_NEW_NONCONTIG interface implementation, which is now enabled
on all systems.  Thanks to Jason Thorpe for his work on the hp300 port,
from which most of the code used here was derived.

XXX In spite of the fact that it works on the hp300, UVM does not (yet)
work well under load on mac68k.
1998-04-24 05:27:24 +00:00
scottr 0066f1fb4e Pull in a few more kgdb-related bits. Getting there... 1998-04-24 05:15:25 +00:00
scottr 28a3c86926 Update to present reality. 1998-04-24 05:14:37 +00:00
scottr 132026d9aa Garbage collection. (Wow, some of this stuff was _old_.) 1998-04-24 05:11:11 +00:00
scottr 72d21eb8e0 Make get_mapping() create a sorted segment list, coalescing
adjoining regions (except for the segment starting at the address
we loaded the kernel).  This simplifies cpu_init_kcore_hdr()
considerably, but the real win will be with MACHINE_NEW_NONCONTIG.
1998-04-24 05:08:58 +00:00
briggs fc3bdd6128 Add interrupt support for two more video cards: the Formac color card II
and the Radius PrecisionColor 24Xp.  Thanks to <falk.stern@luene.net> and
<Mario_Magliocco@broder.com> for their remote sleuthing and testing.
1998-04-24 01:58:44 +00:00
mjacob 6cd64be0b6 fix minor typo 1998-04-24 01:25:18 +00:00
bouyer 68096acabd From Robert V. Baron:
Compute the disk block addr at command queing time rather than exec time.
This fix a bug which could lead to data corruption on disk: when a command
was reexecuted after an error condition (from wdcunwedge), the partition
offset was re-added to the block addr, leading to a transfert at the wrong
disk block.
This should fix the problem reported by some laptop's users, where the
first disk read after a suspend/resume returned garbage.
1998-04-23 13:30:39 +00:00
bouyer 7ba46a56e0 Correct defifintion of the WDCE_MCR and WDCE_ABRT bits: they have been
inverted since the begining.
This doesn't change anything, as these bits are not used in the driver.
1998-04-23 10:37:01 +00:00
jonathan b5798a80f0 define mips3 COUNT and COMPARE cp0 registers (onchip cycle counter) 1998-04-23 10:32:08 +00:00
jonathan 3d2cea267e Commit change missed during Decsystem 5100 chagnes:
prototype declearation for method to override wbflush() callback
vector with model-specific code. Used on DEC r2000a machines with
writebuffers which indicate writebuffer drain via cp0 usability bit.
1998-04-23 10:31:02 +00:00
leo 2c492c0040 Crazy Dots driver by Julian Coleman. 1998-04-23 09:26:18 +00:00