Commit Graph

1267 Commits

Author SHA1 Message Date
thorpej
5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
mrg
db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
oster
cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
mhitch
f6adcd4690 Some CyberStorm MK I SCSI modules use the same product ID as the Fastlane.
Add a check for that product ID and not a Zorro III address.
1998-11-14 21:48:22 +00:00
is
be4fc8e1b9 Simplify program structure to save a few bytes. 1998-11-13 22:12:35 +00:00
oster
c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +00:00
veego
17509cc037 Add the Ariadne II. 1998-11-11 22:28:32 +00:00
veego
1449b87b11 New driver for the Ariadne II. 1998-11-11 22:26:27 +00:00
is
6b1ed04840 Correct the calls (use AllocVec() and FreeVec()),
in case somebody ever needs free().
1998-11-11 21:43:18 +00:00
is
f02a3ccb3e Switch off the cache later.
Apparently, this avoids a problem on DraCos with HyperCom boards.
1998-11-11 20:57:33 +00:00
thorpej
49c62c4336 Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
is
9916260262 - declare method arrays in bus.h
- add interleaved_wordaccess method array
1998-11-08 21:09:27 +00:00
is
ba74edf69b Fix typo. 1998-11-07 22:50:25 +00:00
is
fd3b226223 We didn't really implement bus_space_{read,write}_stream_N, but
bus_space_{read,write}_region_stream_N. Correct the names.
1998-11-07 22:44:36 +00:00
is
23c04fa375 Add color debug code for DraCos. 1998-11-06 20:08:20 +00:00
frueauf
b1122614c3 Add braces to make egcs happy. 1998-11-05 14:13:59 +00:00
is
e4d73206ab Make the exec header an automatic variable, instead of malloc()ed space.
Saves 60 bytes of code.
1998-10-31 22:40:27 +00:00
is
d103f66935 Switch the Amiga port to UVM. 1998-10-28 22:41:24 +00:00
is
9177fc99a7 Oops. People without I4B should still be able to compile a kernel. 1998-10-24 11:09:29 +00:00
is
4a961f034b All m680?0 User Manuals claim that trap vectors are fetched from the data
cache, if found there (but not allocated in the data cache on trap).
No need to flush the data cache.
1998-10-24 10:48:34 +00:00
is
009398587b This time, really add i4b to cdevsw[]. 1998-10-23 23:03:02 +00:00
is
732bba6038 oops, commit error. undo. 1998-10-23 22:38:26 +00:00
is
8a6428e6be Add entries for i4b devices / placeholders, like in i386 and Atari. 1998-10-23 22:14:27 +00:00
tron
b296275bb4 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:09:13 +00:00
itohy
2a9addf6dc Remove unwanted reference to "_trap1" if !defined(COMPAT_13). 1998-10-18 04:42:17 +00:00
drochner
2468738337 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
is
4e322893fa Make the data pointer of the write_multi, write_region and write_stream
methods const *.
1998-10-12 22:02:43 +00:00
is
842fbdf4d2 - add bus_space_{copy,set}_region_{1,2} support and implementation for
_1 and for _2 in the contiguous and interleaved case.

- while we're here, reorganize bus.h into sections, and use the defined
  convenience functions everywhere.
1998-10-12 21:15:54 +00:00
veego
a5eda011ab Include <sys/device.h> for the configure prototype. 1998-10-12 03:51:59 +00:00
chuck
8bef431273 remove unused share map code from UVM:
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
        has been removed)
1998-10-11 23:20:59 +00:00
thorpej
908cdfe4e3 Add scsibus entry points to the cdevsw[]. 1998-10-10 02:00:49 +00:00
thorpej
29d472f53d Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

Add a scsipi_ioctl entry point to struct scsipi_adapter.  This will be
used to issue ioctl commands to the host adapters.

Inspired by PR #6090, from Matt Jacob.
1998-10-10 00:28:28 +00:00
is
6662b5ed74 - define framework for >8bit transfers
- implement 16 bit contiguous and 16 bit interleaved, both big-endian
1998-10-08 21:46:39 +00:00
thorpej
b38544d99e Oops, back out a buglet I didn't intend to commit in the last change. 1998-10-07 18:29:26 +00:00
tron
8362affa14 Add a few "nop" instructions to make the memory size probe more reliable. 1998-10-06 22:26:42 +00:00
thorpej
d681cf055a configure() prototype is in <sys/device.h> 1998-10-06 20:50:15 +00:00
thorpej
c01f29bdf1 Sigh, we are going to have to burn a vector for Just Sigreturn again,
for now, until we have a more generic {get,set}context().  Update the
comment for trap #3 accordingly.
1998-10-04 23:38:55 +00:00
is
66d6e30a1b Yet another workaround for pmap bugs. Several reports on the port-amiga
list claim this helps with some big-machine situations.
1998-10-02 19:29:49 +00:00
thorpej
d15a64c38b Adapt to signal changes. 1998-10-01 02:53:53 +00:00
thorpej
8b220e1148 Define SYS_compat_13_sigreturn13. 1998-10-01 00:29:51 +00:00
thorpej
bcf14a99e2 Garbage collect trap #1 and trap #2 handlers; they're moved to
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej
1e62485c23 If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
for trap #2 to reflect that it's the trace trap.
1998-09-30 23:13:58 +00:00
thorpej
a11e6632a8 Pull in opt_compat_netbsd.h 1998-09-30 23:01:28 +00:00
thorpej
35d282c8d5 Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej
38084c6615 Note that trap #1 is compat_13_sigreturn, and give trap #3 to syscalls
which require special handling, e.g. sigreturn on m68k.

This differs from the old sigreturn trap in that we require the syscall
number to be in register d0, just like the regular syscall entry point.
This will allow sigreturn to be versioned in the future without the need
to allocate another trap vector.
1998-09-30 22:14:11 +00:00
is
6eb98a7967 4/NPTEPG is 0. This is a very old editing error. 1998-09-26 19:26:58 +00:00
is
95807e512a Garbage collect unused 3rd parameter to comprobe1(). 1998-09-16 21:30:58 +00:00
mycroft
7b15b3b56d Minor change. 1998-09-13 12:01:41 +00:00
is
283229c668 Fix catastrophic typo. DraCos rev. 3 (or older) would crash on exiting from
the first timer interupt.
1998-09-10 20:45:33 +00:00
thorpej
70e641047c In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
to).
1998-09-09 11:17:24 +00:00