Commit Graph

31004 Commits

Author SHA1 Message Date
is f7c9a70a19 Define supio, a direct bus with a single locator, the port number. This
is for "standard PC i/o stuff" at known and constant locations, e.g. when
multi-io chips are used on non-ISA mainboards.
Implement drsupio.c, the DraCo version of this.
Attach the generic com.c to this bus.
Remove the old drcom hack.
1997-08-27 19:32:47 +00:00
thorpej d2a9d1970d Don't deference a bad pointers if you try to open an audio device that's
not configured.
1997-08-27 18:54:28 +00:00
is 45a8ec2d22 Amiga port bus.h. Currenlty, only the _1 functions are implemented. 1997-08-27 18:52:57 +00:00
is 2e45e81622 machine/intr.h for the Amiga port. Mostly a wrapper around other includes. 1997-08-27 18:41:25 +00:00
is 47e8019573 Add __GENERIC_SOFT_INTERRUPTS implementation.
Currently, this is only kind of a wrapper around the *_sicallback() function
family. This way, we'll only break the new driver if it doesn't work.
After more drivers are converted, we'll change it to be the other way round.
1997-08-27 18:31:14 +00:00
is 25c05417ed Make this work with __GENERIC_SOFT_INTERRUPTS. 1997-08-27 18:00:13 +00:00
kleink 1067b3ea11 Suppress stray space character; from maximum entropy in PR bin/4049. 1997-08-27 17:27:13 +00:00
matt b2b8155618 Add IPPROTO_ESP and IPPROTO_AH defines. 1997-08-27 17:05:34 +00:00
bouyer 4c487f2d84 These files have been moved (repository copie) to sys/dev/scsipi. 1997-08-27 11:46:13 +00:00
bouyer 6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
thorpej a79a3ca472 Fix a reversed argument which caused procfs_checkioperm() to always return
"OK".  Add a few comments to avoid further confusion.
1997-08-27 08:52:51 +00:00
mikel 480894feb2 xref sliplogin(8), not nonexistent sliplogin(1) 1997-08-27 07:59:19 +00:00
mikel 2ac86cf1ee RCSid police, fill in some blanks, use .Nx 1997-08-27 07:38:42 +00:00
mikel abec49ea56 add HISTORY line for swapon(), and eliminate all reference to libc
major numbers.
1997-08-27 07:31:36 +00:00
mycroft f31ed493f7 Fix a mbuf leak in sosend() when we have a negative residual count. 1997-08-27 07:10:01 +00:00
leo c9f11609e3 According to Andre Lange, the Hades has the DTR/RTS lines exchanged on
the 68901 UART-port due to a PCB error. Take care of this.
1997-08-27 06:59:19 +00:00
leo a905a75ff7 Number the slots 0&1 instead of 1&2 . 1997-08-27 06:56:14 +00:00
leo c8c7fe38ca Add the isa-bus. 1997-08-27 06:52:46 +00:00
thorpej c46d775b91 Document new flags and internal processing of ld.so.conf changes. 1997-08-27 06:43:07 +00:00
mikel 788dcf907f fix numerous tyops and use some -mdoc macros to advantage 1997-08-27 06:38:06 +00:00
leo 2ca332c7bc Add a char entry for md and add it to the chartoblk table. This fixes
the problem that kernfs was unable to determine the root device while
booting from the install floppy.
1997-08-27 06:21:06 +00:00
leo d0301b58ee Don't enable the dma-interrupt while polling for dma to end. This sometimes
caused a system panic on the Hades while probing the SCSI devices.
1997-08-27 06:16:49 +00:00
mikel 2179735ae5 default swap device is /dev/drum, not nonexistent /dev/swap; from
<entropy@tardis.bernstein.com> in PR bin/4042
1997-08-27 05:43:20 +00:00
mikel a6a1f307de sync with GENERIC 1.96, no functional change 1997-08-27 04:56:38 +00:00
mrg 66d1e506df remove last vestigates of __FORK_BRAINDAMANGE 1997-08-27 02:35:38 +00:00
kleink 92ee7f0aaa Add missing "RETURN VALUES" section; from Krister Walfridsson
<cato@ulysses.df.lth.se> in PR lib/4028.
1997-08-26 20:34:57 +00:00
kleink 0dfbaed62c Make linkntoa.3 a link to linkaddr.3 again; fixes PR lib/4017 from maximum
entropy <entropy@tardis.bernstein.com>.
1997-08-26 20:27:05 +00:00
thorpej 23eb2db171 Avoid a segv in bltinlookup() reported by Ronald Khoo <ronald@demon.net>
in PR #3929, fix submitted by hiroy@NETCOM.COM (Hiroyuki Ito).
1997-08-26 20:09:59 +00:00
thorpej a73d0efd45 Enhancements from Ty Sarna <tsarna@endicor.com>, per PR #3935. Allow
user to:
- get entries from a file other than "calendar".
- get entries for a different date than today.
- get entries for a whole week in advance, or only one day.
1997-08-26 19:58:10 +00:00
thorpej aeeac5d7fd Fix usage with NIS+ servers in NIS compat mode, which was lost in the
last amd update.  From Matthieu Herrb <matthieu@laas.fr>, PR #4023.
1997-08-26 19:47:19 +00:00
augustss 631dee9e59 Add the drq2 stuff to the man pages (and an upcoming SB change). 1997-08-26 19:39:19 +00:00
thorpej 5b004f0ce6 ldconfig processes /etc/ld.so.conf internally; run it without cat'ing
the contents into an argument vector.
1997-08-26 19:35:33 +00:00
thorpej a9ac3f4261 Document syntax supported by internal processing in ld.so, from
Jim Bernard <jbernard@tater.mines.edu>, PR #4031.
1997-08-26 19:33:20 +00:00
thorpej c48a53ac99 Enhancements from Jim Bernard <jbernard@tater.mines.edu>, to support
processing of /etc/ld.so.conf in ld.so itself (rather than in /etc/rc):
- added do_conf function and call to it in main to implement internal
  processing of /etc/ld.so.conf
- moved maintenance of dir_list to dodir, with an added argument to
  dodir to specify whether dir_list should be updated
- added option '-c' to suppress processing of /etc/ld.so.conf
- added option '-S' to suppress processing of std directories (but not
  /etc/ld.so.conf)
- modified option -s to suppress processing of _both_ std directories
  and /etc/ld.so.conf (i.e., it is equivalent to -cS)--this was done
  so that users and scripts that interpret -s as meaning "process
  only directories specified on the command line" would not be
  startled

From PR #4031.  One change was not committed, since it was unnecessary
(option variables are in the BSS, and do not need to be initialized to
0 explicitly).

Plus one change from me:
- getopt() returns -1 when completed, not EOF.
1997-08-26 19:29:57 +00:00
augustss a50d4ba893 XXX Add a drq2 locator for the ISA bus. Many sound cards need
two DMA channels to do e.g. full-duplex.  This allows
a way of specifying the second channel in a sane way.
THIS IS TEMPORARY.  The drq2 locator will go away when
the locator system has been changed to allow multiple
values per locator.
1997-08-26 19:26:38 +00:00
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