Commit Graph

24233 Commits

Author SHA1 Message Date
oki
4c16b00300 #include "..." --> #include <...> 1996-12-31 00:35:21 +00:00
mouse
f02c2e5693 Get the local-address-part code in here (instead of "comsat" you can
use "127.0.0.1:comsat").  While I'm here, do trailing whitespace
cleanup, .Nm usage police in the manpage, and a couple of trivial text
typo fixes.
1996-12-30 23:38:18 +00:00
gwr
1468d5102b Remove some junk. 1996-12-30 21:13:50 +00:00
gwr
b3adae991a Fix warnings. 1996-12-30 21:12:01 +00:00
jonathan
259ce9f178 * make sure 100mbit media-present bits don't collied with 3c509
CONFIG_CNTRL bits by making the "conn" argument to epconfig()
   a u_int, not a u_int16_t, and by defining 100mbit media
   bits in the upper 16 bits.

A redesigned interface that fixes this properly is in the pipeline.
1996-12-30 19:18:28 +00:00
mikel
8520799dbe Install tun(4); fixes PR misc/3068. 1996-12-30 04:44:08 +00:00
christos
398a0a033b Don't use @echo "${command}" to echo commands, because if ${command} contains
double quotes we generate shell syntax errors. Use @echo ${command:Q} instead
which properly quotes shell metacharacters.
1996-12-29 19:14:32 +00:00
jonathan
b00ac4cf2c * add epshutdown(), and establish as shutdown hook: see multiboot
comments in pr port-i386/2358: "if_ep/3C590 no longer working"
* Only call Vortex media-config code on PCI-attached devices, until
  we know if it works on ISA and EISA large-packet devices also.
* Fix typo in printf of MAC address
1996-12-29 17:01:58 +00:00
jonathan
1d7f16f4d9 * Accept 100baseT4, MII variants of 3c595 as 3c595-model devices,
rather than unknown.

* Look for 100mbit interfaces, and for any present, set corresponding
  bits in `conn' argument to epconfig(). epconfig() will now print
  100Mbit media by name.
1996-12-29 13:42:58 +00:00
jonathan
23c1d14c64 * Add 100Mbit xcvr flags to epconfig():
look for 100mbit Xcvrs, print their names, add to ep_connectors.

* Print 10baseT as 10baseT, since media name (utp) is no longer a unique
  transceiver type.

* Redo FIFO memory size printing, also show Tx/Rx split (xxx isa 3c509?).

* Print MAC address on a separate line,  with 100Mbit media and fifo-ram
  info it no longer fits on the same line as media types.

* Comment the fact that the "connection" media-selection code just doesn't
  grok 100Mbit media.

* add code to look for 3c59x/3c90x media-select and autoconfig bits, though
  we don't yet dynamically probe media when the autoconfig bit is set
  (see previous bullet).

* XXX the whole connector/media code should be redone, perhaps a' la
  the BSDI ifmedia design.
1996-12-29 13:32:46 +00:00
jonathan
6ad69cd711 * Expand softc sc_connectors field to 16 bits.
For now, we really only need 8 bits of media type.

* Add bogus definitions for 100mbit transcievers, to be set in the
  "conn" argument to ep_config(). Should  really  use the same bits
  as in EP_W0_CONFIG_CTRL bits, but I don't know what bits the 3c515
  &c use for 100mbit media.

* Define bitflags for 100Mbit transceiver options in ep_connectors.

* Add definitions of powerup/powerdown commands. for interfaces with
  power management. Should send a powerup after APM resume?

* Add definition of fragment-busmaster (vortex) START_DMA command.

* Add definition  of PCI configuration-space media-present bits.
  (really just EP_W3_RESET_OPTIONS remapped into pci config space.)

* Add comments describing what the #define's above are used for.
1996-12-29 13:25:23 +00:00
jonathan
48f7828104 * Expand softc sc_connectors field to 16 bits.
For now, we really only need 8 bits of media type.

* Add bogus definitions for 100mbit transcievers, to be set in the
  "conn" argument to ep_config(). Should  really  use the same bits
  as in EP_W0_CONFIG_CTRL bits, but I don't know what bits the 3c515
  &c use for 100mbit media.

* Define bitflags for 100Mbit transceiver options in ep_connectors.

* Add definitions of powerup/powerdown commands. for interfaces with
  power management. Should send a powerup after APM resume?

* Add definition of fragment-busmaster (vortex) START_DMA command.

* Add definition  of PCI configuration-space media-present bits.
  (really just EP_W3_RESET_OPTIONS remapped into pci config space.)

* Add comments describing what the #define's above are used for.
1996-12-29 12:36:43 +00:00
cgd
89dcb48dfb fix up -ansi -pedantic warnings produced because of static function
declarations nested in other functions.  The solution: declare the
static functions at the top level.
1996-12-29 10:41:53 +00:00
cgd
8e2918a81c make evenpartab be of type 'unsigned char' to avoid -ansi -pedantic errors 1996-12-29 10:38:20 +00:00
cgd
879c890af2 add -ansi -pedantic to CFLAGS, so that people won't try to use the behaviour
of the old zzhack-access macros, which with the current macro definitions
would cause a cast value to be used as an lvalue, which is a gcc extension,
but _not_ what we want.
1996-12-29 10:36:37 +00:00
cgd
88caf985e6 replace old zzhack structure (YUCK!) and number(), boolean(), character(),
and address() macros with new macros of the same names (to get values),
and macros with those names but with "set" prepended and which take a
second argument (to set values).  The new macros use type casts to do
type conversion, which is much cleaner than using a union and making
endianness-related hacks to get the right 'short's and 'char's from
the right array indices.  (YUCK! again, for good measure.)
1996-12-29 10:34:03 +00:00
jonathan
f029ade219 Define the contents of window 3's InternalConfig register. 1996-12-29 10:21:48 +00:00
jonathan
2d9783cc79 Remove {GENERIC,INST}{ADP,OTHER}: split Adaptec {ADP} and other-scsi {OTHER}
{GENERIC,INSTALL} config files, respectively.

The BusLogic SCSI driver no longer accepts Adaptec 154x devices,
making the split kernels unecessary.
1996-12-29 07:28:53 +00:00
lukem
e699917c51 * preserve modtime if size is 0 [bin/3040, Enami Tsugutomo]
* in autofetch mode, don't retry a file if the connection failed - skip it
  and move to the next file. [bin/3051, Matt Green]
* only print error messages from SIZE or MDTM if the user used 'size' or
  'modt' (respectively). prevents extraneous warnings during normal transfers
  when connected to a site which doesn't support these (behaviour prior to
  last commit), but still allows error feedback to specific user requests
  for this info (which the last commit broke).
* 'account': only accept one optional argument
* if invoked as pftp, default to passive mode on (from FreeBSD)
* remove leading '0 ' in progress bar - looked ugly
* use warn instead of perror
* use strncpy when src isn't known to have safe length
* remglob(): use mkstemp() to prevent symlink games, and don't override
  _PATH_TMP, use it as the prefix to the temp file
1996-12-29 04:05:29 +00:00
mrg
ca69bed024 turn off internal udp services, and log rshd connections; ideas from openbsd. 1996-12-29 03:32:44 +00:00
mrg
bdfb38a243 comment some localised entries; idea from openbsd 1996-12-29 03:30:09 +00:00
mrg
e7ebd3975e add nfs and ircd 1996-12-29 03:25:34 +00:00
mrg
702d0ff147 add /bin/ksh 1996-12-29 03:23:07 +00:00
mrg
160f67a956 add ftp-bugs; idea from openbsd. 1996-12-29 02:41:23 +00:00
pk
3bbf01bfb7 rename: ramdisk => md 1996-12-28 23:53:10 +00:00
pk
c4a0dfb011 omission in last commit: ramdisk.h => md.h 1996-12-28 23:50:44 +00:00
pk
f750d179be rename: ramdisk => md 1996-12-28 23:42:33 +00:00
leo
aae827a845 - The Hades bios does not pass a 'bootpreference' in d5. Deal with it by
getting the 'bootpreference' ourselves when it is not set to any legal
  value.
- Because the relation between memtop/membot and the video base does not
  hold on the Hades, skip testing on it.
1996-12-28 23:37:53 +00:00
pk
a8b4babc16 rename: ramdisk => md 1996-12-28 23:37:26 +00:00
pk
d5b11782b5 rename: ramdisk => md 1996-12-28 23:27:00 +00:00
leo
223682435b Oops, this one was missed in the BROKEN_INDIRECT_CONFIG cruisade. 1996-12-28 23:26:36 +00:00
pk
603b61c3e0 rename: ramdisk => md 1996-12-28 23:22:07 +00:00
pk
114271a083 rename: ramdisk => md 1996-12-28 23:10:44 +00:00
pk
1cfdb29905 Rename this driver `md'. 1996-12-28 23:09:26 +00:00
cjs
1c0c346e1d This recently stopped compiling due to a warning about const being
dropped. This fix suggested by cgd.
1996-12-28 22:37:03 +00:00
tls
bd34844797 Import from 4.4BSD-Lite2 1996-12-28 19:09:10 +00:00
tls
76940923a3 add gomoku game, from 4.4BSD-Lite2 1996-12-28 18:56:57 +00:00
veego
b6257e9e67 iruserok fails to open a ~/.rhosts file if you have a directory
above the home dir which is only group acessable:

directroy       owner   group   permission
/a              root    wheel   755
/a/b            root    b       750       <
/a/b/c          c       b       700
/a/b/c/.rhosts  c       b       600

add getegid and initgroups before and setegid behind fopen to fix this.
add <netgroup.h> for the prototype of innetgr.
1996-12-28 18:48:31 +00:00
tls
193cec78aa Import of 4.4BSD-Lite2 source 1996-12-28 18:44:55 +00:00
matthias
e16e1de8fd * remove NKPDE, this was never used.
* add IV_MASK (new member of struct iv) and IV_SIZE (sizeof(struct iv)).
1996-12-28 09:15:27 +00:00
tls
19d35cbcd9 Sync with 4.4BSD-Lite2 1996-12-28 07:10:57 +00:00
tls
517427d9e1 Import of 4.4BSD-Lite2 source 1996-12-28 05:17:06 +00:00
tls
26d28c381f Import of 4.4BSD-Lite (already merged at head) 1996-12-28 05:15:19 +00:00
tls
28316c21d3 Sync with 4.4BSD-Lite2 (whew!) 1996-12-28 04:30:02 +00:00
pk
c978f3a5c0 Fix another symbol mis-count noticed by Thorsten Lockert. 1996-12-28 01:11:25 +00:00
tls
7d4405a6a6 Import of 4.4BSD-Lite2 sources 1996-12-27 23:11:39 +00:00
pk
f2eb968909 asm => __asm__, and garbage collect a bit. 1996-12-27 21:44:59 +00:00
pk
31045b4490 Annul __builtin_classify_type' and __extension__' if __lint__. 1996-12-27 20:55:28 +00:00
pk
be41891152 For now, define __indr_reference' and __warn_references' as empty
macros if __GNUC__ not defined.
1996-12-27 20:51:31 +00:00
pk
269e64e16b asm => __asm__ 1996-12-27 20:48:56 +00:00