Commit Graph

41821 Commits

Author SHA1 Message Date
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
pk 9e4d2f9b53 Switch to new sbus attach arguments layout. 1998-07-29 18:42:32 +00:00
pk 58d952ce7d Deal with sbus attch args changes.
Use sbus_destroy_attach_args().
1998-07-29 18:37:23 +00:00
pk 426330f642 We no longer need to get the register sets by ourselves. 1998-07-29 18:36:08 +00:00
pk 4f2fd378bb Use sbus_destroy_attach_args(). 1998-07-29 18:33:27 +00:00
pk 1d8ad313ab `struct rom_range' => `struct sbus_range' 1998-07-29 18:32:54 +00:00
pk 9a7ffd5724 Move some Sbus structures in here.
* attach arguments now directly support multiple register and
	  interrupt sets.
	* address translation (`ranges') has been made bus-specific
	* introduce sbus_destroy_attach_arg() to clean up after
	  attaching an an Sbus device.
1998-07-29 18:30:20 +00:00
pk 718ff722b7 In the reset() function, preserve the current cable selection bit.
If in auto media select mode, this avoids losing carrier every time
the lance code decides to re-initialize.
1998-07-29 16:10:57 +00:00
augustss 33a72d432a Add wss on isapnp. 1998-07-29 12:36:47 +00:00
mrg 179879e08f add Elf_em_sparc64 at 43 (from solaris 2.7) 1998-07-29 12:14:00 +00:00
augustss d6a8a4f025 Don't print chip name in attach, the ad1848 attach already does. 1998-07-29 11:39:25 +00:00
lukem 15b3c2bfae * implement -u user and -g group - to specify the username and/or
group to run as.
  if -u isn't given, user defaults to "nobody".
  if -g isn't given, group defaults to the primary group of user.
  doesn't try and change uid or gid if they're already set ok.
  should solve PR 4218.
* deprecate register
* deprecate trailing \n in syslog messages
1998-07-29 11:31:22 +00:00
lukem 19e9da1bad update to libedit.so.2.2 1998-07-29 11:26:36 +00:00
tron b3c53533a0 Add "beforedepend" target to fix PR lib/5862. 1998-07-29 11:05:26 +00:00
augustss 75e1bfa81f Note the supported USB hardware. 1998-07-29 09:04:10 +00:00
fair 3a6d08fd98 add references per PR#5820 1998-07-29 07:43:21 +00:00
fair 72dfb07bbe usage & comment string patch, per PR#5859 1998-07-29 07:26:29 +00:00
tsubai 1d3fe14e52 Add .profile 1998-07-29 05:52:19 +00:00
tsubai 04e0026f9b Add md part of sysinst. 1998-07-29 05:41:55 +00:00
tsubai 5b03ac980b Use ite for screen console by default until wscons support. 1998-07-29 05:38:04 +00:00
tsubai fbd86622a0 Add ``install floppy'' config file. 1998-07-29 05:19:26 +00:00
tls 31d0752b99 change IN_IFADDR_HASH_SIZE to 509, which actually uses no more space than 293 due to rounding up to nearest power of two in hashinit. 1998-07-29 05:18:54 +00:00
ross 871fe159d1 English. 1998-07-29 03:38:30 +00:00
lukem 2a1907a853 check EL_EDITMODE after el_source and disable editing if necessary 1998-07-29 02:46:26 +00:00
lukem f87d250404 * add more checks for NULL pointers in passed arguments
* implement el_get(EditLine *, int op, void *result), which does the
  inverse of el_set()
* add EL_EDITMODE operation to el_set and el_get; if non zero editing
  is enabled (the default).
* add "edit  on | off" editrc command, which modifies EL_EDITMODE.
  users can now add '*:edit off' in ~/.editrc as an advisory to
  disable editing.

NOTE: at this time EL_EDITMODE is just an indication of the
state of the 'edit' command. It's up to the application to check
this after el_source() or el_parse() to determine if editing is still
required.
1998-07-29 02:26:00 +00:00
thorpej bbc3c4bf2a Document that these calls can return EINVAL if the total length of the I/O
is more than can be expressed in the ssize_t return value.
1998-07-29 02:11:35 +00:00
thorpej 4b039671de When checking for overflow in the residual count, test against SSIZE_MAX.
The read/write system calls return ssize_t because -1 is used to indicate
error, therefore the transfer size MUST be limited to SSIZE_MAX, otherwise
garbage can be returned to the user.

There is NO change from existing behavior here, only a more precise
definition of that the semantics are, except in the Alpha case, where
the full SSIZE_MAX transfer size can now be realized (ssize_t is 64-bit
on the Alpha).
1998-07-29 02:07:19 +00:00
simonb b5c503ca40 Remove conditional strdup() compiled if OSF isn't defined, and -DOSF
from the Makefile to guarantee that the private version strdup() isn't
compiled in.
1998-07-29 01:31:50 +00:00
thorpej eb32016a95 Split up using BWX for PCI config and bus access. Default to using BWX for
the former, but not the latter.  Hopefully, this will address some problems
people have been experiencing w/ some devices on Pyxis systems when BWX
is used for bus access.  (If it's not used for PCI config access, we can
get fatal machine checks while probing behind PCI-PCI bridges!!)
1998-07-29 01:28:44 +00:00
simonb d3eedb9246 Remove useless BINOWN=root, BINMODE=555 and BINDIR=/usr/sbin 1998-07-29 01:19:00 +00:00
simonb a72208957e Remove useless BINOWN=root 1998-07-29 01:14:16 +00:00