Commit Graph

22559 Commits

Author SHA1 Message Date
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
leo 9f8316940b Use NOWAIT when malloc()-ing a buffer for switching screens. It might be
running from an interrupt handler.
1998-04-23 09:22:15 +00:00
leo 243c5f7b9c Update copyright year (it really is 1998). 1998-04-23 09:17:44 +00:00
chs 8cacea4ea0 fix a timing problem with polled output on sun4c's. 1998-04-23 04:06:17 +00:00
explorer 63babb7549 Ignore LUN on yet another cdrom 1998-04-23 00:38:01 +00:00
pk 84d2c38974 Set a flag during auto-configuration, so SCSI_AUTOCONF can be passed
when doing additional I/O from the scanner attach functions.
1998-04-22 19:44:18 +00:00
leo fe41c75b56 Add the 'bus' code for a linear big endian bus (like VME). 1998-04-22 08:01:17 +00:00
leo b821c044e6 Add isapnp stuff (Thomas Gerner) 1998-04-22 07:57:52 +00:00
leo 5a784cc595 Fix prototype of interrupt function. 1998-04-22 07:53:22 +00:00
jonathan 6c0abe64fc defopt NTP and PPS_SYNC, in preparation for adding PPS support. 1998-04-22 07:08:11 +00:00
matthias 0a733bc86a db_memrw.c: There is no pmap_pte in pmap.new.c, use kvtopte.
disksubr.c:	kill register, use explicit types (egcs).
kgdb_machdep.c:	There is no pmap_pte in pmap.new.c, use kvtopte.
locore.s:	PTmap, PTD and PTDpde are not used with pmap.new.c.
machdep.c:	remove unused reference to panicstr (egcs).
		Some pmap.new.c changes.
vm_machdep.c:	Change i386_btop to ns532_btop in pmap.new.c code.
1998-04-21 20:12:17 +00:00
fvdl 811dba68c1 procfs_readdir: in case of error, check if cookies actually have
been allocated before freeing them. From Wolfgang Solfrank.
1998-04-21 16:36:37 +00:00
fvdl ebe551c3b3 Guess the number of needed cookies in a better way, and check for
overflow of the cookie array. Pointed out by Wolfgang Solfrank.
1998-04-21 09:37:23 +00:00
augustss 9663e5f689 Make probe message more consistent with usual practice.
From "Soren S. Jorvang" <soren@t.dk>.
1998-04-20 20:58:05 +00:00
frueauf 863ece9212 egcs warning: don't use a char for array index, cast it to int. 1998-04-20 20:41:05 +00:00
mark 7782adb98e Use r12 as a temporary register in setrunqueue() and remrunqueue() as it
does not need to be preserved across function calls. This means the use
of r4 can be eliminated thus saving a stack push and pop for r4.
1998-04-20 17:27:30 +00:00
ws 761ce530bb unlock the lock we previously locked, not another one! 1998-04-20 16:48:05 +00:00
drochner 5f6ca9ef93 Avoid "unused variable" warning without PCIVERBOSE.
From mynhier@cs.utk.edu (PR kern/5328).
1998-04-20 14:16:26 +00:00
sakamoto 9880e1560f Back out the changes about NVGA. It's not necessary. 1998-04-20 12:24:03 +00:00
drochner 92b545d880 There are NE2100 compatible cards which cannot IRQ 10.
Use IRQ 9 in the default configuration.
(Thanks to Rick Byers <rickb@iaw.on.ca>.)
1998-04-20 10:58:01 +00:00
hannken 3cdf7f6607 Undo change from drochner (Rev 1.4 of wsksymdef.h) and fix PR #5298 and #5299. 1998-04-20 10:47:36 +00:00
scottr 88aa59e1cd Correct type of 'nofault', and some whitespace KNFing. 1998-04-20 06:46:16 +00:00
scottr ec5cc6194d More kgdb groundwork pulled from hp300. While I'm in here,
correct some type-related problems and eliminate the register
qualifier.
1998-04-20 06:45:26 +00:00
scottr a2973edb42 Lay groundwork for KGDB by pulling in the trap 15 handler from hp300. 1998-04-20 05:46:04 +00:00
scottr b57acd6cd4 Minor adjustment for genassym.cf change. 1998-04-20 05:41:21 +00:00
scottr a8cdbbf548 Garbage collect the constants we don't need. 1998-04-20 05:40:28 +00:00
sakamoto 90bb94019a Use NVGA_ISA and NVGA_PCI instead of NVGA
for ISA/PCI frontend of vga.c.
1998-04-20 05:27:41 +00:00
jonathan bd51370674 Fix indexing bug in bt459 colourmap update.
Causes symptoms in PR# port-pmax/4174.
1998-04-20 05:24:17 +00:00
jonathan bdf3cb0884 * Fix typo in ROM name of mfb (PMAG-AA)
* Use TC_ROM_LLEN instead of constant, add space for sentinel.
* Don't print fb dimensions at console-probe time.
1998-04-20 02:46:59 +00:00
mark ad8c2a5654 Fix the indenting of the comments in this file. 1998-04-19 23:37:22 +00:00
mark 7c57681a0b Guard several more abort information printf() calls with the
verbose_faults variable in the prefetch abort handler.
Remove a lurking spltty() just before a panic in the prefetch abort
handler.
1998-04-19 23:25:49 +00:00
mark 05a669badb General file cleanup. Grouped all the un-handled fault cases together
to share one panic string. Removed a number of postmortem() calls.
Use verbose_faults variable to dictate the printing of fault information.
In several address validation checks, reorder the conditions for more
optimial checking.
1998-04-19 23:18:45 +00:00
mark 98576781d3 Remove conditional compilation from around the exception handler
interrupt enables.
Remove the counting of the use of pcb_onfault.
Removed CONTINUE_AFTER_SVC_PREFETCH and associated code.
1998-04-19 22:45:39 +00:00
mark 66d1783927 Remove conditional compilation from around the exception handler
interrupt enables.
1998-04-19 22:43:27 +00:00
thorpej cef633de2a Fix a fencepost in last change. 1998-04-19 22:26:31 +00:00
jonathan b4d3bac06e pmax has IPL_ constants; Define TC_IPL_ using them until all tc
drivers are converted to use IPL_.

Commit changes to if_le_ibus.c as a child of ibus.
1998-04-19 13:04:24 +00:00
jonathan fc2608c7a2 Define TC_KV(), TC_C() here for benefit of model-specific TCbus initializers. 1998-04-19 11:16:18 +00:00
jonathan bab2163883 Remove kn01var.h. Superseded by ibus. 1998-04-19 10:57:23 +00:00
jonathan cf6765a49c Attach ibus to mainbus.
Commit updated dec_3100.c with  interrupt-enable code for ibus.
1998-04-19 10:54:54 +00:00
jonathan 1a283ae18b Use new ibus attach args. 1998-04-19 10:47:06 +00:00
jonathan 6525db3fdb Update dc_ds.c to use new ibus attach args.
Garbage collect obsolete front-end from dc.c backend.
Partially clean up console init code.
1998-04-19 10:44:41 +00:00
jonathan 1116cb8578 Cleanup comment typos. 1998-04-19 10:22:45 +00:00
jonathan c7597ae8b8 Rework, based loosely on suggestions from Tohru Nisimura.. 1998-04-19 10:18:20 +00:00
jonathan 02e88fb06e ibus devices and 5100 attachment. 1998-04-19 08:47:54 +00:00
jonathan 539856584c Garbage collect obsolete motherboard options from non-GENERIC kernels.
Add "ibus" to configs with  3100 support.
1998-04-19 08:46:50 +00:00
jonathan d47bc69126 Rework pmax kernel config:
* ibus (virtual bus for baseboard direct-attach deviecs)
 * 5100 support, using ibus
 * rename "clock" to mcclock for future support of Qbus machiens
 * use sys/dev/dec mcclock_pad32 machinery for pmax mcclock
 * reworked TC config code.
1998-04-19 08:39:42 +00:00
jonathan 216daa4e5e Configure mips_mclock if "clock|mccclock".
All(?) ARC boxes use mcclock, but QBus decstations use the same
time-of-year clock architecturally mandated for VAXes.
1998-04-19 08:24:19 +00:00
jonathan 59125ec0c9 Define delay() for pmax asc driver, mips_mcclock. 1998-04-19 08:22:22 +00:00
jonathan 85e00b2364 Add -D__pmax__. Leave -Dpmax until all uses changed to __pmax__. 1998-04-19 08:01:01 +00:00
jonathan 9caaf18836 Rework pmax turbochannel config, as suggested by Jason Thorpe.
Also make TC framebuffer-console search table-driven.

Does not yet include "tcasic" layer; there's no such hardware on DECstations
and nothing for a tcasic layer to do.
1998-04-19 07:59:13 +00:00
jonathan e487483678 oops, diffs to use dev/dec/mcclock_pad32 were in a different tree. Fix. 1998-04-19 07:54:45 +00:00
jonathan c84f4e94d9 Copy alpha/tc/mcclock_ioasic.c (duplicated in pmax/tc/mcclock_ioasic.c)
into sys/dev/dec and split into a clockfns layer and a "middle" layer
for other DEC systems which use mcclocks with each onchip byte
register padded out to a 32-bit word.

Clone alpha/alpha/mcclock (also duplicated in pmax port) into
sys/dev/dec, and ifdef for default clockrates on pmax and alpha.

Use new machinery on pmax for ibus,ioasic attached mcclocks.
1998-04-19 07:50:25 +00:00
jonathan 558e40fb86 Remove duplicate of sys/dev/dec/clockvar.h. 1998-04-19 06:11:55 +00:00
jonathan 9873ee237f Add dependencies on Makefile for SYSVSHM, SYSVIPC options. 1998-04-19 04:51:18 +00:00
mark 464caff246 Since the kshell stuff is no longer ever built into the kernel,
the last possible hooks having been removed from rpc_machdep.c
and its use has been deprecated for a long long time lets finally
axe it.
1998-04-19 04:48:31 +00:00
mark 569be6d488 Change definitions of MCOUNT_ENTER and MCOUNT_EXIT to block interrupts
via the CPSR rather than via splhigh() due to the overheads involved
in using splhigh()/splx(). (From Chris Demetriou).
1998-04-19 04:16:25 +00:00
mark fcc1093bee Define bus_space_map flags BUS_SPACE_MAP_CACHEABLE and BUS_SPACE_MAP_LINEAR.
Comment arm32_bus_dma_segment structure members.
Remove the _dm_loadlen field from the arm32_bus_dmamap structure.
1998-04-19 04:13:24 +00:00
mark 47ec8f3afc Validate the source address in db_read_bytes() to avoid faulting when
reading invalid addresses.
1998-04-19 04:05:24 +00:00
mark 9bbde6c952 Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
Cleaned up a few bits of dead code and renamed rpc_sa110_kickstart() to
rpc_sa110_cc_setup().
1998-04-19 03:59:19 +00:00
mark 33b4b52949 Define the prototypes for rtc_read() and rtc_write() here rather than
in machine/rtc.h
Update the rtc_read() and rtc_write() functions to take a private pointer
as the first argument (currently unused).
1998-04-19 03:55:44 +00:00
mark 1f5455aaaf Update the softc to hold the rtc_{write,write}() argument and update
the function pointer prototypes.
Pass the rtc_arg field as the first parameter when calling the todclock
rtc_{read,write} function pointers.
1998-04-19 03:54:24 +00:00
mark c4f9d5c4b0 Add a rtc argument field to the todclock_attach_args structure.
Update the ta_rtc_{read,write}() functions in the todclock_attach_args
structure to take an argument attach time defined argument field as the
first argument.
1998-04-19 03:51:44 +00:00
mark 15901d1be3 Remove rtc_read() and rtc_write prototypes. 1998-04-19 03:49:17 +00:00
mark effb702da4 Don't explicitly call the debugger on a reset exception. Just print
trap frame address and panic.
1998-04-19 03:41:14 +00:00
jonathan d4a24f85d6 Support shared Decstation 3100 and Decsystem 5100 baseboard devices
using a virtual "ibus" for  baseboard devices.
1998-04-19 02:52:45 +00:00
jonathan 53c671e26c Add locore assembler functions to read mips3 cycle counter, and
read and write compare register (controls cycle-driven periodic interrupt).

Use cycle counter for microsecond time on mips3, but for now only on
3min motherboards (5000/150).  the MAXINE baseboard microsecond
counter is more stable and I don't ave no 5000/260 to test.

XXX clkread() is a mess, it should be rewritten.
XXX should add nanotime() to give inkernel nanosecond resolution,
    and then microtime() reworked to use nanotime().
1998-04-19 01:48:34 +00:00
jonathan 4ea6444493 Decsystem 5100 (aka mipsmate aka kn230) support:
* dec_5100.c: sysconf, interrupt, and  motherboard (drain writebuffer)
   support for 5100.
 * support for hardware kludge in 5100: sii DMA buffer is hardware
   padded to alternate 32-bit words, not alternating 16-bit  halfwords.
 * 5100 has no framebuffer, console is wired to serial port 0.

With ibus support, boots as far as exec'ing init, and hangs.
1998-04-19 01:27:02 +00:00
pk c1a4f8c8ed Define `xbox'. 1998-04-18 19:03:00 +00:00
pk 90b5c246c6 Skeleton code for the SBus expander box. 1998-04-18 19:00:17 +00:00
drochner fb43bb5f19 Add danish keymap.
From Soren S. Jorvang (PR kern/5312).
1998-04-18 10:57:13 +00:00
drochner 13c6d27696 Fix spelling of my name.
Being here, remove BROKEN_INDIRECT_CONFIG.
1998-04-18 10:35:48 +00:00
drochner d58832579d Fix botched DMA tag initialization. 1998-04-18 10:26:56 +00:00
drochner 302692bf8d Namespace protection: give key description table a more private name. 1998-04-18 09:51:20 +00:00
drochner 1745de275b -Set keyboard (and/or controller) to XT scancode in early console
initialzation. Closes PR port-alpha/5303 (Jason Thorpe).
-Namespace protection: give key description table a more private name.
-Make sure "struct pckbd_internal" is completely initialized.
-Improve locator comparition in probe().
-Remove BROKEN_INDIRECT_CONFIG.
1998-04-18 09:49:58 +00:00
drochner a099e8dda5 Initialize the command byte and its shadow register in early console
setup so that the keykoard driver can deal with scancode translation
in its console initialization function.
1998-04-18 09:42:20 +00:00
thorpej 2b6154a68c Add PCI IDE. 1998-04-18 01:19:40 +00:00
thorpej 792e89a201 Add PCI IDE goop. 1998-04-18 01:19:08 +00:00
thorpej 4fc79b8fd3 First cut at PCI IDE compat interrupt support for the EB164 systype.
PCI IDE is found on the AlphaPC 164SX's Cypress PCI-ISA bridge.
1998-04-18 01:18:37 +00:00
thorpej 574b87a792 Initialize the PCI IDE compat interrupt PCI method to NULL; PCI IDE
compat interrupts are not currently supported on these platforms.
1998-04-18 01:12:23 +00:00
thorpej 78c7ebb2d0 Add a second Alpha-specific pci_chipset_tag_t method for establishing
PCI IDE compat interrupts.  Note that this function is optional, and
platform-specific code may initialize the pointer to NULL.
1998-04-18 01:10:54 +00:00
thorpej a5f006fb5f Fix a typo. 1998-04-18 01:09:20 +00:00
thorpej 783382095c Machine-dependent bits for PCI IDE. This redirects PCI IDE compat interrupt
goop to the appropriate platform-dependent code.
1998-04-18 01:08:52 +00:00
mark f9042ff05b Guard the PS/2 mouse attachment and ARM7500 IOC check with the
CPU_ARM7500 macro.
1998-04-17 18:44:09 +00:00
drochner 928943b2ff Keep all relevant state information in a "pci_softc" so that it is
accessible at runtime (for LKMs in particular).
Remove BROKEN_INDIRECT_CONFIG.
1998-04-17 18:40:31 +00:00
veego 8a9498f09a Don't use an 'register char' as an array index, change it to an int. 1998-04-17 17:57:08 +00:00
veego d15b06459b Add missing int after an register. 1998-04-17 17:38:14 +00:00
drochner 543407f7ee use the mi header (dev/pckbc/pckbdreg.h) 1998-04-17 13:09:23 +00:00
drochner fa82ea6398 it's mi now (dev/isa) 1998-04-17 13:06:48 +00:00
drochner 57c38ff7bc fix egcs warning 1998-04-17 12:55:57 +00:00
drochner 2ae167dd14 oops - forgot a "needs-flag"
closes PR port-i386/5307 (Lennart Augustsson)
1998-04-17 11:51:40 +00:00
mjacob e77859a612 Hmmm... handle the case where there is no keyboard configured (panic
if the console selection is asking for it). Also add the stuff that
was missing from dec_kn300.
1998-04-17 02:45:19 +00:00
thorpej 085787ddbe defopt the WSEMUL options. 1998-04-17 00:17:27 +00:00
drochner 6af8040a5c -"spkr" now attaches to "pcppi"
-"le at isa" is split into "depca", "nele" and "bicc"
1998-04-16 22:01:41 +00:00
is e61d6bdb82 Dont define splserial here... its now different from spltty. 1998-04-16 21:28:00 +00:00
drochner d3067d3f3f -don't modify call arguments in place - bad for debugging
-give at least the i386 its keyboard beep back
1998-04-16 21:18:46 +00:00
drochner bf23ba7b87 add a device node for "sysbeep at pcppi" 1998-04-16 20:16:28 +00:00
drochner 46f77d75da Make sysbeep() use dev/isa/pcppi. (sysbeep0 at pcppi?)
Remove findcpuspeed() - it's useless and was commented out for a while.
1998-04-16 20:15:10 +00:00
thorpej 815703e5ec Make function names in printfs and panics consistent. 1998-04-16 19:50:55 +00:00
drochner d860c80512 regen 1998-04-16 19:48:14 +00:00
drochner bfd53bac43 add 2 ATM chips, correct entry for Toshiba MIPS bridge 1998-04-16 19:46:03 +00:00
thorpej a048ee73ca Fix a whitespace botch. 1998-04-16 19:40:56 +00:00
thorpej 2615a1d8d3 Allow device 8 (the SIO) to have its interrupt mapped; there might be
a PCI IDE controller on one of the PCI-ISA bridge's functions (e.g.
AlphaPC 164SX).
1998-04-16 19:24:24 +00:00
drochner 30654f3e89 Split out from if_le_isa.c - this card is quite different.
The driver is known not to work (timeout on send attempts).
1998-04-16 18:00:14 +00:00
drochner 02157092d4 Make the ISA LANCE drivers work without BROKEN_INDIRECT_CONFIG.
DEPCA is now split out into a separate driver.
Because there can be only one attachment of a device to a bus, for
each card type a separate pseudo-bus was introduced which attaches to "isa"
and where "le" attaches to.
1998-04-16 17:51:46 +00:00
drochner 10860a27c6 Don't use KS_GROUP_xxx values which have set something in the lower
8 bits. This allows to OR them with keycodes.
This is probably a workaround for namespace confusion happening else-
where (in wskbdutil.c:ksym_upcase() perhaps?), but it helps without
too much digging into the details.
1998-04-16 13:29:41 +00:00
drochner 3cc1fe831c count allocated screens correctly 1998-04-16 12:52:42 +00:00
leo 112b5de402 Use a stream method for AHC_OUTSL when possible. 1998-04-16 07:13:57 +00:00
leo d3febbb5aa Do endian swaps where appropriate. This is currently dependent on 'BYTE_ORDER'
since the driver only supports little endian busses.
1998-04-16 07:12:43 +00:00
leo b66dd55f59 Backout endian changes here (per discussion with Justin) and move them to
aic7xxx.c
1998-04-16 07:07:37 +00:00
thorpej c72ac312a7 Add pcppi/spkr drivers, and use DHCP for NFS boots. 1998-04-16 04:11:50 +00:00
thorpej f92ae39153 Make this compile if a Rawhide isn't configured. 1998-04-16 04:04:15 +00:00
thorpej 339c715a9e Fix small whitespace botch. 1998-04-16 03:54:35 +00:00
drochner f44d3a08e5 "spkr" is now MI. Keep this file for compatibility. 1998-04-15 21:53:47 +00:00
mjacob 512e80082b add an AlphaServer 4100 Specific config file 1998-04-15 21:53:25 +00:00
drochner ebefb51112 cdev_{wsdisplay,spkr}_init() are now in sys/conf.h 1998-04-15 21:52:14 +00:00
drochner abce54eaa2 spkr stuff is now in sys/conf.h 1998-04-15 21:48:51 +00:00
drochner 70702ea730 "spkr" attaches to "pcppi" now. 1998-04-15 21:46:23 +00:00
drochner 37db4134a0 VGA and spkr are now MI. 1998-04-15 21:44:39 +00:00
mjacob a8d3df00ed oops- add missing include 1998-04-15 21:42:24 +00:00
drochner 3ae87f413f "spkr" is now mi. Keep this file for compatibility. 1998-04-15 21:40:27 +00:00
drochner 7689c5d866 remove unneeded stuff 1998-04-15 21:39:01 +00:00
drochner 816be100e0 Remove initialization macros for wsdisplay / spkr - they are in mi
sys/conf.h now.
1998-04-15 21:31:40 +00:00
drochner 4d4b2cc5bf Add macros for MI wsdisplay and spkr cdevsw initialization. 1998-04-15 21:30:00 +00:00
mjacob afeea01bbd add back in display console stuff 1998-04-15 21:29:03 +00:00
drochner 2aa1ce8196 VGA and spkr are now MI. 1998-04-15 21:27:47 +00:00
drochner b7c6c315ea convert to new wscons
(pcppi->pckbc, pms->psm, wscons->wsdisplay)
1998-04-15 21:19:21 +00:00
drochner b98513c4ff convert to mi wscons 1998-04-15 21:15:08 +00:00
drochner b9d78308c1 tell drivers that this port knows about the mi wscons stuff 1998-04-15 21:12:45 +00:00
drochner 534775fe76 explicitely initialize console keyboard 1998-04-15 21:06:46 +00:00
drochner c5ea534f57 Switch the console to polling mode before accessing the keyboard with
interrupts disabled.
1998-04-15 20:51:10 +00:00
drochner fba6e5e23a update for new mi wscons, add ISA speaker 1998-04-15 20:48:52 +00:00
drochner 584f3e8aa0 Adapt PCI console selection to new mi drivers. 1998-04-15 20:46:34 +00:00
drochner 971dd06182 Adapt ISA console selection ti new mi drivers.
(was broken anyway, a "++" was missing somewhere)
1998-04-15 20:43:07 +00:00
mjacob 70e72d5545 redo misleading comment (thanks, soren) 1998-04-15 20:37:39 +00:00
drochner 90fc55bdf9 use mi wscons and device drivers 1998-04-15 20:35:37 +00:00
drochner ca0d504418 some attributes are now global 1998-04-15 20:29:16 +00:00
drochner 0c199c88be add MI ISA VGA and the speaker driver 1998-04-15 20:26:53 +00:00
drochner 2c823077d7 MI driver for the ISA speaker, and the IBM BASIC playstring interpreter
which has so many fans.
1998-04-15 20:26:18 +00:00
drochner aadda67e18 add mi PCI VGA and TGA 1998-04-15 20:17:17 +00:00
drochner eda73f204f The "mi" TGA driver. It's still not of much use on anything but alpha
because it depends on initialization by the firmware.
Further, an mi mmap() is needed...
1998-04-15 20:16:30 +00:00
thorpej f82e238b10 Don't need "delaybah" in the attach args anymore. 1998-04-15 20:11:10 +00:00
thorpej ba1ef83a1e Don't use the ISA `delay port', since it no longer exists. 1998-04-15 20:10:52 +00:00
drochner 39ec0aa42f Move some definitions needed for nwscons here so that they can be
used in mi drivers.
1998-04-15 19:55:09 +00:00
mjacob bd2e0fee32 delay handle was removed 1998-04-15 19:49:19 +00:00
mjacob ac2ca72a01 a tab crept in 1998-04-15 16:52:37 +00:00
bouyer 287667ba9a Fix my previous commit: the ATM_LLC_* macros do the ntoh/hton conversion,
so the bug was not a missing ntohs in atm_input(), it was an extraneous
htons in atm_output().
1998-04-15 13:01:51 +00:00
leo f7d6d7c9b8 Don't clear the 'd_partitions' before starting to read the disklabel. Some
filesystems (iso9660) depend on the info they had already setup there.
1998-04-15 09:02:06 +00:00
leo ae019435eb Probe the 'mainbus' before the other busses. This gives less surprises when
adding things like SCSI controlers to the pci-bus.
1998-04-15 09:00:19 +00:00
thorpej 6ea0ab26e2 Don't reference functions defined in isadma.c if we don't have to,
since we might not have any ISA DMA-using devices configured, thus
isadma.c won't be compiled.  Fixes a problem reported by Kevin Lahey.

Also, since there are only 8 DMA channels, don't bother checking
DRQs 8 - 15.
1998-04-15 01:53:47 +00:00
thorpej 334ef5a59c Fixup RCS IDs. 1998-04-15 01:45:43 +00:00
thorpej 8c1b46c2f5 Remove the `delay port' stuff since nothing uses it anymore (can't reliably
use it on modern chipsets).
1998-04-15 01:44:23 +00:00
mjacob 6cc22e724e Hmmm- how did that happen- I missed a merge 1998-04-15 01:18:17 +00:00
mjacob cddc0bf326 add Alpha 4100 support 1998-04-15 00:53:53 +00:00
mjacob 6ad4ba8370 some cleanup 1998-04-15 00:51:00 +00:00
mjacob aed073a77f add Alpha 4100 support 1998-04-15 00:50:14 +00:00
mjacob 0ba76b38c8 spurious interrupt notification and finally adding vmstat -i support 1998-04-15 00:49:58 +00:00
mjacob 0229740b5e removal of unneeded define 1998-04-15 00:49:17 +00:00
mjacob 5f59df9630 oops on byte enables for TurboLaser systems 1998-04-15 00:48:58 +00:00
mjacob 4fa71d82a5 add Alpha 4100 support 1998-04-15 00:46:57 +00:00
mjacob 17ec1fbf11 clarification of comment 1998-04-15 00:46:41 +00:00
mjacob 65e5c41fad do not cia include files here 1998-04-15 00:46:17 +00:00
mjacob d3f1c5b8d8 add Alpha 4100 support 1998-04-15 00:45:43 +00:00
thorpej 164f56220e Add support for the Cypress CY82C693 PCI-ISA bridge. This bridge is more or
less like an Intel SIO except that the ELCR registers are accessed differently
than on the Intel SIO.

XXX This code needs to be split up into bridge front-end and PIC back-end
XXX pieces.
1998-04-14 22:31:17 +00:00
thorpej 4c01c3c48e Pass the pci_chipset_tag_t to sio_intr_setup(). XXX This code should be
rearranged so that other non-PCI-but-in-all-other-ways-ISA-PIC-like
devices can share code.
1998-04-14 22:20:59 +00:00
thorpej a95c0ac15a Add pci_conf_print(), a function to dump the PCI configuration space, useful
in driver debugging.  From Zubin D. Dittia <zubin@clouseau.arl.wustl.edu>,
PR #4249.
1998-04-14 21:24:50 +00:00
thorpej ce28bee247 Add UDF and 66MHz capable bit definitions for the PCI status register.
From Zubin D. Dittia <zubin@clouseau.arl.wustl.edu>, PR #4249.
1998-04-14 21:22:44 +00:00
is c61f5c0cc5 Uhm... looks like I forgot this when doing the MACHINE_NEW_NONCONTIG stuff.
Sorry folks.
1998-04-14 20:18:08 +00:00
thorpej ddf189f7da Remove the stuff that was apparently not intended for commit in the
previous change.
1998-04-13 22:18:03 +00:00
frueauf f7a146be7b Add isa/pcvt to SUBDIR, this will install /usr/include/machine/pcvt_ioctl.h
which is needed by our default xsrc on i386. Closes pr 1391.
1998-04-13 21:54:30 +00:00
kml fcf0227962 Fix to ensure that the correct MSS is advertised for loopback
TCP connections by using the MTU of the interface.  Also added
a knob, mss_ifmtu, to force all connections to use the MTU of
the interface to calculate the advertised MSS.
1998-04-13 21:18:19 +00:00