Commit Graph

24113 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
mark
620bc79e36 Fix the copyin(), copyout() argument validation to check for zero
length copy before returning EFAULT for a bad address.
1998-07-29 00:56:08 +00:00
thorpej
1712467308 fic typi 1998-07-29 00:31:01 +00:00
thorpej
8a2c338704 Use a std options file, like other ports do. 1998-07-29 00:19:20 +00:00
thorpej
7698349700 Ah, we use a _different_ ofcons; rename it macofcons to avoid the
name collision.
1998-07-28 23:43:33 +00:00
thorpej
c8f1cea511 Provide SSIZE_MAX. 1998-07-28 23:20:54 +00:00
thorpej
8a3626d966 ofcons attaches to ofbus, not pci! Comment it out, since we do not have
any ofbus support in these configurations.
1998-07-28 23:09:07 +00:00
thorpej
d0714d3f21 Support NFS_BOOT_DHCP. 1998-07-28 23:02:06 +00:00
augustss
0733d4c87f Do locator related defines using defines from locators.h rather
than literal constants.
1998-07-28 22:01:24 +00:00
thorpej
99b10d9e98 Regen. 1998-07-28 21:51:34 +00:00
thorpej
463fc03c76 Add the IMS TwinTurbo 128M graphics board. 1998-07-28 21:50:30 +00:00
thorpej
37b70b3064 Change the "aresid" argument of vn_rdwr() from an int * to a size_t *,
to match the new uio_resid type.
1998-07-28 21:39:54 +00:00