Commit Graph

30969 Commits

Author SHA1 Message Date
augustss 955e1e9119 Make sure audio device starts in half-duplex mode and document the fact. 1997-08-26 19:03:55 +00:00
fvdl a153e98871 Recognize Cyrix M2 1997-08-26 18:56:40 +00:00
thorpej a436ba4f68 Change an instance of a time_t to a (more appropriate) off_t, PR #4037,
enami tsugutomo.
1997-08-26 18:52:13 +00:00
fvdl d792a4aa54 Activate SCSIVERBOSE by default. 1997-08-26 18:39:02 +00:00
thorpej ca0bba0081 Add ICMP unreachable code #13 - "Communication Administratively Prohibited",
per RFC 1716.  From Havard Eidnes <he@vader.runit.sintef.no>, PR #4038.
1997-08-26 18:27:53 +00:00
thorpej f26fad2f33 Add missing call to vndunlock(), per PR #3811, enami tsugutomo. 1997-08-26 18:12:58 +00:00
lukem 05efcc80e4 fix grammo 1997-08-26 13:10:39 +00:00
kleink c8aff50d1d /* Tyop. */ 1997-08-26 08:21:40 +00:00
veego 5b6e4f8979 Remove a ( from an removed cast. 1997-08-26 07:13:18 +00:00
thorpej 75a4512f7f Notify drivers that we "prefer" I/O mapped space, per discussion with
Chris Demetriou and Matt Thomas, some two or three months ago.  (This hint
is used by the latest "de" driver.)
1997-08-26 03:14:06 +00:00
jonathan 752582ba69 Set KERNEL_RCSID to identify previous change. 1997-08-26 02:38:47 +00:00
jonathan 6cd95f2a55 rewrite and hand-tune copy_gap16 loops:
* hoist code to deal with  fragments of a 16-byte chunk outside
    main copy loop.
  * over 98% of dynamic calls are 2-byte-algnied but not 4-byte-aligned
   (due to 14-byte Ether headers).  kernel bcopy is poorly tune for this.
   Replace bcopy() with  inline code tuned to  minimize accesses
   to DMA buffers, which aren't uncached on mips.

Tested on 5000/240 (3MAXPLUS) and 3000/700 (sandpiper) (mjacob@feral.com)
1997-08-26 01:27:12 +00:00
thorpej 9ffe59d049 In i386_mem_add_mapping(), don't bother calling pmap_changebit() to mark a
device memory mapping cacheable/non-cacheable:
- PG_N doesn't exist on the 386.
- pmap_changebit() only deals with managed pages.
Basically, calling it is unnecessary, and never did anything.  Pointed
out by Chuck Cranor, and further discussed with Frank van der Linden.

Also, add a comment about why we don't mark pages non-cacheable in
_bus_dmamem_map().
1997-08-25 23:02:25 +00:00
lukem b9aadef1e0 cleanup for WARNS?=1. as a side effect, close [bin/4036] 1997-08-25 22:44:40 +00:00
thorpej 782324102f Use if_media to change media type, not IFF_LINK*. 1997-08-25 22:39:55 +00:00
lukem 9aacc303fc don't include <rpc/pmap_rmt.h> - it's a "private" header file for
portmap. fixes [bin/4036] by Thorsten Frueauf <frueauf@ira.uka.de>
1997-08-25 22:20:31 +00:00
augustss 9de64894e9 Fix the "non-broken" indirect configuration so it might actually work. 1997-08-25 22:17:25 +00:00
thorpej 38f15737fd Protect access to kmem_map with splimp()/splx(). From Chuck Cranor. 1997-08-25 21:17:48 +00:00
kleink 66105c37fc Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
thorpej b2c3b768d3 - Add RCS tags that got lost.
- Fix a couple of typos in PCI space configuration.
1997-08-25 19:03:44 +00:00
augustss 4d52119684 Don't try opening the device O_RDWR. 1997-08-25 19:03:12 +00:00
thorpej 9c690ec9a6 Add RCS tags that got lost. 1997-08-25 19:02:19 +00:00
thorpej a2a13689fd Merge with 970703 snapshot of Matt Thomas's de driver. 1997-08-25 18:56:46 +00:00
kleink 6b71fbbcbe Add reference to nice(1). 1997-08-25 16:43:47 +00:00
kleink 8287c17d78 Add references to [gs]etpriority(2). 1997-08-25 16:42:36 +00:00
mikel cc3132afa3 set WARNS?=1 1997-08-25 06:43:02 +00:00
mikel 58d8fb4ee7 sync usage string with manpage
use <sys/cdefs.h> __RCSID() and __COPYRIGHT() macros
fix prototypes and add parens for gcc -Wall
1997-08-25 06:42:19 +00:00
mikel 45b9cc41fd feed makelintstub to sh, don't rely on x-bits 1997-08-25 05:07:43 +00:00
augustss cd7e93c44d Add mute and channels swap to the mixer capabilites. 1997-08-24 23:50:40 +00:00
augustss 9390f073ca Increase the number of mixer devices the emulation looks at. 1997-08-24 23:31:23 +00:00
augustss 0bb9a48c65 Give names to some more mixer registers. 1997-08-24 23:24:51 +00:00
augustss ad6d4eb815 Print class correctly for linked fields. 1997-08-24 23:20:04 +00:00
augustss bf1f51a5d1 Initial version of the documentation of the interface between the
low and high level audio drivers, the audio_hw_if struct.
1997-08-24 22:46:41 +00:00
augustss dd5cf3d4d9 Document some minor changes in the audio interface. 1997-08-24 22:44:16 +00:00
augustss 6616d47838 - Change audio_hw_if a little: set_param now sets the play and record modes
at the same time instead by using two different calls.  This enables
  it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
  play and record settings are independent.
- Fix some buglets in audio.c.
1997-08-24 22:31:23 +00:00
augustss 4d74b89725 Add trivial conversions between 8 and 16 bits. 1997-08-24 22:20:24 +00:00
augustss 785dcbd7f5 Remove indirect brokenness. 1997-08-24 20:06:34 +00:00
augustss 48d839e594 Improve error message. 1997-08-24 20:03:51 +00:00
thorpej eb382f8e2b Make sure we're passed a valid obj_entry. 1997-08-24 18:11:23 +00:00
kleink cbb9288e9f Lseek(2) returns -1 on failure, so checking for "n < -1" is not appropriate. 1997-08-24 16:13:28 +00:00
perry a8f17a8bdb update to version 1997082200 from Internic. 1997-08-24 15:50:47 +00:00
scottr 27f30774af Conditionalize DEBUG printf on dp8390_debug. Pointed out by Jonathan
Stone.
1997-08-24 15:22:28 +00:00
kleink e021da65e2 * Fix compiler warnings
* Style: lseek(2) L_SET vs. SEEK_SET; getopt(3) EOF vs. -1
1997-08-24 13:57:54 +00:00
drochner 3cb8fe8b6b Fix compiler warnings (because new prototypes came into scope
with latest "rpc.h" changes). It's -Wall ready now.
1997-08-24 10:53:16 +00:00
drochner 8188be767e Check for KGDB port == console port in a consistent way. 1997-08-24 09:40:16 +00:00
drochner 9518da7563 Remove over-sensitive sanity check for console port == KGDB port. 1997-08-24 09:38:19 +00:00
cgd ce0a826c55 fix various bogons: copy SCSIVERBOSE option (still commented out) and ISA lc
driver to ALPHA.  Also, sort them into their respective lists correctly,
rather than punting completely (SCSIVERBOSE), or mis-sorting(!) (lc).
1997-08-24 06:40:18 +00:00
cgd 1173f77359 fix spaces/tabs lossage: if we're going to do "options<space><tab>", be
consistent about it (fix it in all files)!  Also, there's no point at all
in doing "file-system<space><tab>", so kill the spaces.
1997-08-24 06:37:12 +00:00
lukem fa55e11566 * sanitize long output, fixing buffer overflows whilst doing so
* clean up for WARNS?=1
1997-08-24 02:40:40 +00:00
lukem f77381e893 Include <rpc/pmap_clnt.h>, <rpc/pmap_prot.h> and <rpc/pmap_rmt.h>.
The rpc man pages don't mention that these are required (only
<rpc/rpc.h> is mentioned there), but some of the prototypes come from
these files...
1997-08-24 01:47:12 +00:00