Commit Graph

25148 Commits

Author SHA1 Message Date
shin
ce0d1ad2fe - don't ignore DEFCOPTS (Makefile.mips).
- DEFCOPTS of hpcmips is "-Os -mmemcpy" (std.hpcmips).
2001-01-04 05:13:30 +00:00
sato
3131dc2c04 make compilable. 2001-01-04 05:01:59 +00:00
itojun
a493f2d3fd typo. struct fpregs -> struct fpreg 2001-01-04 04:42:59 +00:00
enami
62f0a92d52 Avoid null pointer dereference. dc_sc may be null on early stage. 2001-01-04 03:03:04 +00:00
enami
596f0820de Set HPCFB_DC_CURRENT bit in hpcfb_init() so that boot -d works. 2001-01-04 01:35:21 +00:00
itojun
f5f5aac99a look at __LITTLE_ENDIAN__ (gcc symbol) to determine which endian we are in.
makes the file bi-endian.
2001-01-04 00:51:15 +00:00
thorpej
d04f6f6d57 Just garbage-collect the #if 0'd pmap_transfer() stuff. 2001-01-04 00:17:43 +00:00
itojun
16b3064038 split big/little endian better. 2001-01-03 23:49:21 +00:00
eeh
4020842234 Fix faults caused by incorrect cacheing information in the pv_entry. 2001-01-03 23:05:22 +00:00
thorpej
33338b633a ANSI'ify, and inline userret(). 2001-01-03 22:15:38 +00:00
thorpej
09ffed2ba0 ANSI'ify. 2001-01-03 21:40:25 +00:00
thorpej
dbe63d5a81 Some more slight cleanup. 2001-01-03 21:39:20 +00:00
thorpej
5602df2e07 Fix a couple of comments. 2001-01-03 21:27:07 +00:00
thorpej
c3d730df25 ANSI'ify. 2001-01-03 20:29:58 +00:00
fvdl
3456657259 Bump shm max pages value to a more realistic one. 2001-01-03 20:19:33 +00:00
thorpej
a2a696618e Restructure alpha_sgmap_dmamap_create() slightly. 2001-01-03 20:12:34 +00:00
thorpej
db36913c87 The code that creates/destroys SGMAP DMA maps is the same; put it
in a common place and share it.
2001-01-03 19:15:59 +00:00
itojun
1d25215235 $NetBSD$ 2001-01-03 18:15:47 +00:00
itojun
10e1d3091a share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
cleanup param.h a bit.
2001-01-03 18:14:44 +00:00
itojun
f66249f478 dreamcast went to sys/arch/dreamcast 2001-01-03 17:59:02 +00:00
itojun
4eb5bbbdc2 wdog* does not compile due to the lack of WDOG_IRQ. 2001-01-03 15:42:48 +00:00
pk
cf53c74834 * Apply proper cast for 32 -> 64 bit pointer argument conversion.
* Since probeget() isn't geared up to deal with _arbitrary_ memory fault
  types (and doesn't work at all when called from an interrupt context),
  add explicit sanity checks on a stack frame's contents before use
  (XXX - needs revisiting).
2001-01-03 15:33:34 +00:00
itojun
00fbe713e7 remove #if 0'ed portion 2001-01-03 15:26:17 +00:00
itojun
4469b35a09 retain empty "compile" directory 2001-01-03 15:22:14 +00:00
takemura
c5fd828440 replace 'long long' with int64_t to compile stand alone program with
compiler other than GCC.
2001-01-03 10:08:55 +00:00
tron
0ce4a9a0de Use highest bit of minor as an extra bit for the partition number to
bump the maximum partition number on NetBSD-i386 to 16. (Approved by fvdl)
2001-01-02 23:06:54 +00:00
matthias
4cefdbee45 make sendsig/sigreturn work with p_sigctx. 2001-01-02 19:16:34 +00:00
simonb
eaf4f43227 Add ELF support.
Thanks to Steve Woodford for his help!
2001-01-02 04:28:37 +00:00
simonb
472a75b08f Convert both bootblocks and mkboot to use libsa's loadfile(), and make
both ELF aware.
2001-01-02 04:14:33 +00:00
matt
4622cfafe0 Redefine the memset/memmove/bcopy/bzero/memset macros to use more agressive
constraints in their inline asm.  Gcc generates much better code now.
2001-01-02 04:03:42 +00:00
mrg
d9a9b8d6d5 the tcds cards work in pmaxen. move tcds attachment to files.tc. leave asc
at tcds in files.alpha for now, and add a new `xasc at tcds' to files.pmax.
after pmax has moved fully to MI scsi (and `asc' is MI scsi), we should move
the device asc, etc., lines to files.tc.
2001-01-01 23:43:05 +00:00
thorpej
bee6e31c0d Don't equate pmap_update() with tlbflush(), but instead call
tlbflush() when that's what we mean (currently everywhere, except
in the one place in MI code where it is called).

The whole pmap_update() thing needs to be reexamined, but this helps
to clarify things a little with the currently-defined semantics of
that function.
2001-01-01 22:13:53 +00:00
bjh21
7866e2f2c9 Arrange that the return value of copyin() and friends be provided by
do_fault(), in preparation for do_fault() being able to get it from
uvm_fault().
2001-01-01 16:00:42 +00:00
tsubai
ad6af0a61b Make lasttb and tickspending per-CPU. 2001-01-01 05:28:54 +00:00
tsubai
b3982b810e Allocate intstk and spillstk for cpu0. 2001-01-01 05:23:17 +00:00
tsubai
61096678a3 Forgot to commit this... 2001-01-01 05:17:15 +00:00
tsubai
6c4981f735 Switch to the idle stack before releasing the sched_lock (rev 1.31 was
wrong).
2001-01-01 05:16:12 +00:00
tsubai
9a7bf182cd MP support in external interrupt handler. 2001-01-01 05:01:11 +00:00
tsubai
26914e2bcf Make want_resched and astpending per-CPU.
Add some per-CPU variables to cpu_info.
2001-01-01 04:33:39 +00:00
sato
f89afd86e1 re-disable experimental HPCFB_MULTI codes.... 2001-01-01 01:42:03 +00:00
eeh
fe278fa440 Make INCR() atomic. 2000-12-31 21:05:21 +00:00
matt
ab88a97d88 de-__P. cleanup the whitespace a bit. add a very small optimization. 2000-12-31 19:41:41 +00:00
matt
143230cc74 Rename arithflt to trap. Change trap label to Xtrap. This is due to that
arithflt is really the trap handler so call it that.
2000-12-31 19:27:24 +00:00
castor
a0c38fa362 Fix sendsig/sigreturn for SOFTFLOAT case. 2000-12-31 19:06:40 +00:00
bjh21
bc86e85531 Correct various initial comments, and provide a useful overview of how the
MEMC works, at the suggestion of chs.
2000-12-31 16:09:34 +00:00
ragge
de50d468c9 Do not touch pv_table when mapping/unmapping I/O registers. This caused
mmap() of framebuffers to give unpredictable faults.
2000-12-31 11:16:55 +00:00
matt
625392adca improv the stack trace by printing the fp at the start of each line and
noticing trap frames, and printing that information as well.  For example
Stack traceback :
0x87ba2bc4: _arithflt+0x1a7(0x87ba2cac)
0x87ba2c50: trap type=0x8c code=0x8 pc=0x800008ef psl=0xc00000
0x87ba2c1c: _copystr+0x23(0x8095f378,0xa539f,0x86c0bd20)
2000-12-31 05:52:48 +00:00
matt
d962f9c52e Add a kludge that makes stack tracebacks work. 2000-12-30 20:16:34 +00:00
matt
8a55dd0d98 Make this compile without having a SMG device. 2000-12-30 20:15:02 +00:00
matt
c03997bb51 Make this compile again. 2000-12-30 20:11:54 +00:00
mjacob
366352e859 Enable Qlogic PCI cards 2000-12-30 19:30:50 +00:00
bjh21
c1ad66d687 Whitespace cleanup. 2000-12-30 13:53:26 +00:00
bjh21
66c70101f3 Add a cache flush to pmap_fault() when it adds a r/w mapping, since there's
probably an old mapping around that we don't want to get stale.
2000-12-30 13:42:12 +00:00
bjh21
e9d5e8f1e5 Overhaul v(un)mapbuf: Don't worry about unmapping things (the pmap can handle
multiple wired mappings now).  Do worry about seeding referenced/modified
information correctly.
2000-12-30 13:33:15 +00:00
bjh21
e4c6b6f4e5 pmap_kenter_pa(): Seed referenced/modified information correctly. 2000-12-30 13:31:50 +00:00
mjacob
a8b078eb95 more missing #ifdef DEBUG goop 2000-12-30 07:42:42 +00:00
mjacob
f8e9b56ebf Fix a 'defined but not used' error (GENERIC doesn't define DEBUG). 2000-12-30 07:34:40 +00:00
tsutsui
93f151b221 Define VM_MAX_KERNEL_BUF and PAGER_MAP_SIZE (from macppc)
so that the kernel can boot with 128MB memory.

XXX: How can we determine size of the buffer cache on UBC?
2000-12-30 07:10:21 +00:00
tsutsui
647fc19862 Sync with GENERIC:
> PCMCIAVERBOSE (commented out)
> isapnp at isa (commented out)
> midi at pcppi
> ep at isapnp (commented out)
> ix at isa (commented out)
> iy at isa (commented out)
> wdc at isapnp (commented out)
> wss at isapnp (commented out)
>
> The isapnp stuff is commented out because it may crash due to unimplemented
> alloc methods on some machines with some devices.  This should really get
> fixed.
2000-12-30 07:01:31 +00:00
sato
6592f8f942 notify console polling mode or not to lower level video driver.
turn polling mode when console are polling mode.
disable redrawing when not EMUL mode.
2000-12-30 01:55:24 +00:00
bjh21
b3eae7d1c8 Since we need to have an aout_machdep.h, we may as well borrow the arm32 one. 2000-12-29 23:08:31 +00:00
bjh21
36f8a8d0f8 Purge vestiges of a.out support. 2000-12-29 23:07:29 +00:00
bjh21
00a01e20d8 Sync with arm32. No functional changes. 2000-12-29 22:42:23 +00:00
is
d1089630fa The name is X-surf, not X-serv. I'll never learn this.
Thanks to Petri Koistinen for the correction.
2000-12-29 22:39:29 +00:00
is
9ae07c3362 Update for vlan addition and Xsurf name addition. 2000-12-29 22:36:51 +00:00
is
f2ff118b7c Add name of X-surf Ethernet board. Patch by Petri Koistinen. 2000-12-29 22:31:56 +00:00
mycroft
584db4dfbf No need for this to be checked in any more. 2000-12-29 22:06:17 +00:00
mycroft
1642c89d86 Add some random things I've tested over the years:
PCMCIAVERBOSE (commented out)
isapnp at isa (commented out)
midi at pcppi
ep at isapnp (commented out)
ix at isa (commented out)
iy at isa (commented out)
wdc at isapnp (commented out)
wss at isapnp (commented out)

The isapnp stuff is commented out because it may crash due to unimplemented
alloc methods on some machines with some devices.  This should really get
fixed.
2000-12-29 22:03:47 +00:00
mycroft
c95706b81d Long gone. 2000-12-29 21:52:03 +00:00
mycroft
efc2dc7903 ZHADUM is dead, ZSR doesn't need to be checked in. 2000-12-29 21:50:43 +00:00
mycroft
2a6abdcdd6 No reason for this to be checked in any more. 2000-12-29 21:48:32 +00:00
mycroft
15deccd2a8 Add ray at pcmcia. 2000-12-29 21:47:52 +00:00
mycroft
a5382a0bf9 Long gone. 2000-12-29 21:45:12 +00:00
briggs
f7cf6d4afb Do not try to second-guess the ncr53c9x driver by setting *dmasize to 0
if it is 64k.  TCL and TCM will be set properly if we just leave it alone.
Not only that, the ncr53c9x driver issues TRPAD or TRANS based on this
value.  We do not want TRPAD in this case!
2000-12-29 21:31:44 +00:00
bjh21
df10cbcda9 Sync with arm32 (fixes warnings compiling /bin/sh and probably others). 2000-12-29 19:30:34 +00:00
eeh
3ec59504f9 Lower PIL_SCHED below the zs interrupt so we don't get silo overflows. 2000-12-29 18:37:05 +00:00
eeh
f5c0f0c5a8 Separate schedclock from statclock on machines w/counter-timers. This
lets us lower splsched().
2000-12-29 18:35:18 +00:00
eeh
e8b285df6a pseg_get tells us whether it really needed that spare page after all. 2000-12-29 18:32:47 +00:00
eeh
fcae6c100a Fix LOCKDEBUG issues. 2000-12-29 18:29:19 +00:00
briggs
811d597c78 Rework the esp driver a little bit to improve performance. This requires
an ugly bit where we record the value of a2 while handling a "nofault" bus
error in locore.s in order to know how far the transaction got before a
disconnect (see esp.c comments for more details on this).
Also get rid of a loop (and delay()!) in the interrupt routine--hinted at
and researched by Chas Williams <chas@cmf.nrl.navy.mil>.
2000-12-29 17:23:31 +00:00
eeh
a5ecd862b1 Fix some 32-bit assembly code. 2000-12-29 17:13:33 +00:00
eeh
d8887bd0ea 64-bit address values should be unsigned. 2000-12-29 17:12:05 +00:00
eeh
5f7376ce1d Fix broken printf()s. 2000-12-29 17:09:49 +00:00
eeh
ac00f21218 Fix broken printf(). 2000-12-29 17:08:54 +00:00
eeh
09c04e2283 Update for new signal structures in struct proc. 2000-12-29 17:07:12 +00:00
sato
fdbe4057ec - use struct platid_date instead of struct vrc4172pwm_platid_param.
- delete struct vrc4172pwm_platid_param.

XXX: vrc4172pwm driver currenty not functional yet.
2000-12-29 15:54:17 +00:00
minoura
9132306dbc CMACHFLAGS defaults to -m68020-60.
Can be overridden in config files; add examples.
2000-12-29 15:18:37 +00:00
sato
b8bfd0cc52 * vrc4172pwm driver
- add missing functions
- make compilabe.
2000-12-29 11:44:44 +00:00
sato
1ed5e58cb7 * implimant CONFIG_HOOK_PMEVENT_BATTERY&CONFIG_HOOK_PMEVENT_AC
based apm state transition.
- change CONFIG_HOOK_PMEVENT_BATTERY message.
XXX: currentry none send these events.
2000-12-29 08:12:08 +00:00
sommerfeld
851de295eb Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
castor
a698752050 Disable FPU in sys___sigreturn14() so floating point registers are
properly restored.
2000-12-28 09:27:09 +00:00
sato
e527c3f384 add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
2000-12-28 07:10:14 +00:00
matt
a589927cbc Make identical to arm32 version. (add same parens, use __P, etc.) 2000-12-28 03:55:14 +00:00
matt
f1f4acfb4d Remove reference to CLBYTES 2000-12-28 03:54:15 +00:00
matt
1ea4047532 Add __ELF__ case for RCSID. Now identical to arm26 version. 2000-12-28 03:53:31 +00:00
matt
61b05af542 Except for the RCSID, this file is now identical with arm32/include/ansi.h 2000-12-28 03:52:50 +00:00
sommerfeld
5217f6335b Let COMPAT_LINUX build with DEBUG 2000-12-27 23:47:58 +00:00
jdolecek
69fa90cc78 s/SYS_NSYSENT/FREEBSD_&/ 2000-12-27 23:20:29 +00:00
bjh21
c00a8ab5fd Calculate the required amount of screen memory, rather than just trusting the
number that RISC OS gives us (which may be far too large).
2000-12-27 22:13:42 +00:00
jdolecek
c6a69abc26 adapt to recent changes of signal structures 2000-12-27 21:58:52 +00:00
bjh21
9822871467 Add a special call to uvm_page_physload to register RISC OS's zero page as
free at startup.
2000-12-27 20:43:44 +00:00
bjh21
1b364c5082 pmap_confess() is unused and doesn't work any more. G/C it. 2000-12-27 18:38:50 +00:00
bjh21
c481cdca92 Overhaul of data-abort handling:
- Make data_abort_address() return the whole affected range, rather than
   just one end.
 - Don't rely on pmap_confess().  Instead, for LDM/STM, behave as if two faults
   had occurred, one at each end of the range.
 - Separate out fault handling into do_fault(), and call it from
   data_abort_handler() (twice) and prefetch_abort_handler().
2000-12-27 18:35:18 +00:00
bjh21
58e80f030f Two batches of changes:
1: Cleanup of syscall() -- treat the arguments as an array of register_t
   throughout.  This saves a few casts, and generally makes seeing what's
   going on easier.
2: Be a little more careful in the handling of data aborts on kernel
   addresses: don't use the kernel's map unless the access was actually from
   a kernel mode.  This is how the arm32 data abort handler behaves.
2000-12-27 16:57:09 +00:00
bjh21
186792c5b7 Use KASSERT for simple assertions. 2000-12-27 16:50:12 +00:00
bjh21
2433e71e6e Medium-sized pmap overhaul:
- Use UVMHIST for debugging messages, rather than printf
 - Rely on the caller of pmap_enter to tell us how to manipulate referenced/
   modified bits in the kernel pmap.
   [ Suggested by chs -- may need work on the rest of the kernel. ]
 - Split third-stage initialisation out of pmap_create() into pmap_init2().
 - Bug fix: when relocating pv_table, fix up all references to it as well.
 - Bug fix: in pv_release(), if pulling up a pv_entry to the head of the
   list, correct the reference from its pmap.
2000-12-27 15:16:04 +00:00
sato
6276ccbc58 - rewrite codes using new CONFIG_HOOK_SET. 2000-12-27 12:22:07 +00:00
sato
4b9ae225e0 -rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT. 2000-12-27 12:10:05 +00:00
sato
dc6a141444 - rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT. 2000-12-27 12:08:03 +00:00
sato
22b3467f71 - merge CONFIG_HOOK_OUT and CONFIG_HOOK_SET and CONFIG_HOOK_POWERCONTROL
to CONFIG_HOOK_SET.
- merge CONFIG_HOOK_GET and CONFIG_HOOK_GETPOWER to CONFIG_HOOK_GET.
- merge CONFIG_HOOK_EVENT and CONFIG_HOOK_BUTTONEVENT to CONFIG_HOOK_ENENT.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET always have
  msg argument as pointer.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET use
  same event ids.
- CONFIG_HOOK_POWERCONTROL and CONFIG_HOOK_BUTTONEVENT still exist.
  i shall rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:04:02 +00:00
castor
a099ff1f75 Preserve the status register process_write_regs() to avoid confusion
about the current floating point context.
2000-12-27 08:28:12 +00:00
sato
0ebc2f12c2 fix typo. 2000-12-27 07:52:00 +00:00
bjh21
ce3cd11d08 Unreasonably simple fix for PR#11817: Don't worry about duplicate mappings,
just get pmap_fault to shove them back in.  Crude, but effective.  Fix inspired
by Chuck Silvers.

This breaks pmap_confess, but it probably deserves to die.
2000-12-26 23:18:50 +00:00
bjh21
939baa9f0d Follow the herd: Use the MI md_root.c. 2000-12-26 19:55:52 +00:00
itojun
efa2b7073c make mbstate_t bigger (32 -> 128 bytes).
XXX if you have libc after citrus locale import, please recompile libc,
and your applications that use mbstate_t (rather rare).  really sorry
for the mess.
2000-12-26 10:35:28 +00:00
dbj
e992baf394 fix logic error in bus_dmamap_sync that was preventing from flush/purging
full pages instead of only by cache lines
2000-12-26 07:27:01 +00:00
sato
e05cd448e3 make compilable for HPCFB_JUMP codes. 2000-12-25 10:27:28 +00:00
sato
45b32e79e8 * add iodone&font entry in struct hpcfb_accessops.
* update HPCFB_JUMP codes.
* change tvram initialization out of hpcfb_init().
* use dc_fbaddr for switching screen (for HPCFB_MULTI codes).
2000-12-25 10:09:31 +00:00
nisimura
752dce24ae - fix typos in mips_user_cacheflush() and mips_user_cachectl().
- relocate those function declarations from include/pmap.h.
2000-12-25 08:56:12 +00:00
tsubai
3102ae2c25 Work around of "trap type 700 at ff8099b8".
It seems to work for me but I'm not sure...
2000-12-25 02:15:52 +00:00
ur
63f060c06a Use MI md_root.c 2000-12-24 09:35:28 +00:00
ur
459f2585f4 Switch pica to jazzio.
Split shared MD portion between algor and jazzio.
2000-12-24 09:25:24 +00:00
jhawk
be1e7e391c Spell "physical" correctly in comment. 2000-12-24 07:13:36 +00:00
wiz
7ae9423d3b Honour SCSI command timeout -- fixes problems with SCSI commands that take
longer than 10s and were falling into a timeout, e.g. fixating.
2000-12-24 02:42:04 +00:00
bjh21
f1fc4edf08 In pmap_enter(), seed referenced and modified bits from access type passed in. 2000-12-23 23:06:51 +00:00
bjh21
5568314c66 Since the Arc's interrupt layout is fixed, only print IRQ numbers in
verbose mode.  This helps to ensure the kernel version number doesn't disappear
too quickly.
2000-12-23 21:49:13 +00:00
bjh21
7cce6a2816 Remove "machine" subcommands that duplicate "show".
Add "machine bsw" which does a bus_space_write_*().
2000-12-23 15:18:34 +00:00
bjh21
da1e6b7cfb Don't SIGSEGV a process just because we get KERN_RESOURCE_SHORTAGE. It might
go away.

Yes, this is a grotty hack.  The right solution is for uvm_fault to be less
pessimistic.
2000-12-23 15:12:54 +00:00
bjh21
95920110c7 Stub FPU driver -- identifies FPUs and warns they aren't supported. e.g:
cpu0 (root): ARM2
fpu0 at cpu0: FPPC/WE32206
fpu0: WARNING: FPU type not supported by kernel
2000-12-23 13:37:02 +00:00
tron
37f9e37daf Fix typo in last commit. 2000-12-23 13:11:57 +00:00
bjh21
85aa3d3b8d G/c unused declarations. 2000-12-23 12:57:55 +00:00
jdolecek
de31133f1d split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

XXX I wish m68k ports would share trap.c
2000-12-23 09:35:51 +00:00
enami
6242a87506 Fix text address. 2000-12-23 07:40:51 +00:00
jdolecek
e9e91a0fb5 split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.
2000-12-22 22:58:52 +00:00
bjh21
0c0d8f3775 Support for identifying MAUs attached to EtherLan 200-series cards. 2000-12-22 22:21:37 +00:00
scw
8336df62f7 Some small optimisations:
o Avoid checking cputype when the kernel is built for one cpu variant only.
 o In writeback(), don't use bcopy() to write a mere 16 bytes of 16-byte
   aligned data; it's much quicker to copy it inline.
2000-12-22 21:02:05 +00:00
scw
d11562c429 A couple of minor functions which return pointers need to do so in %a0 now.
Spotted by Chuck Silvers.
2000-12-22 20:57:21 +00:00
tsutsui
7541fda9d4 Add missing printf args. 2000-12-22 18:16:37 +00:00
tv
35670ca600 Undo 1.385; put wss0 back in GENERIC.
Just like any ISA device, if you don't have the device at the configured IRQ,
you could lose if something else decides it wants that IRQ.  wss is not
a special case.
2000-12-22 16:35:51 +00:00
ad
4368af2854 In tc_fb_cnattach(): match from a table, and add #ifdef'ed out glue for the
px/pxg devices.
2000-12-22 13:33:57 +00:00
sato
b5c2090ab0 fix MC/R530's COM0 power GPIO port number. 2000-12-22 08:43:56 +00:00
sato
496cf20c43 * update HPCFB_MULTI codes
- check malloc() return value.
- disable multi screen feature when console is serial.
  XXXX: bacause hpcfb multiscreen feature buggy in serial console.
2000-12-22 08:37:17 +00:00
tsubai
8ba01dd213 Fix bus_space_write_multi_N.
(From der Mouse <mouse@Rodents.Montreal.QC.CA>)
2000-12-21 23:17:32 +00:00
thorpej
1d9aa8a803 Add Sable and Lynx support. 2000-12-21 23:05:47 +00:00
eeh
4c3121006d Use an extent map for I/O addresses instead of a base so addresses can
be both allocated and freed.
2000-12-21 22:19:21 +00:00
thorpej
f363b73f87 Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A
(Lynx), written from scratch by me over a year ago, but never committed
to the tree because there was a bug I could never quite find.  I have
fixed a few problems in the code, but still don't know if that bug is
quite fixed.  Since I don't have access to the hardware directly, I'll
have to call for testers again.
2000-12-21 20:51:53 +00:00
tsutsui
6018d57cfa Add tlp at pci.
"options TLP_MATCH_21?4?" are still commented out.
2000-12-21 13:54:09 +00:00
hubertf
4dfc667a6d Add pseudo-device vlan, OK'd by Manuel Bouyer. 2000-12-21 10:36:15 +00:00
itojun
823498203f populate _BSD_MBSTATE_T_. add warning regarding to rune_t. 2000-12-21 06:03:47 +00:00
enami
28f80d692b Redo previous slight differently. 2000-12-21 05:20:24 +00:00
enami
5575e1f704 Print cpu features line only when corresponding part of bits are set. 2000-12-21 05:11:00 +00:00
sato
bd50a7eb6a - re-disable HPCFB_MULTI which enabled by my mistake.
- fix hpcfb_show_screen()'s cursor drawing when HPCFB_MULTI is enabled.
2000-12-21 03:30:36 +00:00
sato
b3192db26e fix sc->sc_fbconf.hf_offset calculation. 2000-12-21 03:27:15 +00:00
enami
58f16f5f39 - Zero is a valid random data. Don't give up to attach.
- 4 cycle is enough to get 4 octet of data.
2000-12-21 02:43:04 +00:00
chs
fc03073896 expose the tunables ubc_nwins and ubc_winsize in uvm_param.h.
add the space used by UBC mappings to the initial PTE calculations
for pmaps that do that (mips and alpha).
2000-12-21 00:52:01 +00:00
bjh21
15d214bd18 Looks like I got the state of the link-detect bit inverted. Fixing that
gets me working auto-media selection, which is nice.
2000-12-20 23:08:44 +00:00
bjh21
9ca53819f0 Actually use 10baseT when we say we will. 2000-12-20 22:48:15 +00:00
bjh21
4a33b50a91 Add eh(4). 2000-12-20 22:17:31 +00:00
scw
00627955a1 Some minor optimisations to avoid checking {cpu,mmu}type when
the kernel was built for only one type of CPU.
2000-12-20 16:53:50 +00:00
mrg
43251365b4 com_attach_subr() prints the newline for us. 2000-12-20 16:19:09 +00:00
tsutsui
bddc90bbc3 Add atapibus at pciide. 2000-12-20 12:05:40 +00:00
bjh21
f8e732cd45 Use the podule loader code to get at the card description the official way,
and get our Ethernet address from there.  This works on both of my cards.
2000-12-20 10:59:32 +00:00
bjh21
b66603547a Add support for using RISC OS podule loaders to get at ROM chunks on podules.
By default, they aren't used, since most cards seem to put the non-OS-dependent
stuff in the main chunk directory.  i-cubed cards are a notable exception.
2000-12-20 10:57:38 +00:00
augustss
81ab9f2251 Put 'an* at isapnp?' in alphabetical order. 2000-12-20 10:44:29 +00:00
sato
1cf16cd23f fix some HPCFB_MULTI related bugs.
- confusing some screens.
- save/resume problem

(but HPCFB_MULTI is not stabe yet)
2000-12-20 09:35:40 +00:00
sato
9eb6b660b6 fix ICU address typos. 2000-12-20 08:05:09 +00:00
sato
45f1bffb11 fix bug hpcfb_redraw()'s argument all=1. 2000-12-20 08:04:27 +00:00
jeffs
a68a400049 Hook mips3 cache error vector. No real handler, only set-up for a panic.
A real handler is hard.
2000-12-20 05:48:06 +00:00
matt
f048d7e84b Start using the common mips/conf/Makefile.mips 2000-12-20 04:12:42 +00:00
matt
3ea126c565 Add Aironet. 2000-12-20 03:23:55 +00:00
matt
a0319e43fd Add pciide 2000-12-20 00:12:19 +00:00
bjh21
5b4c3dc909 Disable media autoselection entirely, but use whatever medium the card was
found using (presumably having been set up by RISC OS) as the default.
NB that this doesn't seem to be right for the EtherLan 200.
2000-12-20 00:01:56 +00:00
scw
4350a7f2b7 Unification of the m68k syscall() function. 2000-12-19 21:09:54 +00:00
thorpej
2563d39a6e This is long since obsolete. 2000-12-19 18:12:48 +00:00
matthias
ccbc30bf9c Use PMAP_SIMPLE_LOCK/PMAP_SIMPLE_UNLOCK to avoid undefined variables when
compiling without LOCKDEBUG.
2000-12-19 16:28:07 +00:00
matthias
a4d55cc0ad add missing const for callp. 2000-12-19 16:25:53 +00:00
matthias
62c3b7d1c6 fix typo. 2000-12-19 16:24:43 +00:00
matthias
172ba55ce5 Make it work again after the linediscipline changes. 2000-12-19 16:23:57 +00:00
tsutsui
3b9a83935d Remove "rnd is EXPERIMANTAL" comments. 2000-12-19 15:54:26 +00:00
tsutsui
cb7f7c7f3b Remove "rnd is EXPERIMENTAL" comments. 2000-12-19 15:51:47 +00:00
tsutsui
672fd750a9 Add pseudo-device vlan. 2000-12-19 15:45:23 +00:00
tsutsui
df19f979d4 Add pseudo-device vlan. 2000-12-19 15:43:07 +00:00
bouyer
c71f40d166 Add pseudo-device vlan 2000-12-19 10:42:02 +00:00
bouyer
ba933b24f7 Add peudo-device vlan 2000-12-19 10:34:11 +00:00
mrg
3f647a126c clockattach(): print the hostid as a 32-bit value to avoid 64-bit sign extension. 2000-12-19 05:09:06 +00:00
tsubai
a255931f5c Remove unnecessary casts. 2000-12-19 03:13:40 +00:00
tsubai
438b1e68e0 Add support for Kensington Turbo Mouse. 2000-12-19 02:59:23 +00:00
tsubai
0f4768af30 Sync with mac68k. 2000-12-19 02:50:11 +00:00
bjh21
689b0d9238 Regen 2000-12-19 00:36:54 +00:00
bjh21
6d2a9cf566 Correct i-cubed podule list from their CardType utility. 2000-12-19 00:36:26 +00:00
thorpej
f2242e9329 Gah, fix braino in last. 2000-12-18 23:41:58 +00:00
thorpej
895f21a679 Prototype freebsd_syscall_intern() in freebsd_machdep.h so that
freebsd_exec.c has access to it.
2000-12-18 23:29:46 +00:00
thorpej
ad4f387a4c Put back the INITIALLY_{ENABLED,LEVEL_TRIGGERED}() PROM brain-damage
work-around.  It's required in order for the DEC Multia (a very
brain-damaged little machine) to work properly.

Submitted by Juergen Weiss <weiss@uni-mainz.de>, addresses
port-alpha/11202.
2000-12-18 21:49:08 +00:00
scw
e82303a96d s/MDECDIR/MDEC_DIR/ 2000-12-18 21:27:01 +00:00
jdolecek
02f7f5ef0e make compilable within LKM 2000-12-18 20:49:17 +00:00
jdolecek
6701524af4 put back the rval[1] microoptimization, this is no longer used by FreeBSD emulation 2000-12-18 20:40:25 +00:00
jdolecek
2db538c869 separate the freebsd syscall code similarily to other emulations 2000-12-18 20:38:27 +00:00
mrg
32b8108b06 s/%qx/%llx/ 2000-12-18 15:57:15 +00:00
mrg
dd2f1cdf71 - rename 32bit USRSTACK32, and define USRSTACK to that if !__arch64__, so that
64bit code can see USRSTACK32
- bump the limits
2000-12-18 14:48:26 +00:00
jdolecek
214db5ca6b Store edx to rval[1], so that it won't get zeroed spuriously - this made
shared FreeBSD binaries coredump.
This solves port-i386/11708 by Atsushi Onoe.

XXX it may be worth it to split FreeBSD syscall code off syscall.c similar way
XXX as other emulations
2000-12-18 11:37:08 +00:00