Commit Graph

38970 Commits

Author SHA1 Message Date
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 9ee03f2bb3 Document "config" and all other undocumented genassym.sh commands. 1998-04-25 19:53:17 +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 1a2907e5b4 0 -> SHUT_RD, 1 -> SHUT_WR, 2 -> SHUT_RDWR. 1998-04-25 10:42:33 +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
mycroft c4c72f4c84 Move the previous into the i386-specific section. It needs to be done
differently on other ports.
1998-04-25 01:32:59 +00:00
thorpej b6eff278f2 Fix some whitespace lossage. 1998-04-25 00:12:44 +00:00
mycroft 18e058d8ed Make sure PIC relocations go in a writable data section. 1998-04-24 21:11:09 +00:00
drochner 0db305628b move DEC TGA to mi, add some missing header files 1998-04-24 20:26:36 +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
cgd 5b0ac13bc6 ne64 is not used. #if 0 out its definition, so that its 'static inline'
ness and the fact that it is unused won't combine to cause a warning.
1998-04-24 18:46:53 +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
pk b81c16cec8 If poll(2) times out, report failure. 1998-04-24 11:21:19 +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
leo 5130c5f83b Redo the tty numbering again to avoid future problems. Per discussion
with Chris Demetriou.
1998-04-24 05:56:30 +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
kleink 70ae83a7e1 Use <sys/param.h> instead of <sys/types.h>: <netdb.h> and MAXHOSTNAMELEN are
not related to each other, and it should not be assumed that inclusion of the
former makes visible the latter.
1998-04-23 19:32:40 +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