Commit Graph

9660 Commits

Author SHA1 Message Date
matthias 92a5d4d222 * We no longer have a scsi subdirectory. Remove it from the list of
directories in which get tag links.
1996-12-23 08:38:02 +00:00
matthias 2e7cb22267 * Use bcopy, not memcpy. 1996-12-23 08:37:55 +00:00
matthias 54e6abd9e7 * Remove __BROKEN_INDIRECT_CONFIG. 1996-12-23 08:37:43 +00:00
matthias 4bd938a998 * Remove IPL_NONE. This is no longer used.
* Add IPL_HIGH. Alias IPL_HIGH to IPL_RTTY
* Define splrtty (used by the scn driver).
* Add iv_level and iv_mask to struct iv. These define the IPL at
  which the handler should run.
* intr_establish now takes *two* ipls. One at which the handler should run,
  and one in which the interrupt should get blocked.
1996-12-23 08:37:41 +00:00
matthias b01c5dfbcb * Define NKPDE_BASE, NKPDE_MAX and NKPDE_SCALE for boottime computation of
nkpde (From the i386 port).
1996-12-23 08:37:38 +00:00
matthias b30b4f9fcf * Define new sysctl variable "machdep.nkpde" (From the i386 port). 1996-12-23 08:37:37 +00:00
matthias 41cc99aa8c * Rearange duart_info and add hwflags to store uart type (Ian Dall).
* Define SCN_RING_HIWAT and add sc_rbhiwat to scn_softc. When the
  ringbuffer gets full up to this mark, rts gets asserted (Ian Dall).
* Add sc_rx_blocked to scn_softc. This is used to tell scnsoft that
  rxinterrupts are blocked (Ian Dall).
1996-12-23 08:37:11 +00:00
matthias 2c7e970491 * Define the bits in MR0 for the SCC26C92 (Ian Dall).
* Define SCC26C92-only commands (Ian Dall).
1996-12-23 08:37:10 +00:00
matthias b080d4fea0 * Match functions take a "struct cfdata *" as their second argument.
* intr_establish now takes *two* ipls. One at which the handler should run,
  and one in which the interrupt should get blocked.

All the following changes were provided by Ian Dall:
* Remove SCN_HSOFT. Now that the pc532's software interrupt system is running
  from int14, this won't work anymore.
* Add code to detect uart type (SCN2681, SCC2692 or SCC26C92).
* Cleanup my RECOVER mess. Thank's to Ian Dall for reading the datasheet
  and removing all the unnecessary RECOVERs.
* Cleanup scnrxintr.
* Implement scnhiwflow.
* Do not use automatic RTS. This and scnhiflow and some changes to the
  interrupt system suggested by Ian fix the scn overrun problem at 57600
  baud.
1996-12-23 08:37:07 +00:00
matthias 70597563c6 * Match functions take a "struct cfdata *" as their second argument.
* intr_establish now takes *two* ipls. One at which the handler should run,
  and one in which the interrupt should get blocked.
* Make transfersize configurable for input and output. Default the input
  transfersize to 128 bytes. That way interrupts won't be disabled for more
  then about 128us-256us for slow targets. This is necessary to prevent scn
  fifo overruns. Cleanup the pdma code. Thank's to Ian Dall for these
  changes.
1996-12-23 08:37:04 +00:00
matthias c3f3bc0228 * Match functions take a "struct cfdata *" as their second argument.
* intr_establish now takes *two* ipls. One at which the handler should run,
  and one in which the interrupt should get blocked.
1996-12-23 08:37:02 +00:00
matthias 7736d33def * membus is now called mainbus. 1996-12-23 08:36:43 +00:00
matthias b6f24c53a9 * Use std.pc532.
* Remove obsolete options CONFIG_NEW and CON_BRK_PANIC.
1996-12-23 08:36:40 +00:00
matthias a6953fcdd8 * membus is now called mainbus. 1996-12-23 08:36:37 +00:00
matthias d949824775 * Use std.pc532.
* Make it work on 30mhz machines.
* Configure MSDOSFS, CD9660, KERNFS, NFSCLIENT and INET.
* Configure SCSI-cds, slip and ppp.
* Update for mi ramdisk driver.
1996-12-23 08:36:36 +00:00
matthias bddb87af16 * Configure UNION and NULLFS. UNION doesn't seem to work as a lkm yet. 1996-12-23 08:36:33 +00:00
matthias 181cf4f705 * Use std.pc532.
* Make it work on 30mhz machines.
1996-12-23 08:36:31 +00:00
matthias 553486636e * Define and use nkpde. 1996-12-23 08:36:11 +00:00
matthias 15e824377a * Add code for CPU_NKPDE sysctl.
* Compute nkpde at boottime.
1996-12-23 08:36:08 +00:00
matthias eb68ad8281 * Recode _interrupt to use IV_MASK. 1996-12-23 08:36:05 +00:00
matthias 99cc2dd46d * Initialize IPL_HIGH's imask to 0xffffffff.
* Initialize iv_level for all interrupts.
* Protect the call to the sir-handler with splraise.
* intr_establish now takes *two* ipls. One at which the handler should run,
  and one in which the interrupt should get blocked.
* Compute iv_mask for all interrupts in intr_establish.
1996-12-23 08:36:02 +00:00
matthias c1921b48eb * intr_establish now takes *two* ipls. One at which the handler should run,
and one in which the interrupt should get blocked.
1996-12-23 08:36:00 +00:00
matthias 9d6e666ea7 * Rename membus to mainbus.
* Remove config_scan. Thank's to Chris G. Demetriou for providing patches.
1996-12-23 08:35:57 +00:00
pk bb12d8fd9a Prevent `unused function' warning (from Robert Evans; PR#2770). 1996-12-23 01:46:30 +00:00
fvdl 468d71d6f9 Add kernel_text symbol (from Jonathan Stone) 1996-12-22 23:05:31 +00:00
veego 26f6e45d39 Fix a typo: s/COPT/COPTS/ 1996-12-22 19:14:14 +00:00
cgd 0396cad668 if __lint__ is defined, #define __builtin_saveregs() and
__builtin_classify_type() into harmless values, so that lint doesn't
get confused, think they're real functions, and that they're being
invoked in the wrong ways.
1996-12-22 08:57:23 +00:00
cgd 50cb6df652 for now, -Wcast-qual is just not practical in the kernel 1996-12-22 08:33:19 +00:00
thorpej e2c6ed87ec Fix several semantic bugs:
- Always allow RAW_PART to be opened, regardless of the partition table.
- Never do partition translation on RAW_PART; it's always offset 0.
- Always make sure the disklabel is read from RAW_PART.
- Make *strategy() return values consistent.

This fixes a condition where a bogus partition table could be written
to the disk from SYS_INST, and the user had no way to rewrite with
a correct partition table, since RAW_PART would be invalid.
1996-12-21 21:34:40 +00:00
thorpej 0d58626f72 This wasn't just a spelling error... I invented a whole new word! 1996-12-21 21:23:43 +00:00
thorpej e34f47039d XXX Stop-gap for larger MAXBSIZE: limit nbuf to 128, so we don't chew
XXX up all of the available pmegs lower-model SPARC CPUs.
1996-12-21 06:21:56 +00:00
veego c815213b05 Disable CD debug output. 1996-12-20 19:21:11 +00:00
veego 35d44f12b7 - Move SWAPPAGER, VNODEPAGER and DEVPAGER to std.draco.
- Remove not working KGDB.
- Remove unused PANICWAIT.
- Add ch and uk devices.
1996-12-20 19:18:16 +00:00
veego acad9272a8 - Move SWAPPAGER, VNODEPAGER and DEVPAGER to std.amiga.
- Remove not working KGDB.
- Add a warning for KBDRESET.
- Add ch and uk devices.
1996-12-20 19:16:20 +00:00
veego 6b9a665130 Add SWAPPAGER, VNODEPAGER and DEVPAGER 1996-12-20 19:15:06 +00:00
veego cc5a862135 - Add ch and uk devices.
- Change the ss device number from 25 to 37,
  ATTENTION: you need to rerun /dev/MAKEDEV to update your devices files.
1996-12-20 17:16:49 +00:00
leo c6e901c459 Get rid of BROKEN_INDIRECT_CONFIG 1996-12-20 16:20:57 +00:00
leo 291ced55a4 Get rid of BROKEN_INDIRECT_CONFIG 1996-12-20 12:49:35 +00:00
jtk 6afa1586ff repair fdopen() to allow multiple opens at same density (was broken with fdformat) 1996-12-20 12:21:48 +00:00
jonathan a2715c2ce6 Clone INSTOTHER to INSTALL, with both Adaptec and other SCSI controllers. 1996-12-20 06:45:15 +00:00
scottr e8b8d1b050 Clean up a few bogons+typos introduced in the removal of the broken indirect
config code.
1996-12-19 21:48:17 +00:00
cgd fc841ac711 __asm rather than asm, to make lint happy without -g 1996-12-19 09:13:44 +00:00
leo 421158437b Tweak the clockframe structure a bit so we are able to save a few cycles
at interrupt time. (From Gordon Ross).
1996-12-18 12:35:19 +00:00
scottr 9d67345760 Correct asm operands in mrg_Delay(); it has one output operand, and no
input operands.  This corrects an uninitialized variable warning, and
may also explain some erratic behavior of the MRG ADB; gcc could throw
away the value of the `ticks' variable (but I haven't traced through
any ROMs, myself).
1996-12-18 07:21:06 +00:00
scottr 3ac126bc23 Work around another uninitialized variable warning 1996-12-18 05:44:31 +00:00
scottr 94714822e7 Work around another gcc initialization warning. 1996-12-18 05:17:44 +00:00
scottr affc68cf0c Work around another bogus uninitialized warning, and fix a legitimate one.
Clearly mark the former.

XXX The bogus warnings show up with -O, but not -O2.  Unfortunately,
    NetBSD/mac68k can't (yet) use -O2.
1996-12-18 05:04:22 +00:00
scottr e70f884a92 Fix the potentially uninitialized variable in clear_screen() (correctly
pointed out by gcc -Wall).
1996-12-18 03:06:06 +00:00
scottr e330279eea Work around uninitialized variable warning 1996-12-18 02:54:43 +00:00
cgd c591d26932 update for recent com.c changes: delete references to now-nonexistant
comconsinit variable.
1996-12-17 23:21:53 +00:00