Commit Graph

20677 Commits

Author SHA1 Message Date
itohy cf055ef630 Change the implementation of ms(4) polling to use timeout(9) software
interrupt in order to eliminate glitches on MPU interrupt levels.
I don't know whether this is a good solution, but it does work.
2000-01-14 08:22:42 +00:00
itohy dbb0c078a5 - Do not lower interrupt level at clock interrupt.
The original code lowers level 6 to 4, and if a
  clock interrupt occurs in splzs (or similar) the
  system may be in unpredictable state.
  To do such a hack correctly, checking the original priority
  and duplicated clock interrupts would be required.
  For now, just disable the hack.

- Do not use clock interrupt for ms polling.
2000-01-14 08:21:22 +00:00
nisimura 034d6278cf Fix an argument error of wsmouse_input() call. 2000-01-14 03:28:13 +00:00
nisimura a6b81f14b1 Make suline() compilable for 68040. 2000-01-14 02:39:22 +00:00
ad 2db85d5948 - Add some extra TC ID strings that we should recognise. From simonb.
- Function definition and RCS ID spacing.
- Fix multiple inclusion goo to be like the new order of things.
2000-01-14 02:00:46 +00:00
ad 660d78e477 [#[@ ]]dpt* at eisa? slot ? 2000-01-13 19:10:22 +00:00
uch ee917c935b TX39 IR module (connected to TX39 UARTB module) 2000-01-13 17:53:35 +00:00
matt 32bb54d2ff Enable IBCS2 (DEC SVR3) compatibility. 2000-01-13 15:09:52 +00:00
shin d4cd1dcd2f change '-G 32' to '-G 30' to avoid overflow(TX3912). 2000-01-13 05:32:41 +00:00
nisimura 765a46262c - Add raidframe and wsmux.
- Fix off-by-one error of scsibus.
2000-01-13 01:04:33 +00:00
cgd e838d6a869 these are needed due to the change in rev 1.16 of mips/include/mips_param.h 2000-01-12 19:33:18 +00:00
drochner 56b8bc14b4 -catch zeroed descriptors and skip nodes with no valid ressources,
needed to deal with disabled nodes
-Parse "fixed io descriptors". Their use in nonsense in principle
 because 10-bit decoding is implied. Hope this is not real...
-Tolerate mismatches between node size and actually used space
 as long as the used size is smaller than the buffer size. There
 is at least one broken BIOS which reports node sizes larger than
 the used one, and windows obviously doesn't complain...
2000-01-12 19:24:02 +00:00
cgd 67fd1bd089 add clean and distclean targets. Clean cleans out build-generated bits.
Distclean does that, plus removes other files windows is likely to
generate to make things unclean (.opt workspace options files, as well
as automatically updated versions of .dsp/.dsw files).  This means
that if you distclean: your workspace options may be reset to the defaults
(hey, you did tell it to clean everything out!), and any modifications
that you incorrectly made to the .dsp/.dsw files w/o using the templates
and UNIX-based auto-generation will be clobbered.
2000-01-12 19:19:16 +00:00
dbj b2236223c9 applied patch from "Christian Limpach" <chris@Nice.CH>:
I've fixed the problem that's been keeping me from using anything newer than
   1.4.1 now.  I tracked down the problem checkin, it's the big reorg of
   nextdma.c between 1.19 and 1.20.  It didn't introduce a new bug but it
   activated a check which wasn't activated before.  It's the
   is-the-limit-in-the-right-window-check which was ifdeffed before because
   some DMA-regs would sometimes have strange values.  I think I've fixed the
   DMA-reg stuff for now:   at the end of nextdma_intr, when the csr is poked
   to make DMA do something, I think the check for the ENABLE bit introduces a
   race condition.  I fixed this by unconditionally setting DMACSR_SETENABLE,
   this seems to work and also makes the code more readable.  I've also tried
   setting DMACSR_SETSUPDATE unconditionally and this also works well, but I
   don't know what it implies.  Unless you have reasons to not set SUPDATE all
   the time, I'd suggest making this change as well, it makes the code cleaner
   and faster...
I've tested this patch and it does stop the panics, although I don't think setting
SUPDATE all the tima as he suggests is a good idea.  The "SUPDATE" bit implies
a single update (i.e. the end of a dma chain.)
2000-01-12 19:18:00 +00:00
pk e42b2c6cb7 When matching scsi disks, check for the scsibus parent in the previous
entry in the boot path. Noted by Matthew Jacob.
2000-01-12 15:53:29 +00:00
uch a0628e8583 set limit value and local saved configuration. return -1 if calibration failed. 2000-01-12 15:00:47 +00:00
uch dce2bc94e0 add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
2000-01-12 14:56:17 +00:00
mjacob e7f230b6d2 no need to guess about tgt/lun bounds- we know what they are 2000-01-12 14:53:17 +00:00
msaitoh 39caf082ca use _C_LABEL() 2000-01-12 14:41:44 +00:00
msaitoh 908d5761a1 OBJCOPY?=objcopy 2000-01-12 14:40:49 +00:00
msaitoh cf37b6ff3b KNF 2000-01-12 14:40:27 +00:00
leo 2f371152d6 Init the preset_row_scan register. This fixes a sometimes partly scrolled-up
console.
2000-01-12 08:53:01 +00:00
cgd 5078d19283 foist my automatically generated evil upon the world. 2000-01-12 02:46:33 +00:00
cgd ce9a9c483e taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows.  you build by saying 'make winfiles' here in stand,
then check in (on UNIX).  The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
2000-01-12 02:33:54 +00:00
nisimura 237f63f2d2 Put a comment about BREAK detection; DDB fails to resume. Need to clear
the condition before resume?
2000-01-12 01:59:45 +00:00
nisimura acf3c1e59a - Fix an error in clearing entire screen.
- Add 3 byte long mouse event parsing.
- Fix errors in comments.
2000-01-12 01:57:22 +00:00
pk 7935de2d85 Use a table to detect device aliases and add various `isp' and floppy
controllers to it.  Also use a table lookup when matching busses/controllers.
2000-01-11 20:53:24 +00:00
ad a4fe338bf5 Fix thinko in comment. 2000-01-11 20:36:17 +00:00
pk c6b6f3883a Remove old-style boot device recognition. 2000-01-11 12:59:43 +00:00
nisimura 866126dd49 Nuke unnecessary external variable declaration. 2000-01-11 10:29:35 +00:00
nisimura 18cef2d812 Use explicit 68040 calls for cache manipulations. 2000-01-11 08:24:14 +00:00
nisimura a85aebd7fe Allow to mount disk with UniOS (== ISI) disklabel as well as SunOS
label.  Klude to access weird rootfs on 'c' via 'b'.  ISI disklabel
can not be altered.  Use SunOS label.
2000-01-11 08:22:38 +00:00
matt b8701a20ac Add ibcs2 signal tramp code. 2000-01-10 23:54:47 +00:00
pk a744e28304 Cleanup the list of exported headers a bit. 2000-01-10 22:09:34 +00:00
matt 8e5ca16369 Add two missing header files. 2000-01-10 19:28:15 +00:00
takemura 7817a37e38 WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support. 2000-01-10 14:07:58 +00:00
mark e41b004de0 Increase the kernel VM area for both SHARK and Footbridge systems. 2000-01-10 07:44:55 +00:00
mark 8920fc9215 Rework of kernel I/O & memory mappings along with new implementation of
bus_space_map for PCI memory.
The mapping of system devices and I/O space has been shuffled to place them
at the top of memory leaving a larger contiguous chunk between the kernel
itself and the I/O mappings for the kernel VM area. This allows support
for kernel VM areas > 48MB.
The 144MB fixed mapping of early PCI memory space has been removed and a
new version of the bus_space_map() function has been implemented to map
PCI memory into the kernel VM area as required rather than using the fixed
mapping.
A mapping of the first 1MB of PCI memory is maintained for ISA memory
accesses and accesses to the VGA memory.
2000-01-10 07:43:07 +00:00
mark 656c8e63b4 Add description of the pciide & wd flags (from i386 GENERIC config).
Restore the isp driver now that we can down load firmware again.
2000-01-10 07:22:35 +00:00
tsutsui 6c5a73d0ea Add IPv6 stuff. 2000-01-10 06:12:20 +00:00
jonb 3a852a52dc Hmmm... The pc532 will only ever have one ncr device without major
hardware rework, so it doesn't need to be listed as ncr*.  However,
this could also be thought of as covering up a (new?) bug in the
probe/attach code that has recently decided that there are at least
ncr0 and ncr1 with the same interrupt and address mappings.  So
this change is just to let people build kernels that don't panic
at boot time...

There, is that a long winded commit message or what?
2000-01-10 04:47:08 +00:00
mark 996c945e65 Add a several casts (mainly cosmetic). 2000-01-10 04:05:50 +00:00
mark 62645f43ba Add support for a boot argument podule?=mmmmpppp to enable the manufacturer
and product IDs for a podule to be overriden. The IDs are specified in hex.
A value of "ffff" means disable and replaces the podule?.disable option.
This allows podules whose IDs have been changed e.g. by PowerROMs to still
have the correct driver attached.
Based on my original patch but tided up and debugged by Stephen Hobbs.
2000-01-10 04:01:17 +00:00
eeh 082d2d0074 Add debugger single-stepping and fix interrupt dispatch bugs. 2000-01-10 03:53:20 +00:00
simonb ede7778a1c Remove unneeded include files (up to 16 in two files!). 2000-01-10 03:24:31 +00:00
matt cbe54e5057 Add ibcs2 machine dependent file for VAX. 2000-01-10 03:06:44 +00:00
matt 1a241d6403 Move the ibcs2 setmachine function here (from compat/ibcs2) since it is
i386 specific.
2000-01-10 03:05:35 +00:00
matt 100b64e3c6 Add some i386 defines. 2000-01-10 03:03:54 +00:00
matt a57402e015 Add VS4000 scsi attachment (does not yet work).
Add COMPAT_IBCS2 hook (for running DEC VAX SVR3 images).
2000-01-10 02:35:35 +00:00
matt 362ae13bea Add some machine dependent stuff for vax. 2000-01-10 02:33:13 +00:00