Commit Graph

22861 Commits

Author SHA1 Message Date
matt bd9e1be560 Add DETRA (Token Ring) Controller 1998-05-27 02:51:02 +00:00
explorer 91a483bd33 missed one constant '20' to RND_ENTROPY_THRESHOLD change 1998-05-27 01:29:13 +00:00
matt 5fb5017c94 Fix syncing of consumer block. 1998-05-27 01:17:53 +00:00
matt 3dc4f22908 A few fixes to make it really work. 1998-05-27 01:16:47 +00:00
explorer 6036d56ba6 Move RND_ENTROPY_THRESHOLD to sys/rnd.h. Use sha1 rather than md5, and
release the first 96 bits of the hash directly rather than by folding.
The full 160 bit hash is mixed back into the entropy pool.  This keeps
64 bits secret to stir the pool with.
1998-05-27 00:59:14 +00:00
explorer 7c17ff519d add sha1.c, and build it. 1998-05-27 00:46:32 +00:00
explorer f0a1a540cc add sha1.h to the sys directory, to be used in libkern 1998-05-27 00:45:50 +00:00
thorpej c59c1eae2a Define ioasic device offsets in terms of standard ioasic "slot" offsets. 1998-05-27 00:18:13 +00:00
thorpej 1ef3ca572e - Additional rearrangement for the sake of running on the DECstation some
day.
- Convert to use bus_dma.
- Fix cleaning up unaligned start address.
- Correctly determine if the device supports Fast SCSI, and adjust the
  minimum sync period accordingly.
- Compute minimum sync period correctly on the 25MHz devices.
- Use GPI2 to determine if we're a 25MHz or 40MHz device.
- Currectly determine SCSI ID and "fast mode enabled" for the built-in
  TCDS on DEC 3000 models, using cached information from the PROM environment.
1998-05-26 23:43:05 +00:00
thorpej ab087002d1 Make this into a proper attachment (i.e. use asc_tcds) and clean up
the namespace accordingly.
1998-05-26 23:37:44 +00:00
thorpej 3aa84f9e26 - Make this into a proper attachment (i.e. use asc_tcds) and clean up
the namespace accordingly.
- Set FCLK in the CFG3 register if we have a > 25MHz clock.
- Indicate that we support Fast mode to the back-end if we're told we're
  fast by the TCDS layer.
- Correctly compute the minimum sync period.
1998-05-26 23:37:27 +00:00
thorpej 3ce836df8d Make the TCDS attachment of the ASC driver a proper attachment (i.e.
attach it with asc_tcds).
1998-05-26 23:34:23 +00:00
thorpej 5442fd5420 If we have an NCR53CF9x (indicated by the front-end by setting a flag
in the softc's new "features" word), set FSCSI bit in CFG3 if the sync
period is <= 200ns, or clear it otherwise.
1998-05-26 23:17:34 +00:00
thorpej 2d384ae1a1 GPI2 in the CIR register indicates our clock speed: 1 = 25MHz, 0 = 40MHz. 1998-05-26 22:48:01 +00:00
thorpej 4631dca956 Rewrite at least the R{2,3}000 case for bus_dmamap_sync(), in hopes of
making performance of bus_dma drivers not completely suck on the DECstation.

XXX R4000 case is still abysmal, because some other data structure
modification is required to deal with the virtually-indexed R4000 cache.
1998-05-26 18:21:10 +00:00
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
tv ed42c358fd Revert. (wdc driver is still MD.) 1998-05-26 01:42:53 +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
mark 3a61502673 Initial commit of arm32 dependant PCI structures and type definitions. 1998-05-25 22:09:25 +00:00
mark 0b9fa28940 Initial commit of generic arm32 bus dma support. 1998-05-25 22:01:49 +00:00
kleink 5ea3740e92 Reorganize name space protection, mostly related to interfaces introduced in
XPG 4.2.
1998-05-25 21:37:10 +00:00
matt 2d80e4786e Verify the driver work if PDQ_NO_BUS_DMA is defined. 1998-05-25 21:24:21 +00:00
kleink 967614df34 Protect against multiple inclusions. 1998-05-25 21:00:32 +00:00
kleink a97fc2f180 If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
augustss 9af4656838 Fix off by 1 error 1998-05-25 17:13:43 +00:00
leo b8dad8ab1f Fix some severe bogons in the pci and isa interrupt system. 1998-05-25 10:42:21 +00:00
leo 7b4e205670 Use stream methods (when available) to read/write the card memory. 1998-05-25 10:36:51 +00:00
leo ef7f50804b Add bus_space_{read,write}_region_stream_N functions. 1998-05-25 09:08:08 +00:00
thorpej e569598438 On DEC 3000s, ask the prom for the SCSI ID and "fast mode enabled" of
the built-in TCDS, while we can still access the prom.
1998-05-25 05:16:42 +00:00
tv 6cdddb35ee Don't duplicate device information: get ISA and ATAPI info (which is the
same) from dev/isa/files.isa and dev/ata/files.ata.
1998-05-25 04:32:12 +00:00
thorpej 085b73d2db Add "SCSIID" and "SCSIFAST" environment variables present on the
DEC 3000 systems.
1998-05-25 04:01:10 +00:00
thorpej 57c68363d6 Add support for reading the SCSI ID and "fast mode enabled" from the
PMAZB-AA and PMAZC-AA EEPROM.
1998-05-25 01:14:38 +00:00
thorpej 3b9e9634fb - Change the tcds child locator from "slot" to "chip", making it look less
like a TurboChannel locator, and more like what is actually going on.
- Allow tcds and asc children of tcds to be cloned.
1998-05-24 23:45:29 +00:00
thorpej d3ead78027 Several changes to the TurboChannel Dual SCSI driver:
- Fix the autoconfiguration model; the TCDS children don't attach to
  TurboChannel, so don't make it look like they do.
- Make the driver use bus_space (not bus_dma yet; soon)
- Recognize the PMAZ-FS (baseboard fast SCSI on DEC 3000s) and the
  PMAZB-AA (TCDS option card) and PMAZC-AA (TCDS fast SCSI option card).
- Rearrange it a bit, so that it can eventually be made into an "MI"
  TurboChannel driver (i.e. work on DECstations).
1998-05-24 23:41:42 +00:00
matt 05f603434f More pmax coherency stuff. Getting close.. 1998-05-24 22:37:23 +00:00
ross a3073631d7 Rebury an old mach-vm-quirk warning, for mach vm kernels. 1998-05-24 22:15:19 +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
ross 1ce82f8f84 Fix previous to kill gcc warning in non-DEBUG compile. 1998-05-24 20:59:49 +00:00
is 07a089c48c Replace a couple of machineid uses by cputype uses. 1998-05-24 20:55:01 +00:00
thorpej f555f6d93f Fix OBOB in IP timestamp option processing, as noted in FreeBSD PR 6738,
from Jennifer Dawn Meyers <jdm@enteract.com>.
1998-05-24 20:14:53 +00:00
is d96ca9b830 Fix thinko. Rather, nonthink-o. 1998-05-24 20:10:33 +00:00
is b20631e721 Last part of the opt_m68kcpu.h backout. 1998-05-24 20:06:32 +00:00
kleink 89f8240aab * Define _SC_PAGESIZE, _SC_PAGE_SIZE (1170 compatibility), _SC_FSYNC and
_SC_XOPEN_SHM to query the system page size, the availability of the
  File Synchronization Option and the availability of System V style shared
  memory, respectively, at runtime.
* Define _POSIX_FSYNC to evaluate to 1, since fsync(2) is always available.
1998-05-24 20:06:08 +00:00
kleink 2a4b2482f5 Permit checking the availability of the POSIX File Synchronization Option
(a/k/a fsync(2)), System V style message queues, semaphores and shared memory
at runtime by adding a sysctl variable for each.
1998-05-24 19:52:01 +00:00
is 7a0f63f982 Back out the defopt for M680?0. As pointed out to me, this breaks ports which
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.
1998-05-24 19:32:34 +00:00