Commit Graph

20783 Commits

Author SHA1 Message Date
msaitoh 8cf5a56c3f add some bit definitions 2000-01-17 21:41:13 +00:00
augustss f7145f672e Add USB-Ethernet adapters. 2000-01-17 17:47:03 +00:00
pk 725c6438c1 Use bus_space(9) functions to access the controller registers.
Add probes to the attach routines before poking the chip to see
where the registers are located.
2000-01-17 16:57:15 +00:00
pk 2d7f7ef7a6 Use bus handle to in `struct fdio' to read the chip registers. 2000-01-17 16:53:18 +00:00
pk 611f7a9938 Add offset to bus handle in `struct fdio'. 2000-01-17 16:52:04 +00:00
kleink 6910891781 Add NAN constant glue for sh3. 2000-01-17 16:27:53 +00:00
minoura 9a0577db94 Wrong () balance in dumpsize calculation. 2000-01-17 16:17:32 +00:00
shin af0112be28 move keymap initialization into vrkiu_init(). 2000-01-17 12:22:37 +00:00
matt 9546ee5f87 defopt VAX750 side effect. 2000-01-17 04:57:31 +00:00
matt 2665d4b7c6 defopt VAXnnn so the make depend does the right thing. 2000-01-17 04:55:25 +00:00
sato 114d690d03 delete unused codes. 2000-01-17 04:06:06 +00:00
sato f3689bd429 - no need
-- rtc inherit offset from WinCE.
 -- keymap set by plat id.
2000-01-17 03:11:12 +00:00
augustss 6db0de5efb Enable kue driver. 2000-01-17 02:04:01 +00:00
nisimura fc387549e3 Remove extra debugging/sanity checking code from GENERIC. 2000-01-17 00:58:01 +00:00
nisimura d063175e87 Add a place holder. 2000-01-17 00:55:37 +00:00
uch 0a5ac26680 enable TX3922 write-back cache.
flip Telios fg/bg color.
2000-01-16 23:30:13 +00:00
uch f96d767523 add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
2000-01-16 21:47:00 +00:00
uch e8460d1fcb disable noisy boot message. 2000-01-16 21:39:36 +00:00
is e80be24250 Yet another cpu.h. 2000-01-16 21:19:44 +00:00
uch dac63389a8 call config_hook_init before autoconfiguration.
initalize hr_mode.
2000-01-16 20:01:41 +00:00
minoura 2a71e2c15e Minor cleanups & corrections. 2000-01-16 14:20:54 +00:00
augustss 1ef32571c0 Add some USB Ethernet adapters. 2000-01-16 13:59:38 +00:00
ragge fa560ec3ee Bogus context pointer sent to sigreturn() may crash the machine.
Bug found by der Mouse.
2000-01-16 12:43:52 +00:00
uch 1e74db1306 RCS Id. 2000-01-16 11:14:49 +00:00
cgd 9a222ad604 remove .cvsignore files; if the tree doesn't clean completely, that's a bug 2000-01-16 08:27:40 +00:00
drochner 062970567f catch zeroed ID string (happens for disabled devices) 2000-01-16 03:30:23 +00:00
eeh e73d544dec Interrupt handlers return zero if they didn't handle the interrupt. 2000-01-16 03:13:24 +00:00
eeh 0e1153bb9f The bootpath element must point to the appropriate bus node to work correctly. 2000-01-16 03:10:58 +00:00
takemura 45dec0d12e Convert CR/LF -> LF. 2000-01-16 03:07:22 +00:00
assar 1f511ff199 (kdb_trap): do not enter DDB on traps when db_onpanic == 0 2000-01-16 01:42:03 +00:00
aymeric 626fbe9b6d make this work again (include machine/cpu.h) 2000-01-15 17:09:47 +00:00
aymeric 20a96dc688 make DCIAS work for 020-only / 030-only kernels 2000-01-15 17:08:03 +00:00
aymeric 921c6acc0e defined IPL_BIO, IPL_NET and IPL_TTY for soon to be integrated PCMCIA code 2000-01-15 15:04:21 +00:00
minoura 49f79ab628 Change physseg allocation strategy to VM_PSTRAT_BIGFIRST.
Required when big (>64MB) high memory is installed.
2000-01-15 14:47:25 +00:00
aymeric b4406c3d63 make this compile again 2000-01-15 13:50:13 +00:00
nisimura 410a23c0a3 Revert to old ROM console I/O code. 2000-01-15 10:06:21 +00:00
msaitoh 150090f9b8 inittodr() and resettodr() supports SH4 2000-01-15 02:46:30 +00:00
nisimura 94c89f6863 Kludge to detect booted_device detection. Needs helpful 2nd stage boot
loaders for finer controls.
2000-01-15 02:06:31 +00:00
christos 1b02e0a7db Build biosboot_com0 too. 2000-01-15 01:17:12 +00:00
msaitoh 5cb845afcd remove SH3_PHYS_TO_P1SEG macro 2000-01-14 21:02:40 +00:00
msaitoh 1e15a3117c use clock_subr.c 2000-01-14 19:41:36 +00:00
msaitoh 06c297195a in_cksum.c ->in_cksum.S 2000-01-14 19:20:32 +00:00
msaitoh f485f2635c add SH3_{PHYS,P1SEG,P2SEG}_TO_{PHYS,P1SEG,P2SEG} macros 2000-01-14 19:09:35 +00:00
uch 0a98216e35 fix mobilon hc-4100 keymap. 2000-01-14 18:37:58 +00:00
msaitoh 69fcc26071 write through bit (SH4) 2000-01-14 16:06:11 +00:00
ad ec54843fa3 - Make consistant with the new order.
- Ammend comment about PrestoServe.
2000-01-14 15:52:33 +00:00
ad ba79e0aab8 Make consistant with the new order. 2000-01-14 15:52:00 +00:00
msaitoh 2d4348b99d in_cksum.S (bi-endian) 2000-01-14 15:47:42 +00:00
msaitoh 80d920c3d0 block prototype definitions with _LOCORE (for .S) 2000-01-14 15:46:02 +00:00
pk c31e760978 Add missing `break'. 2000-01-14 15:25:28 +00:00
pk 757264e2b1 Remove old-style boot device recognition.
Sync device_register() et. al. with sparc/sparc/autoconf.c
2000-01-14 14:57:27 +00:00
pk 77bd08a06b Remove old-style boot device recognition. 2000-01-14 14:38:37 +00:00
pk cd1f76b21b Remove old-style boot device recognition. 2000-01-14 14:27:14 +00:00
msaitoh ac8d6acaa7 add cpgreg.h and pfcreg.h for "make includes" 2000-01-14 13:58:06 +00:00
simonb bdf420bdbf Redo interrupt establishment, based in part on work on the
[nisimura-pmax-wscons] branch and suggestions from Toru Nisimura:
 - Remove bogus tc_slot_info[] name for interrupt handling array
   and replace with simplified struct intrhand  intrtab[] array.
 - Add intr_establish() and intr_disestablish() function pointers
   to struct platform and initialise this in each model-specific
   initialisation, and remove global tc_enable_interrupt function
   pointer.
 - Remove model-specific function declarations from ibus/ibusvar.h.
This is functionally identical to the current scheme, and doesn't
yet try to commonise interrupt establishment by bus type as the
[nisimura-pmax-wscons] branch does.

Also, move cpuspeed variable from autoconf.c to machdep.c
2000-01-14 13:45:21 +00:00
pk 3cb5a866dd Expand md filesystem to 3.6MB. 2000-01-14 13:41:45 +00:00
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