Commit Graph

26584 Commits

Author SHA1 Message Date
leo
6b22a0776c Forgot this in previous commit. 2001-04-05 12:22:10 +00:00
leo
fb0acfc293 Major overhaul in the config files. The idea is to have the major part of
the generic options in GENERIC instead of duplicated all over the place.
To generate a config file, run 'makeconf'. This script uses cpp to combine
a '.in' file and GENERIC to a real config file.
2001-04-05 12:21:30 +00:00
tsubai
b01df63489 Assume USB keyboard when `usb-kbd-ihandles is not found. 2001-04-05 10:10:26 +00:00
tsubai
eb4f61df19 Regenerate this file from cvs repository in order to get back original
copyright.
2001-04-05 09:58:05 +00:00
dbj
4db02d75fa initialize zsaddr to intio address space in zs_attach
addresses pr 6770
in the future, zs should be upgraded to use NEXT68k_INTIO_BUS_SPACE
instead of using IIOV directly.
2001-04-05 05:35:12 +00:00
dbj
0c6af3e769 comment out M68030, since we do not yet support NeXT 68030 computers 2001-04-05 04:42:42 +00:00
dbj
14688b4513 check for a 68040 MMU before using the TBIA instruction
addresses PR 10409
code grabbed from mvme68k locore.s
2001-04-05 04:37:43 +00:00
dbj
1e812ee6cf remove unused cache operations, we now use shared m68k/cacheops.c 2001-04-05 04:23:56 +00:00
reinoud
d2b84b36d2 Removing an old unused include 2001-04-04 21:40:20 +00:00
reinoud
8008708109 Hmm... these were just plain wrong ... it should be more sane now 2001-04-04 21:11:07 +00:00
is
3a27b85296 This only works with data registers. 2001-04-04 19:53:05 +00:00
reinoud
9d0e339af2 Fix a big memory allocation bug in the bootloader; i underdementioned
a piece
2001-04-04 17:13:28 +00:00
manu
4678df7c23 Cosmetic change 2001-04-04 17:08:07 +00:00
tsutsui
41e535a424 Remove an unused variable which was caused on KERN_* error code removal. 2001-04-04 16:43:04 +00:00
pk
0929f3662e * Missing PROM_OPENFIRM: case in getdevtype() and prom_getether().
* In getdevtype(), use prom_instance_to_package() to get to the device node.

From Valeriy E. Ushakov on port-sparc@netbsd.org.
2001-04-04 15:41:46 +00:00
tsubai
570716506c Add rnd. 2001-04-04 10:18:28 +00:00
tsutsui
c8ff6232b7 Restore #endif which was mistakenly removed in previous. 2001-04-03 22:46:03 +00:00
manu
15fbc5943f Added a comented out COMPAT_LINUX option in GENERIC kernels of PowerPC ports 2001-04-03 19:50:43 +00:00
jhawk
d95ba2eb80 Remove gratuitous setting of SYSDIR;
it is set in sys/kern/Make.tags.inc
2001-04-03 17:12:23 +00:00
jdolecek
c84d3343d1 add standard NetBSD RCS Id on top 2001-04-03 13:10:26 +00:00
sato
6601895830 add vrc4172pwm for MC-R510, MC-R520. 2001-04-03 09:02:24 +00:00
hpeyerl
bda486229f This machine hasn't existed for some time. 2001-04-02 14:46:48 +00:00
reinoud
4b9911dfd2 Finally implement the BREAK key in the wskbd ! :)
The BREAK key is a wierd one that gives an extra prelude.
2001-04-02 12:34:34 +00:00
fvdl
ecca88089a Override NFS read and write size to default to 32k for the i386 here
(can be overridden from a config file).
2001-04-02 11:48:18 +00:00
wdk
dacfad3be3 Clear interrupt latch after interrupts are processed, not before. 2001-04-02 09:54:16 +00:00
dbj
6c04c75c6c No longer clobber the DMACSR_SETENABLE bit in the dma interrupt
Add the ability to handle unexpected dma shutdowns
2001-04-02 05:29:43 +00:00
dbj
a5523b0bfd remove unused ifmedia fields 2001-04-02 05:29:42 +00:00
dbj
dff3edd66d removed unused mediachange routines
changed ethernet receive to handle unexpected dma shutdowns
2001-04-02 05:29:42 +00:00
dbj
235c2b2545 reenabled flushcount diagnostic check.
tweaked formatting on hex dump debugging routine
2001-04-02 05:29:42 +00:00
dbj
403a09df61 resync with mvme68k 2001-04-02 05:28:38 +00:00
chs
10e361a3bf in the 386 case of copyout(), reload "len" from the stack after verifying
write permission since pcb_onfault will clobber %eax if we fault.
2001-04-01 23:54:14 +00:00
jdolecek
8a08e12c86 slighly adjust comment 2001-04-01 23:14:02 +00:00
reinoud
12f7f9e0de Make it compile again ... removed an unused variable 2001-04-01 20:16:25 +00:00
reinoud
321ff3e0db Remove the VIDC start video programming from the Vsync to when its moved; this
also solves problems with the interrupts being disabled in ddb resulting in no
scrolling :(
2001-04-01 20:08:18 +00:00
ragge
b98dc685a3 Be sure that all kernel stack pages are valid after swapin. Fixes PR#12520. 2001-04-01 19:18:42 +00:00
reinoud
4b7f5e2feb Add hardware scrolling to the RiscPC wscons implementation.
There are still some minor oddities esp. at startup but after that it
functions OK.

The scrolling speed is increased *dramatically* and allmost even faster
compared to the old vidcconsole code; *NOT* tested yet on non-VRAM machines.
2001-04-01 16:58:05 +00:00
reinoud
29cf89ce1a Bump BtNetBSD version number to 0.95 ... forgot that 2001-04-01 16:50:24 +00:00
tsubai
85dc2162fb Correct vBufA offset. (currenly not used) 2001-04-01 15:14:36 +00:00
tsubai
42fc57ff46 Remove gpio. It's not a time to use separate gpio node yet. 2001-04-01 10:42:34 +00:00
tsubai
158796407f Adjust timing for pmu99. Internal keyboard of recent PowerBooks
should work now.
2001-04-01 10:40:45 +00:00
dbj
36f2be46e8 purge the cache on BUS_DMASYNC_PREREAD instead of BUS_DMASYNC_POSTREAD 2001-04-01 01:42:51 +00:00
leo
ad8c9f3a7e Wcd attacment code for the Milan. The Milan has the standard dual IDE port
hardware. A Milan specific attachment is needed to modify the iot so that
the streaming methods do a byteswap.
Configure like:
  wdcisa0 at isa? port 0x1f0 irq 14
  wdcisa1 at isa? port 0x170 irq 15
2001-03-31 20:24:10 +00:00
leo
a054ccd1d4 Add a tag to the fdcisa.c and isa/fd.c files. So they won't be used
unnecessary (and cause trouble).
2001-03-31 20:13:19 +00:00
chris
101035dac6 Add EtherN/EtherI card support + EtherH media auto detection support.
Based on updated patch from Mike Pumford, originally submitted in
port-arm32/8765.
2001-03-31 15:32:46 +00:00
toshii
fe9328ad71 Reorder so that basic devices attach first. 2001-03-31 13:49:44 +00:00
toshii
2303009aeb Add SA11[01]0 DMA controller register definitions.
(I forgot to commit this a week ago.)
2001-03-31 13:13:22 +00:00
toshii
4f12f94c95 Protect spl changing functions from interrupts. 2001-03-31 12:53:59 +00:00
toshii
c1244a5828 Remove cons_init(com), which prevents compiling in com_pcmcia.c. 2001-03-31 12:52:31 +00:00
toshii
02811d05f2 Fix a bug which caused interrupt loss. 2001-03-31 12:49:21 +00:00
toshii
2efdaff40e Set hardware interrupt masks in sa11x0_intr_{establish,disestablish}. 2001-03-31 12:48:10 +00:00
toshii
129f529148 Back out most of rev 1.4 so that it compiles again. 2001-03-31 12:36:53 +00:00
toshii
dfddb1e107 Increase spl_masks[] size by one and set the extra element to 0.
irq_entry accesses here.
2001-03-31 12:22:37 +00:00
ragge
fab65b55e4 (Untested) recognition of KA55. 2001-03-31 11:50:45 +00:00
ragge
9a6b7bcffa Support for the 4000/600 cache, from Lord Isildur. (mrfusion@vaxpower.org) 2001-03-31 11:50:12 +00:00
hubertf
267271c1b2 Explain some SA_* options - reading compressed kernels, netboot
Useful for stripping down bootcode.
2001-03-31 09:45:11 +00:00
minoura
1a1b6fb6d2 Match XpressAudio. 2001-03-31 09:24:37 +00:00
minoura
92e327c226 Match PNP0320 (Japanese 106-key keyboard A01).
- We could use this information to determine the default keymap (?)
 - Match more keyboards? (e.g.strncmp(idstr, "PNP03", 5))
2001-03-31 09:20:40 +00:00
dbj
5f670bebfc Initialize the entire pmap table before populating it.
This addresses pr 7174
Thanks to Christian Limapch for diagnosing the problem.
2001-03-31 09:05:21 +00:00
tsubai
c13ba16f2b Fix an uninitialized variable reference in cpu_fork().
Reported by Tad Hunt <tad@entrisphere.com>.
2001-03-31 07:50:59 +00:00
dbj
41833a3286 comment out device register structure definitions, used for reference only.
remove unnecessary BUS_SPACE_MAP_LINEAR when mapping ethernet dma registers.
2001-03-31 06:56:54 +00:00
jdolecek
803c0c7eda Add driver for AT1720 MCA cards. This uses generic MB86960 support code,
and shares some bits with ISA AT1700 driver. Gee, this one was really
easy :)

This card turned out to be quite good performer - I get about 360KB/s
on 386DX PS/2 machine, which is best of all supported cards so far.
2001-03-31 00:43:04 +00:00
enami
2ceebb6c0e Remove unnecessary test of tp->t_linesw against NULL; they are results
of confusion while correcting compilation error after t_line is
replaced with t_linesw.
2001-03-31 00:35:21 +00:00
wdk
6b982beac1 Call softintr_init() 2001-03-31 00:10:03 +00:00
wdk
3e4cc841a7 Add softintr and ISA bus support 2001-03-31 00:08:34 +00:00
wdk
a03b2aaaf0 Reverse previous commit - isa headers don't belong in /usr/include 2001-03-31 00:05:57 +00:00
wdk
d3a8b4016e Add isa_machdep.h and isapnp_machdep.h 2001-03-30 23:59:19 +00:00
wdk
0ca4ab64ac Add ISA serial port device 2001-03-30 23:54:45 +00:00
wdk
9641e5d860 Probe ISA bus devices 2001-03-30 23:52:05 +00:00
wdk
dd068f675e Changes to interrupt architecture for softintr support 2001-03-30 23:51:14 +00:00
wdk
cdba0ef41c Add some ISA bus cards 2001-03-30 23:49:37 +00:00
reinoud
7cf783665e Please preserve copyright notices modified by Ben Harris since the a.out and
ELF structure loadings are of his design from BBBB
2001-03-30 23:49:06 +00:00
wdk
1b6e2e02dd Add files for ISA bus and softintr support 2001-03-30 23:47:58 +00:00
wdk
8cd59636b4 Support for ISA expansion slot in Mips 3230
The ISA Bus on this machine doesn't support DMA, and all interrupt lines
are wire-OR'ed together.   Mileage may vary if sharing interrupts.

Tested cards:
     com:  8250 and 16550 UART's (8 bit)
     ec:   3com Etherlink II (8 bit)
     we:   SMC 8013 Ethernet (16 bit) [work in progress]
             Probes, ARP in both directions works, sends clean packets,
             tcpdump show correct packets on receive, NDP for IPv6 works,
	     netstat -s shows nothing strange.. but doesn't talk TCP/IP!
2001-03-30 23:45:18 +00:00
reinoud
7d798b3ef7 Initial ELF kernel loading for RiscPC/A7000/NC based on Ben Harris's work
Since arm32 isnt switched to ELF yet its not completely tested; It loads
a kernel but then hangs on symbol table loading; propably a ELF/a.out
symbol table conflict.

Also cleaned up the code a bit
2001-03-30 23:44:58 +00:00
wdk
154a3bba69 use MI softintr 2001-03-30 23:28:00 +00:00
wdk
5d03735614 Move most interrupt functionality to arch/mipsco/mipsco/interrupt.c
Remove old style soft interrupts to favor MI softintr support
2001-03-30 23:26:29 +00:00
wdk
09d79c4b1f New data structures and prototypes for MI softintr support 2001-03-30 23:23:37 +00:00
wdk
273d283d25 Implement MI softintr functions (softintr_establish, softintr_schedule etc) 2001-03-30 23:21:30 +00:00
wdk
9477a9256c Re-implement bus_space(9) functions:
- Correctly handle striding of data
 - Better support for endian neutral access
 - Correctly implement _stream variants of bus_space functions that can
   byte swap.  This reverses the automatic byte swapping done in hardware
   for 16 bit ISA bus cards
2001-03-30 23:17:03 +00:00
leo
a22b0cbf4d Optimize bswap16() and bswap32() functions to inline assembly. 2001-03-30 20:00:05 +00:00
tsutsui
7cd0069dfc Make this compile without com. 2001-03-30 16:32:02 +00:00
uch
c5496871db fix comment. 2001-03-30 15:59:17 +00:00
minoura
a9a5dcd043 Add yds at pci and children.
Alpha and i386 are the only tested ports.
2001-03-30 14:47:48 +00:00
mycroft
355086c412 The speed' statistic from the RNG was brought to you by the letter B' and
the letter `S'.  I don't think anyone will miss it.
2001-03-30 12:05:02 +00:00
toddpw
a6a587a71e Track prototype change to isa_fillw() that avoids passing u_short as an arg. 2001-03-30 11:21:33 +00:00
ur
5ba1d71d33 Don't reference nonexistent register on R96. (and maybe R94 too) 2001-03-30 09:10:48 +00:00
wdk
70a7bcb64b Remove ncr53c9x_dmaselect 2001-03-30 07:49:07 +00:00
fredette
cce60f68dc Added. 2001-03-29 21:07:56 +00:00
petrov
d6b50e1598 add fas configuration 2001-03-29 18:54:58 +00:00
tsubai
6386dedebe When attached, do not change brightness if the value is zero. 2001-03-29 17:44:50 +00:00
eeh
cc5ddb2b20 Make `trace' useful even w/o symbols and add /f option to dump parameters. 2001-03-29 14:58:08 +00:00
fredette
fb96b4d88c Added. 2001-03-29 04:58:52 +00:00
fredette
22a64b5a3e Added. 2001-03-29 04:35:09 +00:00
fredette
fbd8636feb Added. 2001-03-29 04:16:21 +00:00
fredette
da500dc6be Removed some sun3 references. 2001-03-29 04:07:54 +00:00
petrov
1c9cc1b092 use NCR_F_DMASELECT instead of ncr53c9x_dmaselect 2001-03-29 03:30:19 +00:00
fredette
6095b6e2ff Added. 2001-03-29 03:24:19 +00:00
marcus
0640ad6ace When the endians are little, they are little. 2001-03-29 03:23:33 +00:00
fredette
3eb7866aaa Added support for the 68010 bus error frame. 2001-03-28 23:08:15 +00:00
ichiro
a8c0b619da support umct USB-serial device 2001-03-28 18:45:07 +00:00
drochner
676bacb4ea include "opt_ddb.h" explicitely 2001-03-28 18:03:49 +00:00
tsutsui
7f28cbe9dc Fix an obvious typo. 2001-03-28 17:33:07 +00:00
tsutsui
fdce371144 objcopy -> ${OBJCOPY} 2001-03-28 17:04:44 +00:00
tsutsui
864a597f2d Define ${OBJCOPY}.
XXX: Should we use ${CROSSDIR} here or not?
2001-03-28 17:03:48 +00:00
fredette
2deceb396c Brought up-to-date with revision 1.124 of the Sun3 pmap. 2001-03-28 14:15:11 +00:00
fredette
a8cd6c5401 Added. 2001-03-28 13:47:58 +00:00
bjh21
5677634e50 Small comment correction. 2001-03-28 13:04:57 +00:00
toshii
221f247a25 Add some missing functionality.
- wait READY signal in enable function
 - use tsleep for large delays
 - implement disable function
2001-03-27 18:06:39 +00:00
ragge
b6aa1dfc2b Compile vsbus_dma.c if vax53, hinted by Michael Kukat. 2001-03-27 18:01:59 +00:00
ross
e84bc939c9 On alternate Tuesdays, SRM uses a different method of identifying
PCI interrupts routed to the ISA ICU.
2001-03-27 01:39:51 +00:00
pk
a97039b0ae pmap_release(), pmap_pinit() and the `pm_regstore' field are obsolete. 2001-03-26 23:18:51 +00:00
pk
4de5b658ad Use a pool cache for pmap allocation. The cached pmap structures include
a ready-to-use level 1 page table (on sun4m) and MMU context.
A simple `fork()' test shows an improvement in spent system time of
around 4 percent (which is just a bit disappointing, IMO, but it's
an improvement nonetheless).
2001-03-26 23:12:03 +00:00
pk
104bada017 Missing KERNEL_PROC_LOCK() in the WIN_OF trap code. 2001-03-26 21:58:34 +00:00
briggs
10e66b85b1 Ensure that my last change compiles with warnings enabled. 2001-03-26 19:56:32 +00:00
briggs
2ff606560c Do not save/restore the kernel SR since we are no longer trying to copy
it in pmap_activate().  Pointed out by ws in a private message.
2001-03-26 18:52:29 +00:00
chs
ded6fe39cd bump version to 1.9: ELF and MI loadfile(). 2001-03-26 15:36:48 +00:00
lukem
20ba07f2fe - add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy",
and use appropriately

- create more helper macros:
   . cdev__xyz_init(c,n), such as cdev__ocri_init() for
     /* open, close, read, ioctl */, etc.
   . cdev__xRy_init(c,n), where nullop is used instead of enodev to dummy out
     method `R' and the comments now read /* xxx (read) yyy */ instead
   . cdev__xyz_t_init(c,n,t) - as per cdev__xyz_init, but sets d_type = t
     as well

- use seltrue instead of dev_noimpl(poll,*), as (IIRC) cdevsw.d_poll should
  always DTRT WRT returning a valid result.  (a few devices previously
  incorrectly returned ENODEV)

- use dev_noimpl(stop,enodev) instead of dev_noimpl(stop,nullop) if tty
  == 0, because it doesn't matter if dev_type_stop isn't implemented in that
  case, and it allows the use of the cdev__xyz_init macros. certain ports
  (sparc,sparc64,x68k) used the nullop method for dev_type_stop in a few
  drivers, whereas everything else uses enodev

- ensure that the comments are accurate WRT the behaviour of a given entry
2001-03-26 12:33:22 +00:00
tsutsui
7e28d29b32 - MI loadfile() returns a file descriptor, not errno.
(error is printed in MI loadfile() anyway)
- Make sure to try to load all default kernel names,
  including netbsd.sun3[x].

Now sun3 ELF based miniroot works properly on my 3/80.
2001-03-26 11:54:50 +00:00
tsutsui
09bedcf84f Add GENERIC_TINY config for low memory (and slow) machines. 2001-03-26 10:25:34 +00:00
sato
6c5da9bd76 o Change initialization for config_hook() base lcd control.
o Fix backlight control in case that light is controlable but not be
  able to get status.
o change some verbose prints.
2001-03-26 09:40:45 +00:00
sato
887d70ab8f CONFIG_HOOK_GET support for get current port status. 2001-03-26 08:57:02 +00:00
reinoud
903b8688da The interface to `setdisplay' was implemented wrong. The utility stated the number
of bits per pixel instead of the log2_bpp as assumed (since the rest uses this).
2001-03-25 21:25:35 +00:00
uch
113c9ed888 recompile. 2001-03-25 17:16:33 +00:00
uch
e78f561e10 speed up physical address detect routine. (MemoryManager_VirtualCopy) 2001-03-25 17:14:53 +00:00
uch
24beb5ffb9 support 'reverse video' option. 2001-03-25 17:14:04 +00:00
uch
c31816f70c selectable serial console speed. 2001-03-25 17:13:15 +00:00
is
0e72b76163 Missing changes to the last update, making this compile (and work) again. 2001-03-25 16:14:00 +00:00
uch
ed26af9e66 recognize hpcboot.exe's ELF symbol table. 2001-03-25 15:15:18 +00:00
takemura
44e4c53338 Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
2001-03-25 13:06:52 +00:00
takemura
bea77d06a2 Add #ifndef _HPC_PLATID_H_. 2001-03-25 12:17:35 +00:00
jdolecek
b53fce84d3 Add an autoconfig node for PCI-MCA bridges. Configures MCA bridges
via callback. This beast is very rare, present only on some IBM PCs.
Code was copied off pceb.
2001-03-25 09:54:10 +00:00
ross
5b36d84a9c Don't panic until DEFCON 1. 2001-03-25 06:38:50 +00:00
nathanw
a45ca84ab5 Verbose display of machine check errors on AS200/400 boxes. 2001-03-25 05:52:38 +00:00
bjh21
8edd158910 MI(ish) EtherB driver using the MI SEEQ 8005 driver. Very lightly tested. 2001-03-25 01:09:36 +00:00
bjh21
cbe4d910da It might be useful if I actually filled in the interrupt handle for
podulebus_irq_establish() to use.
2001-03-25 00:56:58 +00:00
matt
f283c0a504 Use ${THISSH3} instead of ../.. ; not everyone builds in ../compile/FOO 2001-03-24 18:26:11 +00:00
sato
c5956b89f8 change backlihght parameter value type to int8_t. 2001-03-24 16:08:36 +00:00
sato
8c78f7fad3 add vrc4172pwm for MC/R520A(MobilePro770) 2001-03-24 15:56:59 +00:00
sato
1907b28be1 add MobilePro770(MC/R520A) parameters. 2001-03-24 15:53:37 +00:00
martin
478c6ce6b9 Adjust to new hardware driver <-> isdn layer 2 and above sheme. 2001-03-24 12:45:15 +00:00
briggs
132a113507 Do not hardcode the kernel segment register, and do not load the kernel
segment	register in pmap_activate().
2001-03-24 05:30:57 +00:00
christos
728aee3ccb Some bios's when apm is disabled [or even some functions of it are disabled],
they keep giving error 0x30b. Unfortunately this keeps happening every second
making the console unusable. Keep track of the last error that occurred and
if the last 10 times apm was called the same error was returned, give up and
exit the apm thread.
2001-03-24 02:07:54 +00:00
bjh21
8bd452c648 Create an MI Ether3 driver. It's derived from the arm26 driver, which uses
my MI SEEQ 8005 driver, which is based on the arm32 ea driver.
2001-03-24 00:14:52 +00:00
bjh21
2714607c72 Add podulebus_shift_tag, which generates a bus_space_tag_t with a specified
address shift (stride).  This is necessary because many podules have standard
chips with odd address-bus wiring to allow for using LDM for
bus_space_*_multi_*().
2001-03-24 00:10:42 +00:00
jdolecek
75b7bea508 Add MCA we(4) attachment for WD80x3 cards and clones. Tested with
WD8003W/A, card provided by David Brownlee (thanks!). The SMC Elite stuff not
tested since I don't have any; hopefully it's correct, should match
information in ADF files.

The MCA-specific init quirk taken from Linux smc-mca.c driver.
I don't quite grok why it works, but it does *cross fingers*.

The WD8003W/A seems to be quite a good choice. I get like 340KB/s on my
machine, where 3c523 does only like 310KB/s. The numbers would be probably
even better with faster CPU than 386DX :)
2001-03-23 19:25:35 +00:00
toshii
d2f3ad2de2 Support machdep.booted_kernel sysctl. 2001-03-23 11:10:10 +00:00
sato
8f5f11180a o add sysctl machdep.booted_kernel support.
o add sysctl machdep.root_devoce support.
2001-03-23 11:09:49 +00:00
tsubai
95a27e3b60 Remove devices which don't exist on floppy based models.
Now boot floppy fits 1.4MB again.
2001-03-23 09:30:49 +00:00
toshii
7ed6dadd10 Handle bootargs passed by hpcboot.
Change stack pointer initialization.
2001-03-23 08:58:14 +00:00
toshii
3bf1867147 Rebuild after the bootarg change. 2001-03-23 08:51:23 +00:00
toshii
59b3c088fe Pass bootargs like usual function calls.
Initialize sp register to more useful value.
2001-03-23 08:48:12 +00:00
toshii
07b77f05ce Have LINEBYTES for jornada720. 2001-03-23 08:46:56 +00:00
simonb
5aa49b6404 Delete unused uvtopte() macro. 2001-03-23 01:27:59 +00:00
petrov
b47f68b66c fix 'show registers' mis-aligned access, PR11580 2001-03-22 22:20:28 +00:00
uch
40de0e48b0 add ELF kernel linker script. 2001-03-22 18:35:33 +00:00
uch
5a79dd1121 load symbol table to DDB if ELF kernel. 2001-03-22 18:34:08 +00:00
uch
7060cad775 recompile. 2001-03-22 18:30:49 +00:00
uch
4e6c980fa0 add HD64461 UART serial console.
add SH3 SCI console method
add SH3 TMU register dump
use generic serial console when companion chip is unknown.
2001-03-22 18:27:51 +00:00
uch
a7876b44d8 add file logging method. 2001-03-22 18:26:45 +00:00
uch
044f4eb367 fix calcurating kernend bug. 2001-03-22 18:23:08 +00:00
uch
87aeed6110 fix file handle leek. 2001-03-22 18:21:02 +00:00
uch
bf58a25f9b weakly machine dependent configuration moved to machine_config.cpp 2001-03-22 18:20:35 +00:00
uch
62bef7c830 fix file pointer bug. 2001-03-22 18:19:36 +00:00
uch
f0190d355c add machine independent serial console method. (use WinCE API) 2001-03-22 18:19:09 +00:00
uch
985f960311 add HP Jornada 690 Hungarian, German entry and
my target machines (CASIO Cassiopeia A-55V, HITACHI PERSONA HPW-650PA).
2001-03-22 18:16:13 +00:00
jdolecek
031c6d8c24 Add MCA ep(4) attachment, for 3Com 3c529-type cards. Tested with 3c529-TP,
provided to me by David Brownlee (thanks!).

Performance of this card is quite poor on my PS/2 with 386DX, like 100KB/s
at best, but as low as 5KB/s when transferring bigger files due to
packet overruns. It would be good to revisit this later, probably by
teaching the ic code to use RX Early.
2001-03-22 16:54:45 +00:00
mrg
74786e7894 remove overzealous locking changes. 2001-03-22 15:56:43 +00:00
minoura
23d323f4f9 Sync with amiga 1.15.
Make this compile again (when building the LKMs).
2001-03-22 12:47:11 +00:00
minoura
b711716241 A bit of ELF support. From scw. 2001-03-22 12:46:19 +00:00
matthias
2282e42ec2 Fix type in pliptransmit declaration (C version). Noticed by
Tyrel Beede <tb90@mail.csuchico.edu>.
2001-03-22 08:14:23 +00:00
mrg
0fa02bb6e6 sync with sparc64. 2001-03-22 06:21:43 +00:00
mrg
e563dea3f6 sync with sparc64 (just some debug messages.) 2001-03-22 06:21:15 +00:00
tsubai
ce8902b7fe Merge my MP tree. At this point, Daystar dual 604 card (i.e. Power Macintosh
9500/180MP and 9600/200MP) runs at least into single-user mode, possibly
multi-user mode (not stable yet).
2001-03-22 04:11:46 +00:00
toshii
2d6322c3be Handle ELF symbol table. 2001-03-22 03:45:39 +00:00
lukem
9f60674a47 now that duplicated stuff has been moved to sys/conf.h, remove unnecessary
defs for: lpt, joy, pc
2001-03-21 23:42:14 +00:00
lukem
723cd818d8 move duplicate definitions for:
pc, lpt, joy, ocis, apm, satlink, i4bctl, i4brbch, i4btel, i4btrc, i4b
from the port-specific arch/*/*/conf.c files into sys/conf.h
2001-03-21 22:25:52 +00:00
ragge
4a933b0a25 VAX_STYP_690 added, from Lord Isildur. 2001-03-21 21:11:13 +00:00
soren
912c115675 s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message. 2001-03-21 18:40:28 +00:00
toshii
7e9512010c Oops. I forgot this line. 2001-03-21 17:43:39 +00:00
toshii
4b32677535 Map DMA controller and disable its DMA channels. 2001-03-21 17:42:37 +00:00
toshii
f8dab8e69a Make card insertion/removal work.
XXX powerdown and {io,mem}_unmap are still missing.
2001-03-21 16:16:35 +00:00
toshii
7c429e90c2 Handle interrupt polarity. 2001-03-21 16:08:34 +00:00
toshii
f1b9737b90 Fix nit. 2001-03-21 14:48:30 +00:00
toshii
d16849a006 Make this compile again. 2001-03-21 14:40:00 +00:00
toshii
b0b31f8cfc Rebuild binaries after ELF symbol table support. 2001-03-21 14:18:28 +00:00
tsutsui
8c60f09e43 - Use ${PRINTOBJDIR}
- size -> ${SIZE}
2001-03-21 14:08:03 +00:00
toshii
358a8ee71a Load ELF symbol table for DDB. 2001-03-21 14:06:25 +00:00
toshii
5b519fb0f9 Fill in framebuffer address for jornada720. 2001-03-21 14:05:10 +00:00
tsutsui
45480ac3bc Move rules to create m68k and machine symlinks to common Makefile.inc. 2001-03-21 13:43:58 +00:00
tsubai
577fa61b83 Enable interrupts before calling interrupt handler(s). 2001-03-21 11:38:39 +00:00
tsutsui
34e44075e0 - Remove "NOMAN= yes"
- Use "WARNS?= 1" rather than add warning options to COPTS.
2001-03-21 11:08:52 +00:00
tsutsui
650e6506dc Remove "NOxxx= yes" lines since "MKxxx= no" is enough. 2001-03-21 11:02:24 +00:00
tsutsui
9ae0cb4d12 Make sure to create m68k and machine symlinks to include loadfile_machdep.h. 2001-03-21 10:58:54 +00:00
mrg
47e6a41505 only lock the kernel around sy_call if !SYCALL_MPSAFE 2001-03-21 09:01:16 +00:00
chs
11fe9ca446 use ubc_winshift instead of ubc_winsize in pmaps to set up kernel
virtual space.  the latter isn't initialized yet when the value is needed.
fixes PR 12440.
2001-03-21 03:16:05 +00:00
mrg
af58b235e0 adapt to systems with out interrupt-map & interrupt-map-mask properties. 2001-03-21 01:33:47 +00:00
pk
b54ea24924 Merge in4_cksum(). 2001-03-21 00:38:47 +00:00
bjh21
de59def2f2 Remove spurious #define mod_base. 2001-03-20 23:29:07 +00:00
bjh21
998606396f Move struct podule_list and struct podule_description to podulebus.h.
They're MI, even if only arm32 actually uses them at present.
2001-03-20 23:27:04 +00:00
bjh21
86d6442c28 Move machine-dependent podulebus headers to <machine/podulebus_machdep.h>.
<dev/podulebus/podulebus.h> is the canonical file to include, and includes
<machine/podulebus_machdep.h>.
<arch/${MACHINE}/poudulebus/podulebus.h> remains for backward compatibility.
2001-03-20 22:59:39 +00:00
bjh21
61e80eef9b As Richard Earnshaw pointed out, bus_space_copy_1() and bus_space_copy_2()
had the wrong names and did the wrong things.  Both are now fixed.
2001-03-20 22:56:16 +00:00
reinoud
df2b9ae2bd Initial commit of wscons for the RiscPC/A7000 arm32 family. There is still lots
to do notably the mouse, some issues about 4 bpp modes and most of all Xwscons !

This code will still allow usage of the old vidcconsole complete with X etc.
Note that the wscons code can now only be booted with the new bootloader but
kernels compiled with vidcconsole can still be booted the old way.
2001-03-20 18:20:53 +00:00
toshii
1f21d8b280 hpcarm kernel is ELF. 2001-03-20 18:01:49 +00:00
uch
b4095cd8bf support HITACHI PERSONA configuration. 2001-03-20 16:05:42 +00:00
uch
889e6d332a initialize TMU 2001-03-20 16:04:01 +00:00
uch
39081f8af1 make HD64461 UART module usable on HITACHI PERSONA 2001-03-20 16:03:28 +00:00
tsubai
dc7eafe744 Redo previous. Instead of defining another type, mask upper bits of pvr. 2001-03-20 15:52:07 +00:00
reinoud
482f11868a Added dependency for "VIDCCONSOLE" (old console code) for the physcon char
device on console (makedev(4,0)) to aid in wscons transition.
2001-03-20 15:39:16 +00:00
reinoud
adbed15428 Replace bitsperpixel' by log2_bpp' for thats the value that is in it
and not the number of bits per pixel !
2001-03-20 12:52:03 +00:00
reinoud
e8f67fd5b7 bitsperpixel' in the bootconfig structure is replaced by log2_bpp'
for thats the value that is in it anyway and not the number of bits per pixel !
This to avoid confusion.
2001-03-20 12:50:08 +00:00
reinoud
2ac5b2f7cf Replace bitsperpixel' by log2_bpp' for thats the value that is in it
and not the number of bits per pixel !
2001-03-20 12:48:37 +00:00
matt
96184e84cf Add a diagnostic when we encounter an unknown boot device type. 2001-03-20 05:51:35 +00:00
lukem
7fec679447 sync to GENERIC 1.400 2001-03-20 05:49:32 +00:00
bjh21
0fe2c0aedc These have moved to sys/dev/podulebus. 2001-03-20 00:13:16 +00:00
bjh21
2c4e09f4c9 Revert last change, which shouldn't have applied to this file. 2001-03-20 00:04:28 +00:00
bjh21
23836945a3 Redefine bus_space_addr_t to be a raw address, for compatibility with arm32
podulebus drivers.
2001-03-20 00:03:10 +00:00
bjh21
34cca2e23e Pull in shared podulebus drivers. 2001-03-20 00:01:37 +00:00
bjh21
2821b16ef4 Quick hack implementation of region ops. Not very pretty, but good enough
to get ei(4) working on arm32.
2001-03-19 23:56:45 +00:00
bjh21
4d5762c860 This file depends on <machine/io.h>. 2001-03-19 23:03:59 +00:00
bjh21
e7cc62cc44 A few #defines for the common podulebus API. 2001-03-19 22:59:13 +00:00
rearnsha
51e6b460ab Slightly smaller code and tune for StrongARM. 2001-03-19 22:51:51 +00:00
jdolecek
1360c6c34c add com at mca, bpfilter
add comment for elmc, describing what it is for
2001-03-19 22:08:17 +00:00
bjh21
1c300d3ee8 Make pa_*_base bus_addr_ts. 2001-03-19 21:03:47 +00:00
tsutsui
7ba79ec9f4 Switch news68k to ELF:
- Move options EXEC_ELF32 to std.news68k
2001-03-19 17:06:11 +00:00
tsutsui
e0694eb01f Switch news68k to ELF:
- Move options EXEC_ELF32 to std.news68k
 - Add options COMPAT_AOUT_M68K to each config file
2001-03-19 16:59:19 +00:00
mrg
0b2a9fa53d kill QUOTA on everglades. 2001-03-19 05:35:51 +00:00
chs
c40daf0aed change uvm_winsize to uvm_winshift so that we can avoid division
by a non-constant value.
2001-03-19 00:29:03 +00:00
chs
e47583af2c missed some KERN_FAILUREs. 2001-03-18 23:43:53 +00:00
rearnsha
77d7115444 Spelling mistake (saftey -> safety). No functional change. 2001-03-18 18:49:37 +00:00
chs
e533061fce in mem_access_fault*(), when invoking the pcb_onfault mechanism, pass the
return value of uvm_fault() to the onfault routine via %o0.  users of
pcb_onfault now return this value to their callers rather than always
returning EFAULT. this allows i/o errors in VOP_GETPAGES() to be returned
back to read(), etc.
2001-03-18 17:11:22 +00:00
rearnsha
f8ffa07954 Always restore the spl value when returning form physconkbd. 2001-03-18 17:03:26 +00:00
rearnsha
62dd3b3608 Fix a couple of cases where we could return without restoring the
SPL value.  Fixes a problem with the Xserver on A7000 kernels.
2001-03-18 17:00:56 +00:00
bjh21
614827277d Switch over to using podulebus_irq_establish(). 2001-03-18 16:58:55 +00:00
bjh21
5c98fe3fec Gratuitous change of signature for podulebus_irq_establish(). It now takes
an opaque podulebus_intr_handle_t, which can be found in podulebus_attach_args.
It's actually the slot number, but don't tell anyone.
2001-03-18 15:56:04 +00:00
itojun
846f79ea76 LAMB uses nonstandard timer frequency. set TIMER_FREQ to appropriate
value (otherwise severe clock delay will result).
http://www.wildlab.com/bbs/logview.cgi?pg=9&no=521
2001-03-18 15:24:14 +00:00
mrg
3bb2b205f9 show the cpu a process is running on in proc 2001-03-18 14:24:10 +00:00
mrg
45d39a2030 redo previous slightly differently. 2001-03-18 14:10:34 +00:00
mrg
e82b5bb630 "mach slock" for simple_locks 2001-03-18 14:06:10 +00:00
bjh21
949f93d279 If uvm_fault() returns an error, pass it on to the pcb_onfault handler
if there is one.  They already arrange to return it to their callers.
2001-03-18 14:04:04 +00:00
chs
1fae55f3ae in trap(), when invoking the pcb_onfault mechanism, pass the return value
of uvm_fault() to the onfault routine via %eax.  users of pcb_onfault now
return this value to their callers rather than always returning EFAULT.
this allows i/o errors in VOP_GETPAGES() to be returned back to read(), etc.
2001-03-18 02:53:09 +00:00
bjh21
6c42a5d73a Move over to using podulebus_irq_establish. 2001-03-18 01:31:03 +00:00
bjh21
63059bd6dc Remove redundant sc_ih from struct ea_softc. 2001-03-18 01:30:30 +00:00
bjh21
b369fdfd44 Use podulebus_irq_establish().
To avoid complexity, don't bother with ea_irq_claim() and ea_irq_release() any
more.  This driver will be replaced with an MI one soon eough -- it just
happened to be convenient for me to test.
2001-03-18 00:00:43 +00:00
bjh21
f98a674d6d Add podulebus_irq_establish(), with the same spec as the arm26 one. 2001-03-17 23:58:43 +00:00
is
d7e64c2e21 Method array for a really big inter-byte offset. 2001-03-17 22:03:12 +00:00
bjh21
16198f2b92 Podulebus convergence:
pa_memc_[th] -> pa_mod_[th]
Add pa_easi_*
Add pa_*_base
Add pa_slot_flags to indicate whether EASI is supported.
2001-03-17 21:56:06 +00:00
leo
14d2d5706f Conditionalize inclusion of the interrupt handlers for 'kbd', 'zs' and
'ncrscsi' since they are not present on the Milan.
2001-03-17 20:56:31 +00:00
bjh21
697e84ed46 Update for new location of podules.h and podule_data.h 2001-03-17 20:34:43 +00:00
bjh21
e6a3d0d5c9 Move generated files from sys/arch/arm32/podulebus to sys/dev/podulebus. 2001-03-17 20:32:00 +00:00
bjh21
255336b13c Migrate known-podules list from arch/arm32/podulebus to dev/podulebus. 2001-03-17 19:05:19 +00:00
bjh21
17b6222740 Small beginnings of podulebus convergence: Have podule drivers print colons
in attach messages, rather than doing it in podulebusprint().
2001-03-17 18:46:25 +00:00
bjh21
bfc2063e69 Create an ARM2-specific undefined-instruction handler which deals with the
undef/SWI bug and handles emulating SWP.

Untested bacuse my ARM2 machine isn't currently set up.
2001-03-17 18:12:09 +00:00
jdolecek
3261555469 bump maxusers to 8 2001-03-17 09:55:32 +00:00
jdolecek
f3d3e9a30e add elmc(4)
convert from memory disk to diskless-type config
2001-03-17 09:53:54 +00:00
mrg
0fcd32a415 "mach cpu" is MP only. 2001-03-17 01:54:17 +00:00
leo
a5fdf3f1cf Atari specific stuff to implement the Milan floppy. The Milan uses standard
ISA floppy hardware. Configure as:
    fdcisa0 at isa? port 0x3f0 irq 6 drq 2
2001-03-16 21:31:55 +00:00
marcus
fab9e9b3bb sc_port_units was set incorrectly at probe time. 2001-03-16 19:57:49 +00:00
bjh21
9dfd56f6dc Make this compile with "options DEBUG" again. 2001-03-16 18:11:57 +00:00
hubertf
cda43785c6 Add comment on what 'overtemp' is about. OK'd by eeh. 2001-03-16 10:47:25 +00:00
mrg
e44f962032 steal a few mach commands from sparc64. add a #if 0'ed "mach cpu" 2001-03-16 10:28:53 +00:00
mrg
48fc32e16e #ifdef DDB, add new function cpu_debug_dump(). define CPU_INFO_ITERATOR and
CPU_INFO_FOREACH.
2001-03-16 10:26:11 +00:00
tsubai
e679c63257 Accept 8000Hz (XXX). 2001-03-15 19:55:16 +00:00
tsubai
5eab0287fb Use write-through caching for video ram. (Disabled by default, for now.) 2001-03-15 19:48:04 +00:00
tsubai
4382a59d64 Add ulinear16 support.
Return EINVAL if specified rate is not available.
2001-03-15 19:42:42 +00:00
uch
054158f994 HD64461 UART module support. 2001-03-15 17:30:55 +00:00
uch
106c0aee60 setup bootinfo.bi_cnuse at bootloader phase. 2001-03-15 17:24:45 +00:00
tsubai
123c25cc93 Remove PAGER_MAP_SIZE definition -- use default value. Instead, decrease
VM_MAX_KERNEL_BUF.
2001-03-15 16:06:59 +00:00
chs
ac3bc537bd eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>
2001-03-15 06:10:32 +00:00
mrg
ef26546e15 lock the kernel around calling interrupt stubs. 2001-03-15 03:20:43 +00:00
mrg
122b3a0e67 sprinkle KERNEL_LOCK() and KERNEL_PROC_LOCK() where they're missing. add
SYSCALL_DEBUG support to trap.c.
2001-03-15 03:01:39 +00:00
toshii
c08eec9f47 Use hpc/hpc/disksubr.c. 2001-03-14 14:47:40 +00:00
toshii
300d398485 Move references to arm/arm/disksubr*.c from files.arm to
files.{arm26,arm32,dnard}.
2001-03-14 14:39:45 +00:00
eeh
b612a766a7 Handle overtemp intr. 2001-03-14 00:52:19 +00:00
bjh21
c3c5158d00 Change the value of tf_pc in undefined-instruction handlers on arm32. It now
always points to the undefined instruction in question.  It's up to the
handler to advance it to the next instruction if it wants execution to
continue there.  This is how things have always worked on arm26.
2001-03-13 23:56:48 +00:00
bjh21
ce3ad2275b Update FPU detection to use remove_coproc_handler(). 2001-03-13 23:51:48 +00:00
bjh21
a7ba6bb441 Update for new linked-list undefined-instruction handler. 2001-03-13 21:00:13 +00:00
bjh21
aebf9049d4 Update to use install_coproc_handler_static(), since install_coproc_handler()
isn't safe this early.

XXX hpcarm should use db_machine_init() to do this.
2001-03-13 20:52:48 +00:00
bjh21
c72a18bddc Separate out the SIGTRAP (gdb breakpoint) generator from undefinedinstruction()
so it's no longer a special case.
2001-03-13 20:22:02 +00:00
bjh21
db1f089718 Initialise the undefined-instruction handler at startup. 2001-03-13 20:20:43 +00:00
scw
bb17ec14d3 Conditionalise inclusion of opt_compat_svr4.h for the benefit of LKMs. 2001-03-13 18:47:19 +00:00
uch
2e79fe1ec7 add SH4 configuration.
(SH) don't access SCIF if the Windows CE's COM1 is not connected to SCIF.
2001-03-13 16:31:29 +00:00
tsutsui
43bd337868 Update for recent changes to the MI i82586 driver.
(added 'why' argument to the channel attention hook function)
2001-03-13 16:31:14 +00:00
sato
ae8397d1f8 comment out:options WSDISPLAY_DEFAULTSCREENS=4 2001-03-13 03:44:23 +00:00
is
e2e5c62d49 Make this compile again (when building the LKMs). 2001-03-12 21:00:02 +00:00
manu
c1faa5c059 enabled COMPAT_LINUX for sandpoint 2001-03-12 20:10:06 +00:00
wiz
c79d6f4378 Fix typo in comment reported by Yuji Yamano in kern/12391. 2001-03-12 17:26:37 +00:00
tsubai
9f1a6e07a4 Round up block size to at least NBPG bytes. 2001-03-12 15:41:52 +00:00
sato
ee1d25e7bd * assume backlight is on if backlight value cannot get.
* move the lcd control codes used config_hook_call()
  in *_hardpower() to *_power().
2001-03-12 08:54:25 +00:00
sato
859d83dd22 * vrc4172pwm_get_light() return the value masked by VRC2_PWM_LCDEN_MASK.
* when resume from suepend, restore saved value instead of always on.
2001-03-12 08:46:27 +00:00
toshii
1bb261e173 Fix interrupt handling somewhat so that break signal gets DDB. 2001-03-12 03:27:18 +00:00
scw
e4a4f09fa8 Make this compile again; chan_attn() prototype has changed. 2001-03-11 20:24:52 +00:00
mhitch
1c10294eb2 ELF ABI requires address to be returned in A0.
Change an external reference from absolute address to PC-relative.
2001-03-11 20:15:02 +00:00
mhitch
5a182288c0 ELF ABI requires address to be returned in A0. 2001-03-11 20:10:04 +00:00
mhitch
751017e6c1 Pack the ExecBase structure to avoid aligning contraint problems with ELF
compiler
2001-03-11 20:09:07 +00:00
uch
cb1bebe07e remove unneeded include. 2001-03-11 16:45:13 +00:00
bjh21
b1475781a2 Make arm26 implementation of DDB slightly less gratuitously different from the
ARM one.  Also update for recent undefined-instruction handler changes.
2001-03-11 16:31:05 +00:00
bjh21
ce5529eabf Change undefined instruction handler to use a linked list for each
co-processor.  This is necessary so we can have several handlers for
CP0 (used as a catch-all for non-CP instructions).

Handlers are now removed using remove_coproc_handler(), rather than by calling
install_coproc_handler() with a NULL handler.

Because install_coproc_handler() can now allocate memory, there's a version
for use at boot time that doesn't.
2001-03-11 16:18:39 +00:00
bjh21
c6c5fda4be Use <arm/undefined.h> 2001-03-11 16:14:36 +00:00
bjh21
4624a1247e Make this suitable for use on arm26 as well. 2001-03-11 16:02:21 +00:00
bjh21
5f8b55f7c3 Pass a softc pointer around everywhere, and use it when we need the name of
the device.

Don't pretend that fpe0 and fpu0 exist as devices (they don't).

G/C a few items related to /dev/cpu* support.
2001-03-11 15:05:43 +00:00
toshii
ffe630e7c3 Sync with sa11x0_reg.h rev 1.4. 2001-03-11 14:37:03 +00:00
takemura
1ab9404c3c Fix definition of MQ200_GCR(n). This definition was quite bad! 2001-03-11 13:53:31 +00:00
toshii
43d63b4d48 Make hpcboot functional when jornada 720 or iPAQ is selected
at the boot menu.
2001-03-11 11:47:24 +00:00
wdk
b9b387d9b1 Remove function decl that doesn't belong in cpu.h 2001-03-11 09:20:58 +00:00
wdk
13de0e4f2b 1. Remove cpu_exec_ecoff_hook
2.  Invoke KGDB if booted with RB_KDB flag
3.  Don't round up page address when zeroing BSS - this can overwrite debug
    symbols
2001-03-11 09:19:31 +00:00
ichiro
ea4611b0cd add ExtendedGPIO desc of iPAQ H3600 2001-03-11 07:27:36 +00:00
ichiro
2cb44b8020 add h3600 and jornada720 gpio port and irq 2001-03-11 06:00:42 +00:00
takemura
5cb5569c63 Apply 'CF hack' to all model of Cassiopeia E series. 2001-03-11 05:18:51 +00:00
bjh21
f61ad8fa80 G/C more unused elements of struct _cpu. 2001-03-11 00:14:56 +00:00
bjh21
d005972168 "needs-flag" for cpu is no longer needed. 2001-03-11 00:11:05 +00:00
is
782a7670e9 - The ioblix zbus board comes in 24 MHz and 22.1184 MHz clock variants.
We default to the (newer, more sane) 22.1184 MHz value, but set it from
the iobzclock variable (in Hz), which is initialized from the IOBZCLOCK
configuration option and patchable.
XXX we should time the clock at system startup.
- add ioblix_zbus to the GENERIC configuration.
2001-03-10 23:55:29 +00:00
bjh21
c7bfcc0130 These are no longer used. 2001-03-10 23:31:32 +00:00
bjh21
29e609e3c5 Update for recent changes to the i82586 driver. 2001-03-10 22:32:17 +00:00
bjh21
ca5024c3a1 Add code to point out to the user if their CPU isn't supported, and to
suggest what kernel options to use to get it to work.
2001-03-10 21:27:06 +00:00
bjh21
b362a4bef3 Change the meaning of cpu_class. It now has one value for each core we
support, which corresponds to one for each CPU_* option, or one for each
cpufunc structure.

Also remove some more residual code for the support of multiple and non-ARM
CPUs.
2001-03-10 20:15:46 +00:00
bjh21
c24be229f5 Don't allow the I and F (IRQ and FIQ disable) flags to be set in the PSR
by sigreturn.  This prevents user processes disabling interrupts by messing
with their signal context.
2001-03-10 20:08:55 +00:00
bjh21
b01c113e98 ARM7TDMI != ARM7 for our purposes (it has an ARMv4 CP15). 2001-03-10 20:03:51 +00:00
toshii
a9e9b871de Add sacc, sacpcic, and sagpcic. 2001-03-10 19:05:40 +00:00
toshii
f14e35f58e Driver code for SA11x1 based PCMCIA devices. 2001-03-10 19:01:27 +00:00
toshii
79d31f6571 Common driver code for SA11x0 PCMCIA function. 2001-03-10 19:00:39 +00:00
toshii
57abc92eeb This file is no longer used. PCMCIA driver code is divided into
sa11xx_pcic*, sa11x0_pcic* and sa11x1_pcic*.
2001-03-10 18:59:22 +00:00
tsutsui
51cdfbfa9b Fix error on config without options news1700.
DC_BE and IC_BE bits are enabled at runtime since rev 1.7.
2001-03-10 18:58:16 +00:00
toshii
2d36b2225d Support SA1111 companion chip. 2001-03-10 18:50:37 +00:00
tsutsui
7346883e17 Don't include opt_compat_svr4.h on building LKM. 2001-03-10 18:39:04 +00:00
rearnsha
bf5e18af99 Add param.h to INCS. 2001-03-10 18:32:25 +00:00
toshii
356943c6c4 Fix nit. Read functions were actually writing. :-( 2001-03-10 17:32:14 +00:00
uch
c5be09ee66 add README. 2001-03-10 16:24:54 +00:00
bjh21
0bcb071684 Correct CPU_ID_ISOLD() and CPU_ID_IS7(). 2001-03-10 16:19:59 +00:00
toshii
3a52278a23 Map GPIO registers in saip. 2001-03-10 15:34:38 +00:00
toshii
4c08e34e90 hpcarm/hpcarm/ast.c is no longer. 2001-03-10 14:10:51 +00:00
toshii
b2cb6de80e Use sa11x0_bs_tag instead of mainbus_bs_tag. 2001-03-10 13:34:34 +00:00
toshii
a62d9f6fa0 Handle the offset argument in bus_space_{read,write}* correctly. 2001-03-10 13:29:38 +00:00
toshii
4333644371 Copy bus_space_map() function from arm/mainbus/mainbus_io.c. 2001-03-10 13:27:53 +00:00
minoura
8cba02bdf9 Turn off options JUPITER temporarily.
This may cause problems on some newer accelerators.
We might have to write a more accurate detect code.
2001-03-10 03:23:09 +00:00
leo
b44e732ff6 Expand bus_dma implementation. It will now handle the bounce buffer
extensions needed to make the isa floppy driver on the Milan work.
2001-03-09 20:55:46 +00:00
thorpej
85868e3c09 Pay attention to BUS_DMA_STREAMING when builing an IOMMU TTE. 2001-03-09 20:05:39 +00:00
toshii
9224009c5d Fix bugs in delay().
- it could wait infinitely.
 - large roundoff error.
2001-03-09 18:55:29 +00:00
bjh21
1f9f430e03 Patch from Richard Earnshaw:
Add some calls to drain the write buffers -- these are particularly
important when we are trying to synchronize I$ and D$.
2001-03-09 16:24:51 +00:00
bjh21
5a6e5a05e3 Increase the size of regions for which we use the single line flush
commands -- profiling shows this to be a major win over flushing the
entire cache (since the likelihood is that such lines won't be in the
cache anyway).

Patch supplied by Richard Earnshaw.
2001-03-09 16:17:19 +00:00
toshii
aa76b5208c Make it compile again after arm, arm32 changes. 2001-03-09 12:13:15 +00:00
pk
1b84e6fb33 pasto: sc_maddr => sc_mem 2001-03-09 10:19:54 +00:00
sato
80214041c7 support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
lcd on/off
2001-03-09 08:54:18 +00:00
bjh21
f6c36838ae Use the same undefined-instuction handler on both arm26 and arm32. The handler
is derived mostly from the arm32 version, but with a check for an obscure ARM2
bug thrown in.

arm26 fpu and cpu drivers use the new interface for catching undefined
instructions.
2001-03-08 21:30:35 +00:00
bjh21
c0aee693f5 Add a missing part of FPU support. 2001-03-08 21:12:48 +00:00
is
6288edb5bd Add rcsid. 2001-03-08 19:21:53 +00:00
uch
736e48bc36 enable CF slot. 2001-03-08 15:21:31 +00:00
uch
41207e71d6 channel 1 interface don't provide fake pcmcia io space tag. 2001-03-08 15:13:14 +00:00
thorpej
5dedbd1c97 Duh, don't forget the proc argument. 2001-03-08 01:46:18 +00:00
thorpej
3423154d78 Use bus_dmamap_load(), not bus_dmamap_load_raw(). 2001-03-08 01:38:57 +00:00
thorpej
2c4c690f14 Add the BUS_DMA_STREAMING flag. 2001-03-07 22:42:16 +00:00
tsubai
5e917b9c4d Add another CPU ID for G4; PowerBook G4 has different PVR value. 2001-03-07 12:44:05 +00:00
tsubai
83eac66533 Cosmetics. 2001-03-07 08:18:45 +00:00
tsubai
973904ff17 Include trap_subr_mp.S if MULTIPROCESSOR is defined. 2001-03-07 08:12:55 +00:00
tsubai
bf498eb12e Remove MULTIPROCESSOR part. (moved to separate file) 2001-03-07 08:10:44 +00:00
tsubai
90aabafdd1 MP version of trap routines. 2001-03-07 08:05:07 +00:00
briggs
20d5755843 Set the PCI mem tag to 0. The BAR already contains the value that was here. 2001-03-07 05:52:28 +00:00
eeh
4e77731eee Fix inverted preprocessor logic. (Spotted by Charles.) 2001-03-07 01:47:02 +00:00
itohy
7ffa2a0375 Add RTC_OFFSET support to inittodr() on dreamcast.
No changes to other sh ports.
2001-03-07 00:47:22 +00:00
bjh21
4ada0ac792 Create cpufunc_null_fixup() to replace all the CPU-specific abort-fixup
routines that did nothing.
2001-03-06 22:29:13 +00:00
thorpej
51aeeceeaf Clean up TLB trap handling a little.
- When printing a user trap, include p->p_comm in the message.
- In the TLB fault handler, don't just go charging along if
  the fault can't be handled.  If we get a fatal kernel TLB
  fault, we need to panic!  Or, if DDB is enabled, call the
  Debugger().
2001-03-06 21:58:23 +00:00
briggs
9fcf8e36a4 Sync with reality. Add NetBSD tag. 2001-03-06 20:16:09 +00:00
briggs
d6ff14bfde Update the defaults of MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ to those used
in macppc.
2001-03-06 20:11:41 +00:00
briggs
7446055d62 Disable interrupts during autoconf.
Move identifycpu() from machdep.c to autoconf.c, make it table-driven, and
add a few more models to it.
2001-03-06 20:10:20 +00:00
mycroft
237ef77d7f Optimize a little more for the case where `off' is entirely covered by one
mbuf -- which is always is.
2001-03-06 19:20:51 +00:00
mycroft
f7a6910822 Rework the in4_cksum() code a bit. 2001-03-06 19:14:37 +00:00
fvdl
e55dd7530b Use assembly version of in4_cksum (which is a piece of code that
does some of the extra work and then jumps into in_cksum).
2001-03-06 14:55:13 +00:00
pk
a917eabaec * A couple of #if defined(SUN4M)' should be #if defined(MULTIPROCESSOR)'
* Print notice if not all CPUs were attached
* Switch to SMP version of cache flush routines in just one place: in
  cpu_attach() after all known CPUs have been configured.
2001-03-06 13:39:22 +00:00
mrg
f1d2503dc5 rework pci_attach_hook() to just deal with the INO, not the full
interrupt number.  properly find interrupts for the E250.  modify
pci_intr_map() accordingly.  retire psycho_intr_map().  deal with
INO values upto 0x3f, not upto 0x32.  restructure sabre_init() and
psycho_init() to be more similar, and display each psycho's IGN.
psycho_intr_establish() deals with INO upto 0x3f, values from 0x32
and higher get 0 for IPL.

tested on E250 & U5.
2001-03-06 08:09:16 +00:00
matt
b7cd0eeaac Move arm32/arm32/ast.c to arm/arm32/ast.c 2001-03-06 07:52:35 +00:00
sato
1a533a81d6 add sigmarion parameter. 2001-03-06 03:14:39 +00:00
bjh21
3ec18a1616 General prettification (mostly comments). 2001-03-05 23:29:32 +00:00
bjh21
78eae7d026 ANSIfy. 2001-03-05 23:14:22 +00:00
bjh21
83b8de43dd Move undefined.c from sys/arch/{arm32/arm32,hpcarm/hpcarm} to sys/arch/arm/arm
in preparation for making it usable on arm26 as well.
2001-03-05 23:06:14 +00:00
pk
b91b8796d9 Implement MSGBUFSIZE option. 2001-03-05 16:46:09 +00:00
pk
8eeb7a8a79 mp_{pause,resume}_cpu(): avoid crash when cpu(s) not yet configured. 2001-03-05 16:45:22 +00:00
pk
f3c74253b0 Fix `flags' argument to pmap_enter(). 2001-03-05 16:43:34 +00:00
ragge
f860eda596 This file hasn't been in use for a long time. 2001-03-05 16:02:23 +00:00
ad
f21f718031 Typo in previous. 2001-03-05 12:15:38 +00:00
tsubai
0e3e6118a9 Add awi* at pcmcia. 2001-03-05 11:31:14 +00:00
pk
90e5095df2 Fix syntax error in previous change. 2001-03-05 07:16:19 +00:00
toshii
850f81157a Fix an error printf format. 2001-03-05 07:11:18 +00:00
pk
4e14c96788 In debug printf: missing quote on format string. 2001-03-05 07:04:01 +00:00
wdk
ffa74abf2f - Add "Features Enable" and CDB bits to SCSI controller config
- During un-aligned writes: Don't accidently leave the DMA engine active
  after priming the FIFO between calls to asc_dma_setup and asc_dma_go
2001-03-05 05:04:29 +00:00
wdk
9cf464f7d1 no longer keep a copy of the volume header in cpu_disklabel 2001-03-05 04:58:09 +00:00
wdk
680c13c7d4 - brelse() was called twice after reading disk label
- re-read RISC/os volume header off disk before writing new label
  in case it was updated by installboot utility
- no longer keep a copy of the volume header in cpu_disklabel
2001-03-05 04:54:07 +00:00
marcus
d152e7d2f8 Off-by-one error on v_absolute_size fixed. 2001-03-05 02:45:24 +00:00
bjh21
25ec015449 Merge setregs() from sys/arch/arm32/arm32/machdep.c,
sys/arch/hpcarm/hpcarm/machdep.c and sys/arch/arm26/arm26/vm_machdep.c
into sys/arch/arm/arm/arm_machdep.c.
2001-03-04 23:25:00 +00:00
bjh21
88951e75fa Rather than using a list of CPU IDs, take a heuristic approach to working
out which set of functions to use.  This should help cope with the fact that
my list of CPU IDs is probably incomplete.
2001-03-04 23:13:29 +00:00
pk
a1b18f9435 Fix syntax error in previous. 2001-03-04 21:28:11 +00:00
pk
bac5be6461 Simplify `bad alias' handling in pv_link()/pv_unlink():
- there's no need to have different PV_NC flags for sun4[c] & sun4m

	- deal with kvm_uncache() being called on a managed page in a
	  separate helper function that deals with the caching state
	  within the pv list for that page, avoiding interference with
	  the `bad alias' removals in pv_unlink().

Note that currently never called for managed pages, but for now I'm
keeping the support in.
2001-03-04 21:12:24 +00:00
jdc
d22da292a6 Man page moved to share/man/man8/man8.atari. 2001-03-04 20:54:12 +00:00
jdc
b8c15cce4e Man page is now in share/man/man8/man8.atari. 2001-03-04 20:51:51 +00:00
jdc
df594988e2 Add enhancements :
boot sector and bad sector list are preserved by default, use 'z' to change
   type NNNm to make a partition size NNN megabytes
   type `-N' at `root' and `start' prompts to start after partition N
   type `-N' at `size' prompt to end before partition N
   type `-1' at `size' prompt to end at end of disk
   display pauses if 10 or more partitions to display
2001-03-04 20:49:27 +00:00
matt
2bfaa741b1 remove disksubr since they are common. 2001-03-04 20:47:03 +00:00
matt
a4ee61bc1e eliminate a lot stuff that's not needed. 2001-03-04 20:45:03 +00:00
matt
d6fc837c17 more vm_offset_t/vm_size_t -> {p,v}{addr,size}_t changes
move pmap_* declarations to pmap.h.  fix conflicts this
exposed (e.g different definitions for pmap_bootstrap).
2001-03-04 19:05:55 +00:00
uch
23c73a6e1c regen. 2001-03-04 17:01:15 +00:00
uch
0d9b26cd0e make this compile on WCE200 SDK 2001-03-04 16:59:47 +00:00
uch
07005e3818 sync with pbsdboot. (CASIO Pocket PostPet) 2001-03-04 16:52:44 +00:00
uch
aa7c0fa2c7 templates for WindowsCE Embedded Toolkit for Visual C++ 5.0 2001-03-04 16:51:04 +00:00