Commit Graph

41801 Commits

Author SHA1 Message Date
pk
af89712b25 Use bus_dma_*() instead of dvma_mapin/dvma_mapout. 1998-07-30 22:42:04 +00:00
pk
32a5557426 Adapt to changes in the base bus_dma* functions. 1998-07-30 22:29:34 +00:00
pk
8a39d7a7fb The IOMMU now has its own dma bus tag and associated functions.
machdep.c retains the `mainbus' (i.e. sun4/sun4c) bus_dma* versions for now.
Create a DVMA map specifically for 24-bit devices (le,ie), which has a
more room than previous DVMA map which should be reserved for sun4 VME.
1998-07-30 22:28:44 +00:00
pk
862c0bafcc Define a BUS_DMA flag for devices that have a 24-bit address space.
Update _bus_dma* prototypes.
1998-07-30 22:20:31 +00:00
thorpej
bf52ef5697 Squash unused variable. 1998-07-30 22:17:34 +00:00
thorpej
7b68dfc9c7 Fixup include paths. 1998-07-30 21:58:48 +00:00
thorpej
d85ed3d973 Put the SoundBlaster stuff back for files.ofisa (Until we can just
properly include files.isa).
1998-07-30 21:51:00 +00:00
is
ae2fb64e3a Document supported boards near the top of the driver source code. 1998-07-30 21:28:15 +00:00
thorpej
4f8d24662e Uncomment the SoundBlaster ofisa attachment; the Shark isn't the only
potenial user of ofisa (e.g. my FirePower).  An ofisa attachment for the
SoundBlaster is prefectly legitimate.
1998-07-30 21:25:05 +00:00
thorpej
0bd4f9291c Use the correct "compatible" strings (ESS, not generic SB!), and correct
some comments about what we expect as far as interrupt and dma properties.
1998-07-30 21:22:59 +00:00
frueauf
d7e113cce6 Use the variable u instead of p in line 641 to prevent sup coredumping. 1998-07-30 21:03:48 +00:00
thorpej
16ad73c288 Add the Simple Technology Communicator 28.8. 1998-07-30 20:47:11 +00:00
thorpej
b25d4941cd Regen. 1998-07-30 20:45:35 +00:00
thorpej
965404c104 Add Simple Technology vendor ID, and Simple Technology Communcator 28.8
product ID.
1998-07-30 20:44:25 +00:00
pk
741c837f77 Get to DMA map functions through parent tag, instead of calling some base
functions directly.
1998-07-30 18:54:06 +00:00
thorpej
ae36dbe3f7 Turn on TCP_NODELAY on the remote tape socket, from FreeBSD. Here is the
commit message from Bill Fenner:

Turn on TCP_NODELAY on the remote socket, to turn off sender silly window
 syndrome avoidance.  The combination of SWS avoidance and ack-every-other
 causes low throughput if the block size divided by the MSS is odd (which
 is true with the default block size and MSS).
Turning on TCP_NODELAY disables the Nagle algorithm and sender SWS avoidance.
 The rdump request/response protocol can not invoke Nagle and cannot cause
 SWS, so this has no negative effects.

Also, put back the code that sets the TOS to "throughput", which seems to
have been erroneously removed during the Lite-2 merge.
1998-07-30 18:14:00 +00:00
christos
b7a585b61d Use the previously committed pnp hook. 1998-07-30 18:03:34 +00:00
christos
c1303944f7 Add a hook that resets the bios configuration from the pnp devices
thus making them invisible to isa probes [from OpenBSD]
1998-07-30 18:02:50 +00:00
christos
dd49f248a4 Protect against multiple inclusions. 1998-07-30 18:01:44 +00:00
thorpej
a04741e102 Cast pointer diffs to int for use in printf format width specifiers. 1998-07-30 17:41:03 +00:00
is
8bd9c69e11 Multicast support. 1998-07-30 16:40:19 +00:00
augustss
c0ca4781ed ESS attachments for ofisa. 1998-07-30 14:15:59 +00:00
augustss
cdeb158d5f A first stab at making the SHARK sound work. It doesn't really work
yet, but it probes and makes a noise when used.  Stay tuned!
1998-07-30 14:11:42 +00:00
kleink
ac1aec6cb8 Merge in recent changes from the private version of this header distributed
with tzcode.
1998-07-30 14:11:22 +00:00
mrg
7712d62ed7 allow ${SIZE} to be set from the environment, also allow using genassym.sh (both for cross compiling). 1998-07-30 13:34:09 +00:00
leo
3a8b550914 Make this a bit more complete. (Triggered by Julian Coleman ;-) 1998-07-30 12:02:41 +00:00
drochner
326ffe6cd3 regen 1998-07-30 09:47:49 +00:00
drochner
085f3ce0cc add entry for Boca 56k (from Fujie Zhang <fzhang@NMSU.Edu>)
update comment for OPL3-SA2 / OPL3-SA3 (same PnP ID)
1998-07-30 09:45:16 +00:00
mjacob
e404c0efec Some minor comment tweaking.
Also- to be fair and on review, kern/391 isn't really addressed by
the previous commits. In reviewing, I'm embarassed to find that this
talks about reading at EOT. I'm actually going to claim that this
is 'not a bug' or 'fixed already' in that at the end of media (at the
edge of recorded media), you may continuously open the tape (should
you choose to) issue a read, and zero bytes will transfer- this is a
sufficient EOF indicator.
1998-07-30 04:11:43 +00:00
mjacob
9471e81790 Quite a bit of rewriting:
1. Document CONTROL MODE (and the fact that you can do I/O now if
the device is opened in control mode- the actual close behaviour
is akin to normal mode (i.e., it rewinds)). This should probably
either be a separate bit, or O_NDELAY on the open as well.

2. Document new MTEWARN subcommand to MTIOCTOP (enable/disable
early warning behaviour).

3. Document EOM handling more fully.

4. Note that for DENSITY and BLOCKSIZE values that the values you
set aren't persistent past the current mount session unless you have
the CONTROL MODE device opened.

5. Remove the old EOM handling BUG notice and instead note that having
a minor bit for compression selection wouldn't be a bad thing.

Flame on!
1998-07-30 03:52:42 +00:00
mjacob
c45a129a99 Clarify and name some of the 'open' modes. Clarify a few comments. Remove
a now unused variable. Also, remove the restriction against at density
code being greater than the max SCSI 2 density code: 0x80..0xff are the
Vendor Unique codes and most certainly should be allowed. The check for
invalid values should be less than 0 or greater than 255.

Oh- yeah, the previous commit addressed kern/391.
1998-07-30 03:17:22 +00:00
mjacob
253fbf0175 rev man page for eew 1998-07-30 00:58:27 +00:00
mjacob
50e7b22cd9 add eew as MTEWARN command 1998-07-30 00:56:11 +00:00
mjacob
7692effeed Make some changes wrt EOM behaviour. Distinguish EIO_PENDING from
EOM_PENDING. Set up a persistent EARLYWARNING behaviour flag. If
set, EOM behaviour forces a 'short read' to signal logical (as
opposed to physical) end of media. The user application may, of
course, do with this information what it will.

The EARLYWARNING behaviour may be enabled/disabled by a MTIOCTOP
operation. The default action is to not have EARLYWARNING enabled-
but this may be reversed by an option ST_ENABLE_EARLYWARN in
the kernel build.
1998-07-30 00:55:20 +00:00
mjacob
4205ca3d2a opt_scsiverbose.h now is opt_scsi.h and contains the defopted
SCSIVERBOSE and the new ST_ENABLE_EARLYWARN.
1998-07-30 00:49:19 +00:00
mycroft
f53fedba63 Regen. 1998-07-30 00:46:27 +00:00
mycroft
d588e17601 __Namespace__ __protection__. 1998-07-30 00:46:01 +00:00
mjacob
4fe629bf62 add MTIOCTOP/MTEWARN option to enable/disable Early Warning EOM behaviour 1998-07-30 00:44:46 +00:00
mycroft
f886615650 __Namespace__ __protection__. 1998-07-30 00:44:15 +00:00
mrg
813b2f15cf allow ELFSIZE to be pre-defined 1998-07-30 00:27:04 +00:00
fvdl
d40e353fa6 Add NOLUNS quirk for the UMAX Astra 1220 scanner. 1998-07-30 00:00:06 +00:00
pk
d52b27682e The new memory resource pool scheme. 1998-07-29 22:10:47 +00:00
pk
6648745358 Add a few more memory types. 1998-07-29 22:07:14 +00:00
augustss
a0803787f7 Add functions to execute asynchronous requests and use these from
interrupt context.
[I had some feline debugging help here.  I noticed that every time Kem,
our kitty, jumped onto the USB keyboard the machine crashed.]
1998-07-29 20:50:11 +00:00
augustss
f453d02883 Make sure to report wheel movements. 1998-07-29 20:44:32 +00:00
thorpej
4974175669 Don't build these programs on the PowerPC; we need to update our binutils
sources before we can do that.
1998-07-29 19:18:26 +00:00
thorpej
c4bd81c249 Do not build this version of libbfd on the PowerPC. 1998-07-29 19:04:16 +00:00
pk
ab0e92568b <sparc/dev/sbusvar.h> => <dev/sbus/sbusvar.h> 1998-07-29 18:48:54 +00:00
pk
9104b183fa Lots of things have moved to <dev/sbus/sbusvar.h> 1998-07-29 18:45:57 +00:00
pk
402a052405 Deal with sbus attach args changes. 1998-07-29 18:44:22 +00:00