Commit Graph

3170 Commits

Author SHA1 Message Date
matt 1f8a0caf0a Success! With these changes, the DEFTA now under NetBSD/pmax!! 1998-05-26 15:33:16 +00:00
augustss a10981bdbf Fix a recording problem that occurs when the EAP chip sends its
interrupt just BEFORE the dma has finished rather than after.
1998-05-26 13:28:03 +00:00
mark 6548f40f95 Regen from pcidevs. 1998-05-25 22:32:24 +00:00
mark 910456eccf Added TriTech Microelectronics vendor ID.
Added TriTech Pyramid3D 25202 product ID.
Added Promise Ultra33 UltraDMA IDE controller product ID.
Added ALI product ID's for M1543 'Southbridge' PCI devices.
1998-05-25 22:31:11 +00:00
mark 56c82ddeda Don't make the inclusion of machine/intr.h alpha specific as other ports
require this as well.
1998-05-25 22:20:24 +00:00
mark 45dd8e3edd Define TULIP_COPY_RXDATA for arm32 as well as alpha. 1998-05-25 22:13:28 +00:00
mark 69a9a5c445 Include arm32/pci/pci_machdep.h if arm32 is defined. 1998-05-25 22:11:37 +00:00
matt 2d80e4786e Verify the driver work if PDQ_NO_BUS_DMA is defined. 1998-05-25 21:24:21 +00:00
leo 7b4e205670 Use stream methods (when available) to read/write the card memory. 1998-05-25 10:36:51 +00:00
matt 05f603434f More pmax coherency stuff. Getting close.. 1998-05-24 22:37:23 +00:00
matt 144c41e986 Fix dmamap leakages. fix transmit bug. fix receive bugs. fix mips
coherency problems.
1998-05-24 21:40:05 +00:00
drochner f5482453a0 fix "Cursor Next Line (CNL)" (did the opposite) 1998-05-24 10:56:16 +00:00
matt 18319c0048 Changes so that these compile on NetBSD/alpha as well as NetBSD/i386. 1998-05-23 18:32:29 +00:00
ragge b28c99b245 Fixed bug with lost characters in DDB output. 1998-05-23 12:49:30 +00:00
thorpej 492ee1399e Make it possible to build a kernel with a wscons display device but not
a wscons keyboard device.
1998-05-23 01:06:36 +00:00
thorpej 86f256633d DECstation now provides bus_space and bus_dma data structures to us. 1998-05-22 21:15:48 +00:00
matt 9eb77bf49a Change 21040 modes slightly. Prevent infinite autosense loop of 21143 that
is not connected.  Make TULIP_STS_LINFAIL only valid for chips with that
status bit defined.
1998-05-22 18:50:59 +00:00
augustss 27f70da904 Add alaw/mulaw conversion to/from 8 bit signed linear. 1998-05-22 13:05:31 +00:00
matt cfbb5f3f21 Add bus_dma(9) support for the DEFxA FDDI driver 1998-05-21 20:44:02 +00:00
augustss aa04459121 KNF. 1998-05-21 19:17:50 +00:00
augustss 0b9ec50365 Add a newline.
KNF.
1998-05-21 19:09:28 +00:00
augustss 503014ebe7 Add missing call to isapnp_config.
Set chip_name.
KNF.
1998-05-21 19:07:10 +00:00
ragge cd17c11c60 Support for DDB on DZ console. 1998-05-21 13:02:20 +00:00
pk 229ff62ff7 Do not assume that a parallel component is always configured.
Squash compiler warnings if MAGMA_DEBUG is on.
1998-05-20 22:08:10 +00:00
augustss 74545baf39 Add a Yamaha OPL3-SA3 driver and clean up all AD1848 drivers.
Submitted by Constantine Sapuntzakis <csapuntz@reeducation-labor.lcs.mit.edu>
and originally written for OpenBSD.
1998-05-20 16:19:41 +00:00
pk 11c8871c83 Erase spurious end-of-comment. 1998-05-20 16:06:56 +00:00
pk 9299239520 Cirrus Logic CD1190 parallel port chip definitions; from Iain Hibbert. 1998-05-20 14:47:36 +00:00
pk 9c1918e458 Add CD1400_PAR_FIFO_SIZE. 1998-05-20 00:03:11 +00:00
pk 4e62cce89a Magma SBus serial & parallel port driver from Iain Hibbert. 1998-05-19 23:58:54 +00:00
drochner e1f67ace67 Initialize the "curattr" member of the emulation data in early console
setup -- it is used to fill empty space.
Fixes 2/3 of PR kern/5457 (Jason Thorpe).
1998-05-19 18:47:13 +00:00
augustss 54281b8662 Avoid spaces in tsleep() string. 1998-05-18 18:27:43 +00:00
cgd 9991233636 add an #if 0'd chunk which will pci_conf_print() every device (spews
lots of data, e.g. ~18k on a PCI system with few add-in devices; use
with MSGBUFSIZE=...).  Useful to have here so that people who want as
much data about the PCI configuration in a machine can get it without
having to craft their own code.  Also, clean up a few of the other
#if 0'd printfs.
1998-05-18 17:28:07 +00:00
cgd 4b0876c74b largely reimplement pci_conf_print():
* print all configuration space registers.  Then, where possible,
  interpret them.  (That is, PRESENT ALL THE DATA, then interpret it --
  don't hide data behind interpretation.  Also, when interpreting
  fields, try to print out the specific value that's being interpreted.)
* handle different header types.
* allow caller to specify a function which can interpret the
  device-dependent header and is responsible for pretty-printing it.

It spews (use 'options MSGBUFSIZE=...' 8-), but when you want the data,
you really want _all_ of it.

Still needs some cleanup and additional code (e.g. interepretation
of PCI-PCI (type 1) and PCI-Cardbus (type 2(?)) bridge headers).
1998-05-18 17:25:17 +00:00
cgd 27b21a3a47 add a PCI_HDRTYPE_TYPE() macro, to get the 'type' portion of the
headertype register (i.e., not including the 'multifunction' bit).
1998-05-18 17:17:04 +00:00
cgd 2102dd3e20 check that memory access is enabled before bothering to do the
pci_mapreg_info() call.  pci_mapreg_map() implies this check,
but code which calls pci_mapreg_info() has to check it explicitly.
Otherwise, if memory space is disabled, the driver does the wrong
thing, and tries to use memory space anyway, potentially resulting
incorrect driver operation and no useful error message.
1998-05-18 17:14:32 +00:00
ragge 4a469a9149 Split the DZ11 driver into two parts; can now use the same driver on
both unibus/qbus devices and vaxstations.
1998-05-17 18:51:13 +00:00
kml 051be14326 Correct copyright date. 1998-05-17 16:46:06 +00:00
augustss 88edb37522 Be more verbose if attaching the audio device fails. 1998-05-15 15:45:58 +00:00
tsubai 02aa1f7050 Add macppc support. 1998-05-15 12:35:06 +00:00
drochner 7bd61ed6be needed for VGA text attributes 1998-05-14 23:11:03 +00:00
augustss 07e69a32d2 Regen. 1998-05-14 21:46:53 +00:00
augustss c3def5e349 Add another USB controller. 1998-05-14 21:45:18 +00:00
drochner 95bdb660ed Simple screen attribute handling for wscons.
The graphics device driver passes a "default attribute" for normal text
output to the wscons framework. If the emulation module needs more
attributes (for different "renditions") it can allocate them via a
callback.
For now, only the "sun" emulation makes use of it.
1998-05-14 20:49:55 +00:00
matt 1442b419df Fix alignment crashes on Alphas... 1998-05-14 18:24:00 +00:00
kml e72782a137 Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card.  With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...
1998-05-14 00:04:57 +00:00
augustss 6c0386cefa Regen. 1998-05-13 15:51:36 +00:00
augustss 364c6cf250 Add OPTi OHCI USB host controller. 1998-05-13 15:50:58 +00:00
mycroft 18aa33cce5 Disable the change to check wdp_ataversion, since it's unreliable with old
devices.  (Yuck.)
1998-05-09 05:20:35 +00:00
mhitch b3f9a74326 Fix a problem that will reboot the system with no message as to what the
problem was.  A collision between a select and reselect would leave TC
non-zero from the command-out DMA count, which could later be considered
a fatal condition, causing a reboot.  The message for that error was
only displayed with DEBUG.  Fixed by clearing TC on a reselect.  The
non-zero TC detection won't occur in this case, so unconditionally
display the message if it occurs.

Workaround for another problem that resulted from an "Illegal Command"
status from the 53c94 which would get ignored and result in a timeout
(which also reboots the system).  Added the missing check for the
illegal command status, and add the workaround of resending the "accept
message" command to the 53c94.  Correct fix will be to determine why the
message wasn't sent in the first place.  Abort if the resending the
command doesn't work.

Correctly detect a spurious interrupt and ignore it.  This was taken
from a newer Mach driver, but did not get the check converted for the
design difference between the current NetBSD driver and the Mach driver.
1998-05-08 15:39:01 +00:00
kleink d2db996158 Fix some arithmetics lossage on typeless pointers. 1998-05-07 21:13:23 +00:00