Commit Graph

13969 Commits

Author SHA1 Message Date
leo d1e1b34b28 Move the vector-table to kernel data space, so we can write to it. 1996-11-09 22:24:49 +00:00
briggs 51d658e787 Check to make sure that ASCBase is accessable before claiming that we
have an Apple Sound Chip.  Make sure that we have configured the device
before allowing accesses to ASC memory.  Among other things, this
prevents the 660AV and 840AV from getting a kernel bus error when trying
to beep on the console.
1996-11-09 17:26:26 +00:00
briggs f75767628e Dump out type, code, v on panic for no pcb in trap(). 1996-11-09 15:36:14 +00:00
chuck cabd6ddfa0 - new lpt driver, contributed by Steve Woodford <steve@mctavish.demon.co.uk>
- added 1.1 and 1.2 compat to VME147 config file
1996-11-09 03:52:51 +00:00
chuck 04550d40b6 netbsd pr#2919 (jukka.partanen@research.nokia.com):
- fix compiler warnings
1996-11-09 03:43:29 +00:00
chuck 0f3c7ec18c netbsd pr#2918 (jukka.partanen@research.nokia.com):
- fix up netnatm so that it compiles with new warning flags (and
	install headers)
1996-11-09 03:26:25 +00:00
chuck 63b98e6bb7 add ss/uk 1996-11-08 22:40:51 +00:00
chuck 5049f4d106 add ch/rd(chr)/ss/uk devices as requested by mycroft, plus some minor clean up 1996-11-08 22:00:42 +00:00
chuck ee87cfab39 apply netbsd pr#2598 from der mouse:
everything before the beginning of the "a" partition on a disk
	is read-only except when accessed via RAW_PART.   (a problem if
	"a" isn't at the front of the disk).   pointed out by pk back
	in july.
1996-11-08 20:50:55 +00:00
ws 976b43fd61 Fix panic on mkdir.
Thanks to Dave Huang for finding the bug.
1996-11-08 15:51:49 +00:00
leo 8481cf5e5b Adapt to changes in the bus-interface; bus_[mem|io] -> bus_space. Thanks Jason. 1996-11-08 14:21:02 +00:00
leo fb386a941d pba_bc -> pba_pc 1996-11-08 14:18:20 +00:00
leo 758e7a3708 Adapt to the change in the floppy minor-number sceme. 1996-11-08 14:17:08 +00:00
leo 489c388d79 Clear d0 before using it to turn off the 040 MMU. Clearing d0 was a side-effect
of the code removed in my previous commit.
1996-11-08 14:15:36 +00:00
leo 626210d212 Move the definition for the floppy device from std.atari to the different
config files because the Hades needs another driver for it.
1996-11-08 14:12:19 +00:00
explorer f0873310e2 Another quirky cdrom drive ; pr kern/2917 1996-11-08 05:06:55 +00:00
matthias eb8718eafb * Pull up files from lib/libc/arch/ns32/string.
* DEFS.h and setjmp.S are no longer in use.
1996-11-07 07:36:05 +00:00
matthias 10af6d961f * We get bcopy from libkern.o now. 1996-11-07 07:34:02 +00:00
matthias 6ed1a51b35 * libkern.o already has bcopy.o. Link it in front of libsa.a. 1996-11-07 07:33:55 +00:00
matthias a95805b41f * Define the ALTENTRY macro. 1996-11-07 07:33:28 +00:00
matthias ee011c080d * The pc532 port is now using the mi ramdisk driver.
* Use the mi version of ns_cksum.
1996-11-07 07:32:29 +00:00
matthias 5ca00f7293 * Cosmetic changes. 1996-11-07 07:32:21 +00:00
matthias 5596cf17ea * Cosmetic changes.
* Configure LKM support.
* Remove filesystems that are normally not used.
* Configure SCSI-uk driver.
1996-11-07 07:32:18 +00:00
matthias 93811ddf97 * Cosmetic changes.
* Only FFS is needed for the install kernel.
* Configure the console to 8N1 (that's what the pc532's rom monitor uses).
* The install kernel doesn't need to know about CDROM drives.
* Use the new mi ramdisk.
1996-11-07 07:32:13 +00:00
matthias 7a27370327 * Cosmetic changes.
* Configure only NFS, FFS and LFS filesystems. All other filesystems are
modloadable.
* Configure SCSI-uk driver.
1996-11-07 07:32:10 +00:00
matthias bc9eccaebb * Cosmetic changes.
* Configure SCSI-uk driver.
1996-11-07 07:32:07 +00:00
matthias 1b92fb966e * bcopy and bzero are part of libkern now. 1996-11-07 07:31:20 +00:00
mikel 752f0f5c9c Fix typo; PR port-i386/2666. 1996-11-07 07:30:19 +00:00
matthias dbaaf5e560 * rd_attach_hook/rd_open_hook. Stolen from sun3/dev/rd_root.c 1996-11-07 07:21:00 +00:00
matthias ddb9815a80 * We are using the mi ramdisk driver now. 1996-11-07 07:20:37 +00:00
matthias 4ae217f7fa * We are using the mi ncr driver now. 1996-11-07 07:20:29 +00:00
matthias df2a490d8f * Not in use for a very long time. 1996-11-07 07:20:28 +00:00
matthias cab14d3b2b * ntoh is part of libkern now. 1996-11-07 07:18:27 +00:00
matthias c1e3a7db8d * This not different from netns/ns_cksum.c. Delete this copy. 1996-11-07 07:18:26 +00:00
matthias f0d6340cba * Tell the vm system that kerneltext is mapped readonly. Stolen from
atari/atari/machdep.c.
1996-11-07 07:18:23 +00:00
matthias 8ea6b5f65c * Add ch, ss and uk devices.
* Make lkms work.
1996-11-07 07:18:21 +00:00
matthias eead8b9100 * bcopy is part of libkern now. 1996-11-07 07:18:19 +00:00
jtc 2051c0369d If _REENTRANT is defined, define errno as a macro that calls the
__errno() function.
1996-11-07 06:04:05 +00:00
mikel af29f79ed4 Fix WDDEBUG code; PR kern/1480. 1996-11-07 05:23:07 +00:00
cgd 89e06b9449 build manual page and install it in the right place. 1996-11-06 23:09:13 +00:00
cgd 050d4ebd12 NetBSD/alpha installboot manual page. Copied from the sparc and lightly
tweaked by Curt Sampson <cjs@portal.ca>, then largely redone by me.
1996-11-06 23:07:55 +00:00
cgd 8a3333b2a9 Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
cgd ee08818e7a Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().  Also, move remrunqueue() prototype from vm/vm_extern.h
to sys/proc.h, so that it's in the same place as the setrunqueue() prototype
and other related prototypes.
1996-11-06 19:33:39 +00:00
mark 092bb4bd47 Fixed type its NPPP not PPP. 1996-11-06 18:18:41 +00:00
cgd 1413ef1d07 Add an APM_NO_STANDBY option, which can be enabled by people whose BIOSes do
the wrong thing with standby mode (as some older ThinkPAD 701c BIOSes do, for
example.)  Rename APM_NOIDLE to APM_NO_IDLE for consistency and "niceness,"
and error out (with a useful error message) if APM_NOIDLE is defined.
1996-11-06 18:09:43 +00:00
leo dce3bea50b Add msconfig to SUBDIRS. 1996-11-06 15:35:47 +00:00
leo 8d079317a6 pmap_changebit() no longer static. 1996-11-06 15:33:56 +00:00
leo f2501673f5 Prototytpe bus_mem_map/bus_mem_unmap functions. 1996-11-06 15:33:05 +00:00
leo 44263b4564 Add the external drive to the standard setup. 1996-11-06 14:05:31 +00:00
leo 5f28db13df - Make it's behaviour on minor numbers identical to that of the Hades
floppy driver.
- Fixup format types in the debug-printf's
- Don't print empty lines on unconfigured drives.
- When a drive is detected, show it's default format.

 ---- Warning: minor numbers are shifted! ---
1996-11-06 14:03:15 +00:00
leo 8bad301566 Re-arrange the order in which devices are scanned for a root filesystem.
It's really bogus to try a floppy before a harddisk.
1996-11-06 13:57:12 +00:00
leo 37ae30708a pmap_changebit() can no longer be static since the bus_mem* functions use
it.
1996-11-06 13:55:38 +00:00
leo bc03497d55 Add bus_mem_(un)map functions. 1996-11-06 13:53:35 +00:00
leo 11a4058f20 Remove fdopen->Fdopen cruft. This is no longer necessary. 1996-11-06 13:51:49 +00:00
leo 291d9eabda These shouldn't have been imported... 1996-11-06 13:46:10 +00:00
leo e285606c68 mouse configuration, by Thomas Gerner. 1996-11-06 13:38:12 +00:00
mikel 19bb57bc5a Add another broken CDROM. Fixes PR kern/2913.
Some misc. cleanup.
1996-11-06 05:50:31 +00:00
mikel 2241acdd09 vga_move_charset() shouldn't need XSERVER. Fixes port-i386/2904. 1996-11-06 05:28:49 +00:00
chuck 5c91907fb4 add options: EXEC_AOUT and EXEC_SCRIPT 1996-11-06 03:35:03 +00:00
thorpej 34e2fb3bb6 Performance enhancement from Kirk McKusick <mckusick@McKusick.COM>:
When freeing an indirect block, there is no need to write it (synchronously,
no less!) before tossing it.
1996-11-06 03:02:59 +00:00
mikel 53945ccb19 Eliminate unsolicited spewage; PR #2108. 1996-11-05 07:20:32 +00:00
scottr 047ae9a04d LC III+/Performa 460 series use same vectors as the LC III.
Verified by Bob Nestor and Pete Nush.
1996-11-05 07:20:09 +00:00
mikel 697941357c Eliminate unsolicited spewage; PR #2108. 1996-11-05 07:17:23 +00:00
mikel acaccdd747 make X support code dependent on XSERVER; PR port-i386/2528. 1996-11-05 06:21:25 +00:00
jonathan 79b026a8f3 * Add command struct and modifier definitions for controlling the
ISA-compatible port space of PCI buslogic cards.

* Add call to bha_pci.c to disable the ISA-compatible ports of a PCI
  device.  The ISA-compatible ports are enabled by default, which
  causes the card to be autoconfigured a second time as an ISA device,
  which appears to deadlock the card.

* Change bha_cmd() to return the number of bytes it actually received
  in response to a command, or -1 on error.

*  Use heuristics (checking for bha-only registers, and checking the size
   of the response to BHA_INQURE_EXTENDED) to bha_find, to make sure the
   bha driver never matches an aha (Adaptec    1542 or compatible) device.

A single kernel should now boot on either Adaptec or BusLogic controllers,
provided we always probe for BusLogic devices before Adaptec devices,
but this has not yet been verified.
1996-11-05 03:04:28 +00:00
thorpej dd7ad6d7b8 Trim the name of the clock interrupt event counters. They were one byte
too long, causing a panic in DIAGNOSTIC kernels.

From Steve Woodford <steve@mctavish.demon.co.uk>, on the port-mvme68k
mailing list.
1996-11-05 02:51:03 +00:00
explorer 22523c6ffd Update TODO list for lkm stuff 1996-11-05 02:34:24 +00:00
explorer 4f2a5a3b7d remove deadfs and fifofs 1996-11-05 02:30:16 +00:00
explorer 0c69983b3e remove the deadfs 'filesystem' from the lkm tree. This wasn't supposed to make
it in there anyway.
1996-11-05 02:29:29 +00:00
explorer 5b1de90fba remove the fifo 'filesystem' from the lkm tree. This wasn't supposed to make
it in there anyway.
1996-11-05 02:27:19 +00:00
jtc 4620e80691 The copyright for this file has been assigned to the NetBSD Foundation 1996-11-04 23:04:43 +00:00
briggs bbd25d0c38 - Move offset for 2nd scsi controller (Q900/Q950/WGS95) to 0x402
instead of 0x400.
- Restructure interrupt handling for more performance--continue to
  read/write data as long as the device keeps us in a data xfer phase.
  There is still a lot of room for speed improvement here.  Perhaps it
  lies is speeding up the interrupt path in general?
1996-11-04 21:20:01 +00:00
gwr ffe8c5a2ab Clean out some hacks left over from the old zs driver. 1996-11-04 16:16:09 +00:00
mycroft 24620e1cd0 Rearrange wds_attach() to initialize DMA channel before setting to cascade
mode.
Fix silly error in -ASC case, pointed out by Niklas Hallqvist.
1996-11-03 16:20:31 +00:00
pk aa965ce3bf Declare device `audio' at sbus. 1996-11-03 11:18:15 +00:00
scottr 9da963b048 Remove include of ncr96scsi.h, since it's now an artifact, and the
unused include of ncrscsi.h while we're here.
1996-11-02 07:18:53 +00:00
briggs 7685e9d70b Improve reliability on my Q700, at least. Was getting the occasional
glitch--an extra byte on occasion.
1996-11-02 06:52:24 +00:00
pk 92d21510ef Drop in a sun4m version of AUDIO_SET_SWINTR; thanks to Nick Sayer for
the reminder.
1996-11-01 23:32:15 +00:00
pk 33558b9e5f Take care of the sun4m way of raising soft interrupts. 1996-11-01 23:30:09 +00:00
pk 19b8bfdf3d Declare device `audio' at sbus where it resides on Microsparc machines,
from Nick Sayer's PR#2908.
1996-11-01 23:15:51 +00:00
pk 39379f9a46 Reset `sc_async' on device close. 1996-11-01 23:05:45 +00:00
explorer 236a28d49e Make this compile without COMPAT_10 or _11 1996-10-31 01:16:57 +00:00
is e4d7a09a2a Bug fix for FSINCOS: wouldn't handle FPc == FP1 earlier. 1996-10-30 14:44:47 +00:00
is a747e15eed Add the 68060 bus control register to the list of known cpu superisor mode
registers.
1996-10-30 08:22:39 +00:00
is be08e182af In my earlier patch to the m68k fmovem disassembler, I repaired the register
naming for fmovem, while breaking it for fmove. We probably never will
see normal fmove in the kernel, nevertheless it should be corrected while
somebody remembers.
Besides, the correct patch is smaller and thus easier to verify than the
origininal one.
1996-10-30 08:11:21 +00:00
briggs 20c7b48d76 macs with scsibase offset 0x10000 from iobase use a SCSI CLK of 16.5MHz
(off PrimeTime)--all others appear to use 25MHz.
1996-10-30 05:39:21 +00:00
briggs d5e58a6b20 Fix spelling error in panic. Double since of ResHndls[]. Use I/O kludge on
all systems, not just CLASSII--A bunch of Quadras apparently have hardcoded
I/O addresses in the ROMs, too.
1996-10-30 05:30:57 +00:00
mark de6db9f206 Added fix from Jasper Wallace th=at solves the bus hang ups caused when
DMA to the card going wrong.
1996-10-30 01:50:01 +00:00
gwr f9d54194d5 Allow the config line "flags" to set bits in si_options.
Thanks to Jason Thorpe for the fix! (PR#1929)
1996-10-30 00:31:39 +00:00
gwr 769fe0dfca Get rid of some cruft in the match function. 1996-10-30 00:24:32 +00:00
gwr aac9e275ac Add a "submatch" function to the obio bus driver so the children
of this driver can get rid of the cruft in their match functions.
1996-10-30 00:20:01 +00:00
gwr 2fcc0a64d2 Use explicit addresses for obio devices. 1996-10-30 00:17:10 +00:00
mark 84d36b5c2f Brought right up to date and cleaned up. 1996-10-30 00:12:40 +00:00
mark 0bec347c79 Allocate a DMA channel number when setting up the podule descriptors.
The DMA channel is determined by the IOMD present in the machine and the
podule slot number.
1996-10-30 00:07:42 +00:00
gwr 2f8b021957 cosmetic... 1996-10-30 00:04:31 +00:00
mark c11a34daff Added a dma_channel field to the podulebus structure so that the
podulebus driver can allocate the DMA channels for the podules located.
1996-10-30 00:01:05 +00:00
mark 29465fe28a Updated the acknowledgement comments. 1996-10-29 23:52:59 +00:00
mark f5a1f76622 Remove the bufferable bit from the pte for the DMA buffer. 1996-10-29 23:37:39 +00:00
mark 68ecde0706 Added support for switch mouse reports between absolute and relative
positions.
1996-10-29 23:28:12 +00:00
mark 8666e8f843 Treat MOUSEMODE_REL as an absolute value rather than as a bit flag.
Use sc_mode rather than mode.
1996-10-29 23:25:29 +00:00