Commit Graph

26219 Commits

Author SHA1 Message Date
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