Commit Graph

813 Commits

Author SHA1 Message Date
leo bfd59f416b Another patch from 'maximum entropy':
* Add to copyright notice.
* Replace the bad probe that caused your problem in the first place
  with a better one.  This probably means we could do away with the
  type hints you added, but it won't hurt to leave them.
* Improve performance by not wasting a memory access in the buffer
  copy/zero routines.
1998-12-10 15:55:25 +00:00
leo a4fea93ff3 Make sure that my Riebl card (with empty battery) is not detected
as an BVME410...
1998-12-09 08:51:12 +00:00
leo 5335909035 BVME410 ethernet driver by 'maximum entropy'. 1998-12-09 07:33:59 +00:00
mjacob 74bc9f26d5 Update HBAs to incorporate the new max_lun property. 1998-12-05 19:43:33 +00:00
bouyer 47ab212504 Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
leo 7cce2beefa Fix the __abs_copy() macro (wrong parameters to __abs_opname). 1998-12-01 15:32:28 +00:00
leo 70249fa2f2 Make this compile again... ('maximum entropy'). 1998-12-01 15:30:01 +00:00
leo 15586aca07 Check-point work on isa-interrupt handling 1998-11-26 13:34:23 +00:00
hwr 59acb69be1 Add (commented out) 'gre' pseudo device line. Feedback is welcome.
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
leo dee282eb12 You also need intr.h, psl.h, pte.h and vmparam.h to build the world... 1998-11-24 15:16:48 +00:00
leo d40f376b56 Implement BUFCACHE option as suggested by lukem. 1998-11-24 15:07:33 +00:00
leo a3f9798019 Make compile with -DDEBUG 1998-11-24 15:05:53 +00:00
leo f65666430f Pull-in device.h for configure() prototype. 1998-11-24 15:03:31 +00:00
drochner e1244719fd oops - forget update for wdc_channels definition change 1998-11-22 14:36:38 +00:00
oster a8e48ccd6e Fix RAIDframe typo. (Reported by msaitoh@netbsd.org) 1998-11-21 23:41:13 +00:00
leo c9971df573 Follow the amiga vmparam.h, from Ignatios:
Yet another workaround for pmap bugs. Several reports on the port-amiga
list claim this helps with some big-machine situations.
1998-11-20 13:01:12 +00:00
leo b981000a00 If the disklabel on the floppy says that there are more tracks and sectors
than the hardware is capable off, believe the hardware...
1998-11-20 12:58:13 +00:00
leo 6827fd2ff0 Checkpoint my work on et6000 support. 1998-11-20 12:56:09 +00:00
leo 396634e8c7 Adapt to new wd world-order. 1998-11-20 12:54:37 +00:00
leo d8b37265bc Fix parameters of uvm_unmap(). 1998-11-20 12:48:13 +00:00
leo c852714bf9 Make it compile with -DDEBUG again. 1998-11-20 12:46:51 +00:00
leo 394afce1c9 NWDC -> NWD (wdc.h -> wd.h) 1998-11-20 12:43:11 +00:00
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
oster c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +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
leo 4401599ff3 These should have been added together with leo.c a long while ago :-( Thanks
to 'entropy' for keeping an eye on me...
1998-11-03 14:50:15 +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
bouyer 19fddaeeb5 Merge bouyer-ide 1998-10-12 16:09:10 +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
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
leo d833f66c0c Copyright stuff. 1998-10-07 07:22:32 +00:00
thorpej d681cf055a configure() prototype is in <sys/device.h> 1998-10-06 20:50:15 +00:00
leo 3e8b7d3139 Only return COMPLETE when polling. 1998-10-06 09:32:44 +00:00
leo 05ebc10205 Disable SCSI interrupts while polling for the transfer to finish. This
fixes spurious panics while booting my Hades. This bug could also occur
on a TT030.
1998-10-06 09:29:44 +00:00
leo 8a20859c2e Some DEBUG fixups 1998-10-06 09:22:01 +00:00
leo e3704a8e0b Fix DEBUG printf 1998-10-06 09:19:36 +00:00
thorpej 5006dbf868 cpu_set_kpc() prototype is already in <sys/systm.h>. 1998-10-05 22:11: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
leo a30987cbf6 Re-arrange networking options a bit (Julian Coleman) 1998-10-02 12:50:35 +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