mrg
d360a37afd
- remove unused variable.
...
- include <sparc64/sparc64/cache.h> to get cache_flush() prototype.
- remove an unnecessary cast.
2000-04-08 04:17:31 +00:00
mrg
34d04ff6db
include <ddb/db_output.h> to get the db_printf() prototype.
2000-04-08 03:09:00 +00:00
mrg
748cfc6b99
rearrange a little to accommodate real SUNW,psycho support.
2000-04-08 03:08:20 +00:00
mrg
70e38e4034
actually, i wrote these in 2000
2000-04-08 03:07:07 +00:00
soren
aa4c70110e
Move the start of the user stack down a little to account for the
...
virtual address checking done by the R8000 and some QED CPUs.
From Jeff Smith.
2000-04-07 21:50:08 +00:00
aymeric
8e8e291c78
Prevent serial port from hanging when used as both console and terminal.
2000-04-07 19:47:18 +00:00
nathanw
69b1a83709
Restore sysbeep (accidentally removed in last commit).
2000-04-07 18:58:09 +00:00
thorpej
4044b5a41c
Use separate callouts for motor-on and motor-off. Fixes a condition
...
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.
From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
thorpej
6dd5a9db6e
Use dev/isa/fd.c.
2000-04-07 16:35:19 +00:00
tsubai
2ca39ceddf
Make this compile again.
2000-04-07 14:35:58 +00:00
tsutsui
85bebee4a9
Use proper virtual address for some devices.
...
The transparent translation register is no longer required.
2000-04-07 12:09:30 +00:00
wiz
afc40c7421
comment out (erroneously?) added mcabus, until dev/mca exists
2000-04-06 23:55:04 +00:00
mrg
580ccd66ad
make this work with years-old new-style mdsetimage, etc.
2000-04-06 13:39:26 +00:00
jdolecek
cef3c93f82
Switch to MI ns_cksum.c - the MD ns_cksum.c is equivalent to it
...
(modulo some u_intX_t vs. u_char type usage). In particular, the
MD version didn't contain any MD code.
2000-04-06 13:37:49 +00:00
mrg
966add799c
avoid some more compiler warnings, and fix a couple of errors.
2000-04-06 13:32:49 +00:00
mrg
6b64191106
add some more casts to shut up gcc.
2000-04-06 12:49:00 +00:00
mrg
736ce53ae5
- #include "opt_ddb.h" to get correct Debugger() prototype.
...
- add some (u_long) casts to shut up GCC.
2000-04-06 12:17:26 +00:00
mrg
2809e2c3c4
cast to u_int64_t before shifting by 32 bits; avoids compiler warning.
2000-04-06 12:08:34 +00:00
is
1edce49e66
Bug fixes for 68020only or 68030only machines, by Aymeric Vincent.
2000-04-05 19:38:33 +00:00
ad
031d0221e7
Only spew about every interrupt that gets hooked up if DEBUG is defined
...
(i.e. not DIAGNOSTIC).
2000-04-05 17:49:55 +00:00
mrg
c4436b3c73
add some comments, clean this up a bit.
2000-04-05 14:30:44 +00:00
mrg
410a32c515
enable auxio at ebus.
2000-04-05 14:28:55 +00:00
mrg
21adbdd7d0
after enabling the streaming buffer, check to see that it is actually
...
there and enabled. if it appears to be missing or not enabled, do
not use it.
2000-04-05 14:26:51 +00:00
mrg
ff95126059
add a couple of comments.
2000-04-05 14:23:45 +00:00
mrg
b986c284fe
correct a message
2000-04-05 14:23:27 +00:00
mrg
cb71509569
be slightly more verbose when attaching ebus devices.
2000-04-05 12:30:42 +00:00
jdolecek
2a0b424186
LKM fixes:
...
* fix a typo in callout_stop() call
* prototype fd_mod_init(), fd_mod_free() to avoid warnings
* include iwm_mod.h
Fix sent in port-mac68k/9787 by Dave Huang.
2000-04-05 11:37:13 +00:00
jdolecek
8857b94a5c
winchip_cpu_setup(): restructure code to avoid warning when I586_CPU is not defined
2000-04-05 10:09:50 +00:00
mrg
add6dbf96c
clean this up some.
2000-04-05 08:03:03 +00:00
mrg
f4e31c4b14
attach auxio at ebus
2000-04-05 07:58:44 +00:00
mrg
9933bfdf9c
driver for the PCI/ebus AUXIO registers.
2000-04-05 07:52:48 +00:00
jdolecek
7bc4915fcd
Disable TSC on WinChip C6, add WinChip 2 & WinChip 3 entries.
...
From Kamo Hiroyasu <wd@ics.nara-wu.ac.jp> OpenBSD kern/991
via Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-04-05 07:46:33 +00:00
scottr
3ca0215f69
Correct a pasto in pm_pmgrop_pm1(); while there were no negative side
...
effects, the place this code ended up couldn't have had any positive
effect, either.
2000-04-05 07:29:18 +00:00
scottr
15a3a17a43
Correct a few instances where we returned from a function that
...
had set splhigh() but returned without restoring the previous spl.
The PowerBook keyboard works better, now, but still starts to flake
out pretty badly at 70+ wpm.
2000-04-05 07:18:07 +00:00
mrg
508af4078f
- go through a list of kernels like other ports do.
...
- don't drop off the partition from the boot device, so that we
can boot from partitions that aren't the start of the disk...
2000-04-05 06:23:33 +00:00
mrg
66ca8568fe
minor cleanup.
2000-04-05 06:21:14 +00:00
mrg
f3468bd3d8
use DPRINTF() style debug messages; s/sbus/iommu/ in a few remaining places.
2000-04-05 05:59:03 +00:00
mrg
fe2a55b12c
include opt_ddb.h. use generic iommu enter/remove/flush routines
2000-04-05 03:08:03 +00:00
mrg
ef18ba9083
include opt_ddb.h
2000-04-05 03:05:15 +00:00
mrg
7928eb6d98
add "hme at pci" support. also, add "nsphy at mii" and other mii stuff
2000-04-05 02:34:19 +00:00
pk
99dbc425e9
Use copyin/copyout to get a colormap from/to user space.
...
Also, prepare for the case of a colormap maintained in kernel space.
2000-04-04 21:47:17 +00:00
thorpej
d11a9a62e2
Fix fallout from callout.
2000-04-04 17:20:54 +00:00
aymeric
fdbfdd90f2
added two vaddr_t casts so that this compiles again with -DDEBUG
2000-04-03 15:07:07 +00:00
soda
1c5551f260
splsoftnet() should block softclock() too.
2000-04-03 11:44:19 +00:00
tsubai
c1acffff5c
When call a signal handler, don't pass the kernel (local) address in r5.
2000-04-03 10:23:24 +00:00
simonb
9edec906b5
Removing trailing comma from enum declaration.
2000-04-03 05:58:31 +00:00
sato
8bf945e9b3
push power button, send POWERCONTROL_LCD event.
2000-04-03 04:32:00 +00:00
sato
0f3ba7133a
MCR-300, MC-CS LCD on/off port.
2000-04-03 04:31:05 +00:00
sato
126ead3471
add some events.
2000-04-03 03:48:42 +00:00
sato
c1f0f12753
- hpcmips_verbose
...
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
2000-04-03 03:39:58 +00:00
sato
7782859d5b
mips_hardware_intr is defined in <mips/intr.h>
2000-04-03 03:37:25 +00:00
sato
1e2f627e0b
- virtual TEXT vram implimentation.
...
- optimize scroll.
- hardware accelerator hooking mechanism (initianly, maybe change..)
- multiscreen (some bugs, so currently disabled)
- if you want disable above codes, #define HPCFB_DISABLE.
2000-04-03 03:35:37 +00:00
thorpej
156114a02f
Use the new cpu_amask variable rather than calling alpha_implver() and
...
alpha_amask() ourselves.
2000-04-03 01:48:07 +00:00
thorpej
55287d7159
Print any architecture extensions present on the primary CPU.
2000-04-03 01:47:28 +00:00
thorpej
dbcb4cee48
Fix a typo in a previous revision, and add bit names for amask bits for
...
use with bitmask_snprintf().
2000-04-03 01:10:17 +00:00
mycroft
cfeee7a4ef
Enable de, since tlp doesn't support one of my cards.
2000-04-03 01:04:36 +00:00
soren
076e3ffa1c
Update.
2000-04-03 00:20:11 +00:00
augustss
9a31a8c77f
Add atapibus* at umass?
2000-04-03 00:03:28 +00:00
thorpej
2bc5adb20e
Instead of checking vm_physmem[<physseg>].pgs to determine if
...
uvm_page_init() has completed, add a boolean uvm.page_init_done,
and test against that. Use this same boolean (rather than
pmap_initialized) in pmap_growkernel() to determine if we are
being called via uvm_page_init() to grow the kernel address space.
This fixes a problem on some i386 configurations where pmap_init()
itself was needing to have the kernel page table grown, and since
pmap_initialized was not yet set to TRUE, pmap_growkernel() was
choosing the wrong code path.
Fix tested by Havard Eidnes.
2000-04-02 20:39:14 +00:00
thorpej
d8be1024c1
Make this compile again after the callout changes.
2000-04-02 19:54:29 +00:00
minoura
78b105698a
Move dl* function definitions to libc on ELF.
...
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html .
2000-04-02 15:35:47 +00:00
tsubai
b18b370715
Make sure color rgb:0/0/0 is black.
2000-04-02 12:53:05 +00:00
tsubai
7df13bfec7
Enable wdc1 (needed on StarMax).
2000-04-02 12:36:38 +00:00
tsubai
e352cada4b
Make this compile again.
2000-04-02 12:03:04 +00:00
is
389ed19c62
Start to define an INSTALL kernel.
2000-04-01 20:21:27 +00:00
soren
5932e9f765
Match new prototype of pciide_dma_start in pciide.c.
2000-04-01 20:17:12 +00:00
tsutsui
ef28a8deb8
Typo. (callout_rest -> callout_reset)
2000-04-01 14:41:13 +00:00
tsutsui
294b27df46
Fix typo. (s/sc_adapter/sc_link/)
2000-04-01 14:38:42 +00:00
tsutsui
3d917bfc34
Add OVERLAY and RAID_AUTOCONFIG. (sync with GENERIC)
2000-04-01 14:00:29 +00:00
takemura
9afabc7add
Recompile binaries for Mobile Pro 700.
2000-04-01 02:37:23 +00:00
ragge
fe43e9f08f
Fix spelling error.
2000-03-31 18:40:58 +00:00
soren
0551ccb4d4
Typo.
2000-03-31 15:00:49 +00:00
soren
278498c05f
Some cleanups.
2000-03-31 14:51:49 +00:00
tsutsui
8c8679f1ac
Remove declaration of kd_rom_intr(). It is not needed on sun3.
2000-03-31 14:24:03 +00:00
tsutsui
49e70b6653
Add include <vm/vm.h> and <uvm/uvm_extern.h> for
...
declaration of uvm_swapin(), which is no longer in <sys/proc.h>.
2000-03-31 14:18:53 +00:00
jun
657c5b4130
add Mobile Pro 700
2000-03-31 13:01:17 +00:00
pk
b6a73eb3a1
Make this compile without RASTERCONSOLE too.
2000-03-31 12:58:54 +00:00
jun
ad4db7ca62
add NEC Mobile Pro 700
2000-03-31 12:53:06 +00:00
jun
2c3c66ea0c
regen.
2000-03-31 12:46:23 +00:00
soda
18dbe75d6e
cancel previous change, and add a comment about it.
...
$INCS variable is introduced by cgd to export kernel headers which
are needed from userland. In other words, $INC should only have
headers for kernel <-> userland programming interface.
Headers for kernel internal implementation should not be exported
to userland.
2000-03-31 11:44:05 +00:00
scottr
4d23f7686d
Attach all displays, keyboards, and mice, not just the first
...
ones found.
2000-03-31 08:27:43 +00:00
tsarna
56e25c18bb
Add and enable auvia
2000-03-31 04:47:52 +00:00
soren
fab7d466f3
Add little to-do list.
2000-03-30 22:14:17 +00:00
soren
70abbd3c24
Crude kernel installer.
2000-03-30 21:46:16 +00:00
soren
e204cb3eb9
machine/cpu.h includes mips/cpuregs.h.
2000-03-30 21:37:51 +00:00
soren
80e6d43253
Add asm.h like other ports.
2000-03-30 21:33:30 +00:00
soren
726573bf96
Match contents.
2000-03-30 21:33:19 +00:00
is
b2a8826b6a
The cfunit (ab)use fix broke the Amiga early console autoconfiguration.
2000-03-30 20:58:39 +00:00
soren
471a03f8f6
Remove local hack.
2000-03-30 20:08:37 +00:00
soren
712cb103ff
Customary GENERIC configuration.
...
Unfortunately, the Cobalt firmware seems to fail loading kernels larger
than about 2.5 megs before compression, so without a boot loader, this
is a rather amputated GENERIC.
2000-03-30 20:01:02 +00:00
augustss
dbf4f91643
Add (commented out) uvisor driver.
2000-03-30 17:01:01 +00:00
jun
c852fae661
add MobilePro700
2000-03-30 16:26:51 +00:00
jdolecek
fde0c4e6e0
Prototype vtophys() before defining it. Needed for compilation with
...
-Wstrict prototypes on macppc.
Problem noted by Hans-Christian Becker <hcb@phc.chalmers.se> in private mail.
2000-03-30 16:18:24 +00:00
simonb
bf851ea6cb
Nuke register.
2000-03-30 14:45:04 +00:00
simonb
6e0357239a
Nuke register, diddle a bit of indentation in some function declarations.
2000-03-30 14:36:30 +00:00
pk
a41d265271
Add hardware acceleration features for use with the RASTERCONSOLE option.
...
Code posted on port-sparc by `der Mouse'; it was slightly re-arranged to
fit the layout of this driver.
2000-03-30 13:57:50 +00:00
leo
469b432d2d
Make this compile with -DDEBUG
2000-03-30 13:28:28 +00:00
tsutsui
58714261cc
Remove register declarations.
2000-03-30 11:37:21 +00:00
sato
9f9ade2b2c
add MC-CS backlight control.
2000-03-30 08:41:48 +00:00
sato
b2f06b320c
fix mapping.
2000-03-30 03:29:47 +00:00
soren
71398b0ad8
With e.g. mbr_bootsel, the boot loader just exits rather than reboot,
...
so print that.
2000-03-29 14:29:34 +00:00
leo
27d334cf76
Nuke a bunch of cf_unit abuses.
2000-03-29 14:19:22 +00:00
simonb
9308187dbf
Remove redundant decl of consinit() - it's in <sys/systm.h>.
...
Remove duplicate definition of delay() - we only need one in this file.
2000-03-29 03:54:03 +00:00
simonb
0edd529101
Extern declaration of cputype.
2000-03-29 03:50:40 +00:00
simonb
5b911637a1
Remove redundant decl for phys_map - it's in <vm/vm_kern.h>.
2000-03-29 03:49:48 +00:00
simonb
868578431b
Remove redundant decl for physmem - it's in <sys/systm.h>.
2000-03-29 03:49:02 +00:00
simonb
e764ed49e6
Remove redundant decl of msgbufmapped - it's in <sys/msgbuf.h>.
2000-03-29 03:48:20 +00:00
simonb
9ff7681a33
Don't need to include <sys/conf.h> here.
2000-03-29 03:43:31 +00:00
enami
4feca5e9ea
Remove unnecessary cast in previous. Pointed out by shin@netbsd.org.
2000-03-29 03:09:15 +00:00
simonb
d7a08fd8c5
Don't declare a variable in the 'struct platform' declaration - we declare
...
an extern for 'struct platform platform' further down this file anyway,
and this would have declared a 'platform' variable in any userland code
including this file.
2000-03-29 02:59:18 +00:00
simonb
2f1fef39b3
Centralise the declarations of cpu_model, machine, machine_arch,
...
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).
Also delete redunctant decl of boottime in kern_info_43.c.
2000-03-28 23:57:24 +00:00
is
91d927ae42
synchronize to GENERIC
2000-03-28 20:17:14 +00:00
thorpej
6b45fb25a9
The assembler understands rdmsr, wrmsr, rdtsc, and rdpmc, so there's
...
no need to use .byte.
2000-03-28 19:17:29 +00:00
thorpej
fd21635b22
Extern cpu_id and cpu_vendor[] here.
2000-03-28 19:16:05 +00:00
thorpej
a142c171d0
Add: cmpxchg8b, wrmsr, rdtsc, rdmsr, rdpmc, rsm. From FreeBSD.
2000-03-28 19:15:40 +00:00
nisimura
1b0c1f4d0d
Abandon the initial microscale optimization of pmap_alloc_asid(),
...
leaving the second change intact. It'd be rather less costly to
extend the case analysis.
2000-03-28 05:58:33 +00:00
simonb
6060929e8e
Move fpcurproc declaration to <mips/cpu.h>.
2000-03-28 03:11:26 +00:00
simonb
ef89d70178
Don't `extern' function declarations. While we're there, remove trailing
...
blank lines and white space.
2000-03-28 02:58:44 +00:00
simonb
ea6aa0dc3c
Use the recent alpha solution to getting the printf() format right in
...
mips_init_msgbuf().
2000-03-28 02:53:18 +00:00
thorpej
0c4b7c7531
Add functions to read the TSC and Performance Counters.
2000-03-28 01:38:22 +00:00
simonb
338105f94b
Make declaration of curpcb variable extern.
2000-03-28 01:06:04 +00:00
simonb
a833cd73e8
Remove duplicate declaration of pmap_is_page_ro() (in <mips/pte.h> and
...
pmap_zero_page() (in <vm/pmap.h>).
2000-03-28 01:04:22 +00:00
nisimura
464669d1ef
The previous microscale optimazation in pmap_asid_alloc() was
...
half-baked and resulted in one superfluous ASID bump if new pmaps
are created when pmap_asid_generation > 0. Need to initialize pmap
fields correctly.
Yet, this possibly might not be the perfect solution. If one
process bumped pmap_asid_generation _after_ a new pmap was created
and initialized with then-current pmap_asid_generation value. In
that case, the new pmap would have another (superfluous) ASID bump
when 2nd (not 1st) CPU tick is assigned. I'm not sure if this case
would happen.
Have pmap_max_asid variable to hold the maximum number of ASID
(TLBpid) supported by processor anticipating the possible runtime
cost of ((CPUISMIPS3)? MIPS3_TLB_NUM_ASIDS : MIPS1_TLB_NUM_PIDS).
2000-03-28 01:00:00 +00:00
simonb
8ae7eeef11
Remove redundant declarations of mips3_cycle_count(), stacktrace(),
...
logstacktrace(), mips_idle() and cpu_switch() - these are already
declared in various header files.
2000-03-28 00:55:33 +00:00
simonb
d0e1814cba
Remove duplication declarations of Sysmap and Sysmapsize - these are
...
in <mips/pte.h>
2000-03-28 00:52:57 +00:00
nisimura
73fa1ce87f
Change 'goto cpu_switch1' to 'goto cpu_switch_queuescan' in vr_idle.S
...
and make the jump destination global.
2000-03-28 00:24:04 +00:00
thorpej
f4f96605b9
Add/correct some MSRs, from Intel Architecture Software Developer's Manual,
...
Volume 3 (System Programming).
2000-03-27 23:15:57 +00:00
scottr
10c763efa3
The declaration for esp has moved to conf/files. (Hi Charles!)
2000-03-27 21:47:46 +00:00
nonaka
c1a7a27642
rewrite some bus_space functions like port-i386.
2000-03-27 16:45:41 +00:00
msaitoh
35ba37f2f7
fix the sci[f]cninit() bugs to work both SCI and SCIF at the same time.
2000-03-27 16:24:08 +00:00
minoura
87bc025f49
Move par under intio.
2000-03-27 15:53:04 +00:00
minoura
f23d278c1d
Make this compile (typo in callout change).
2000-03-27 15:49:34 +00:00
leo
d4ff1a5f4e
This file was forgotten in the commit with log message:
...
Move the ite_default_* variables to ite.c. They are generic ite.
2000-03-27 14:08:39 +00:00
soda
ccc163be60
-Wmissing-prototypes cleanup
2000-03-27 11:29:32 +00:00
soda
4531dedece
fix typo in timeout -> callout transition.
2000-03-27 11:22:51 +00:00
nisimura
fa6012454d
It's not necessary to (re-) assign pmap->pm_asidgen whenever ASID
...
(TLBpid) is bumped. It's ok just in the case when pmap_asid_generation
is bumped.
2000-03-27 08:56:21 +00:00
enami
b31c6d62e2
Fix previous in a different way.
2000-03-27 06:41:02 +00:00
nisimura
06b4feb7d6
Have TBIA/TBIAP an argument refering to a global variable instead
...
of a compile time constant.
2000-03-27 05:30:40 +00:00
nisimura
5987070300
- Rename some of TLB ops to have handy abbrivations hired from VAX and
...
ALPHA; mips1_TBIA, mips1_TBIAP, mips1_TBIS.
- Make sure TBIA and TBIAP ops to have an argument for the size of TLB
which varies across even for MIPS1 implementations.
- Nuke the unused cpu_isa field from processor personality list.
- XXX XXX XXX
it's less-than-optimal and likely a mistake to have TLBUpdate().
It's costy to try to invalidate a single TLB entry whenver a certain
PTE is going to be modified by traversing the entire TLB looking
for the modified PTE because the PTE in question is not in TLB in
most cases. ASID bump could do the invalidation smartly. Solution
is planned for now.
2000-03-27 05:23:42 +00:00
nisimura
cbab853044
Rename sw1 label found in cpu_switch() to cpu_switch_queuescan,
...
abandoning unnecessary .globl because switch_exit() is handsomely
common between MIPS1 and MIPS3.
2000-03-27 04:52:11 +00:00
enami
24a0efebab
Fix compilation error (printf format mismatch) due to recent round_page()
...
change. While I'm here I fold the long line.
2000-03-27 04:01:54 +00:00
nisimura
24571569fa
Nuke MIPS_16K_PAGE conditional which should be commited in. It
...
was used for debugg'n purposes which only make senses on particular
hardware configurations and has never been intended to extend pagesize
of NetBSD/mips.
2000-03-27 02:55:13 +00:00
nisimura
0076cd46eb
- Nuke unnecessary cast.
...
- Change comments on cpu_startup() so as what it does (XXX found mostly
common across ports).
- Retain UNIX heritage of /* Good {morning,afternoon,evening,night} */.
2000-03-27 01:51:17 +00:00
nisimura
795ee9db8e
Remove unnecessary bzero() op for proc0's USPACE as pmap_steal_memory()
...
returns a nullified area.
2000-03-27 01:24:55 +00:00
mycroft
b0a227745b
Add IPsec.
2000-03-26 21:35:48 +00:00
kleink
230876cf26
Merge parts of chs-ubc2 into the trunk:
...
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
make them type-generic, which is necessary i.e. to operate on file offsets
without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
integral type (paddr_t, vaddr_t).
Originally done by Chuck Silvers, updated by myself.
2000-03-26 20:42:21 +00:00
martin
0a1221cb28
Added a PCI frontend for the legacy ISA joystick driver.
...
Some PCI soundcards don't seem to use the generic gameport function with
interface 0x10 used here, but have either an own BAR dedicated to this
(i.e. Sonic Vibes or ESS Solo-1) or specify their own device (see
PCI_PRODUCT_CREATIVELABS_SBJOY in sys/dev/pci/pcidevs.h).
Probably these use a similar simple sheme and adding a frontend for them would
be trivial, but I don't own any of these cards, so I didn't.
2000-03-26 15:36:48 +00:00
ragge
aef1518cd8
Implement bi_intr_establish(). Add some fields about which CPU to interrupt.
2000-03-26 11:41:25 +00:00
ragge
dd359f65dd
Need some vectors and pointers to be set before IPL is lowered.
2000-03-26 11:40:31 +00:00
ragge
b81cd3fa6b
Identify ourselves.
2000-03-26 11:39:45 +00:00
nisimura
ae55376f19
- Remove unused bt459reg.h.
...
- sfbvar.h has gone, placing patch on holes for now. Every TC framebuffer
has a single explosure of xxfb_cnattach() which could be bridged by MI
land.
2000-03-26 10:32:51 +00:00
frueauf
440814a0b5
Add "struct device sc_dev;" to struct par_softc.
...
Reviewed by Ignatios Souvatzis.
2000-03-26 10:15:32 +00:00
tsubai
ffdaae73e0
Enable gmac ethernet.
2000-03-26 09:16:01 +00:00
tsubai
f8a898cb1d
Use ring buffer on tx side, too.
2000-03-26 09:15:17 +00:00
tsubai
5684221bbd
esp declaration was moved to conf/files.
2000-03-26 08:34:20 +00:00
tsubai
d806694e39
Fix typo.
2000-03-26 08:29:12 +00:00
is
40b550935e
provide CCITT includes, and work around namespace collision
2000-03-26 07:52:58 +00:00
nisimura
c4dd0cba64
Add 'struct callout repeat_ch;' in ACCESS.bus softc storage.
2000-03-26 06:51:46 +00:00
nisimura
99806742c0
Remove local implementation switching to accelerated MI sfb.c.
2000-03-26 05:52:17 +00:00
tsutsui
5513a809b2
Remove duplicated "audio* at uaudio?" line.
2000-03-26 04:31:39 +00:00
scw
8b9e435d47
Nuke some warnings when KERNEL_DEBUG is defined.
2000-03-25 21:26:47 +00:00
frueauf
01643c9f97
Fix typo: calllout_reset -> callout_reset.
2000-03-25 20:14:44 +00:00
uch
398dafb09a
enable USB staff.
2000-03-25 19:05:45 +00:00
tsutsui
9100212ef0
Add a "sc_rev" member to ncr5380_softc and handle CXD1180 quirk
...
in MI ncr5380sbc.
2000-03-25 15:27:54 +00:00
uch
807350797d
cosmetic change.
2000-03-25 15:12:04 +00:00
uch
7832b88a4a
-G 30 -> -G 24
2000-03-25 15:11:08 +00:00
uch
f9204d0a57
TOSHIBA TC6358TB(PLUM2) OHCI module support.
2000-03-25 15:08:26 +00:00
uch
58bae8effe
bus_dma. taken from pmax.
2000-03-25 15:04:32 +00:00
nisimura
61609b54e2
Make sure proc0 PCB has spl0 condition in CP0 status register field.
...
cpu_fork() mistakenly created processes forked by proc0, including
kthreads, in splhigh condition, because [1] proc0's PCB was zero
cleared during initialization, and [2] value 0 in status register
field made processes to have splhigh condition when CPU tick was
assigned for them. This mostly doesn't matter as forked processes
dive immediately into user mode through proc_trampoline code path,
however, kthreads never do that and remain in splhigh.
Reported by Ethan Solomita <ethan@geocast.com>.
2000-03-25 10:14:13 +00:00
nisimura
b6b06284ce
Add QED RM7000 PrID.
2000-03-25 06:33:50 +00:00
nonaka
567afae35f
add some devices
2000-03-25 04:13:54 +00:00
nonaka
31dc574dbc
more fixup pci base address
2000-03-25 04:12:20 +00:00
msaitoh
ddb9af1bfe
set SQMD bit when sh4
2000-03-25 03:07:29 +00:00
msaitoh
b39aeb4493
use BSC_PCR_VAL
2000-03-25 02:51:57 +00:00
soren
573160e03b
Revert previous.
2000-03-24 23:06:03 +00:00
soren
c535ede30b
Move sysctl definitions from arch/mips to arch/foo.
2000-03-24 21:30:58 +00:00
soren
5f168212c9
Fix typo.
2000-03-24 21:25:32 +00:00
soren
a0c624dd3d
Remove FPU PRIDs that are identical to the CPU ones.
2000-03-24 20:48:20 +00:00
soren
b2386045f0
Protect against multiple inclusion.
2000-03-24 20:16:27 +00:00
thorpej
e84ce772ff
Add some MSR-related calls. From FreeBSD.
2000-03-24 19:07:12 +00:00
thorpej
b05796c812
Add some Model Specific Register definitions. From FreeBSD.
2000-03-24 19:06:07 +00:00
soren
059fe2fbb2
One instruction per line.
2000-03-24 18:16:33 +00:00
soren
2531a231d2
Missing in previous; set cache alias mask properly on processors with
...
two-way set associative L1 caches.
2000-03-24 18:15:41 +00:00
ws
b7570cae85
Update several ports to at least work again without IPKDB
...
after the update of that.
Sorry for breaking this with my last changes :-(.
Fixes PR#9671 by Lennart Augustsson.
2000-03-24 17:05:30 +00:00
soren
0a40850f62
Let's try NCR_IOMAPPED.
2000-03-24 13:08:30 +00:00
hannken
43e3ea96f3
Fix typos from last commit (callout).
2000-03-24 11:46:46 +00:00
hannken
f7049d302a
Fix a typo from last commit.
2000-03-24 10:30:12 +00:00
nisimura
58e4b0efbe
A minimal fix to make this compilable.
2000-03-24 08:24:29 +00:00
nisimura
3af954d380
Have ST_REG_SR mnemonic for status register consistent with others.
2000-03-24 02:02:03 +00:00
thorpej
4ad898818b
Fallout from callout.
2000-03-24 01:04:11 +00:00
is
128258c1a2
Initial IOBlix support. Only lpt and com; lpt untested; com assumes 24 MHz
...
clock (needs autoprobe of clock speed).
2000-03-23 22:44:42 +00:00
soren
1c965174b0
Make MIPS1+MIPS3 compile again.
2000-03-23 14:49:29 +00:00
ad
9753adee2f
Previous was incomplete. Tsk.
2000-03-23 13:49:49 +00:00
nisimura
608ce86497
- Have physical address for MIPS_PHYS_TO_KSEG1() macro.
...
- Make consistent function declarations.
- White spaces.
2000-03-23 08:09:54 +00:00
thorpej
7b918b4088
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:40:33 +00:00
thorpej
b667a5a357
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
mycroft
58d6d5d60c
Add awi.
2000-03-23 04:43:41 +00:00
thorpej
3e93b28029
Use a software interrupt for tty input processing, not a callout.
2000-03-23 01:04:10 +00:00
soren
f3ca63ef9e
Note that this is just for compatibility.
2000-03-22 21:15:59 +00:00
ws
7da71e5f9e
Make IPKDB working again.
...
Add support for i386 debugging and pci-based ne2000 boards.
2000-03-22 20:58:25 +00:00
soren
5be5f12199
The firmware uses the clock in BCD mode.
2000-03-22 20:38:22 +00:00
soren
793382b291
Revert to the same scheme as the other MBR-using ports.
2000-03-22 20:38:05 +00:00
msaitoh
95d45d57b0
cleanup(KNF)
2000-03-22 19:07:43 +00:00
msaitoh
6c5256cfd7
cleanup
...
- remove unused functions
- KNF
2000-03-22 18:48:25 +00:00
onoe
5644a7e248
Update awi driver, which now supports AMD 79c930 based 802.11 DS cards
...
as well as 802.11 FH cards. Also, it can operate in infrastructure mode,
adhoc mode, and wi(4) (aka WaveLAN/IEEE) compatible adhoc mode.
2000-03-22 11:22:20 +00:00
onoe
ba09a212c8
renamed the variable $NEWS to $NEWSMIPS.
2000-03-22 10:39:25 +00:00
onoe
3260e7d0f6
Use $S ($NEWS) for kern.ldscript instead of relative path
...
so that "build" directive or -b option of config(8) works.
2000-03-22 10:22:37 +00:00
cgd
7c35662066
add commented out option PCI_CONFIG_DUMP whever there's a PCIVERBOSE.
2000-03-22 00:58:16 +00:00
pk
3b3bcd2a10
The global `mmu_3l' has been obsolete for a long time already.
2000-03-21 21:30:33 +00:00
pk
b5b8fcc5b5
Nuke global `fbnode'.
2000-03-21 21:29:16 +00:00
ad
76505a757a
We can boot from "ca" disks.
2000-03-21 19:38:24 +00:00
deberg
4eaf8d2b77
s/mac/NeXT/
2000-03-21 17:31:12 +00:00
deberg
87395c5b3e
enable COMPAT_M68K4K - works fine w/ native toolchain and pkgsrc m68k
...
cross toolchain. closes port-next68k/6726.
2000-03-21 16:44:01 +00:00
pk
5eb7625f42
findzs() is now used only by the kgbd initialision code.
2000-03-21 12:48:45 +00:00
pk
2db200ad14
Missing _C_LABEL().
2000-03-21 12:47:02 +00:00
pk
c5bbc50487
Delete debugging printf().
2000-03-21 11:24:02 +00:00
pk
3eb54fdef9
We need cons_attach_input().
2000-03-21 10:56:23 +00:00
soda
0dadd7f429
if there is MBR, but there isn't BSD MBR partition entry,
...
writedisklabel(9) paniced.
pointed out and fixed by Shuichiro URATA <ur@a-r.org>, thanks.
2000-03-21 09:44:57 +00:00
itojun
fb2faae278
add prototype for ip6intr (not tested).
2000-03-21 04:42:57 +00:00
soren
826e64bd17
Add math.h.
2000-03-21 02:48:17 +00:00
soren
7db0d53d01
Add math.h.
2000-03-21 02:30:42 +00:00
soren
28fba2d433
Blocking soft interrupts can be useful..
2000-03-21 02:27:50 +00:00
soren
82f0c9bf4a
Add bounds_check_with_label().
2000-03-21 02:26:48 +00:00
thorpej
800e276128
Fix INTRCNT_DEC_550_IRQ_LEN. From Nathan Williams.
2000-03-21 02:17:11 +00:00
soren
b124a5ec8d
Extend the evil interrupt kludge to the second ethernet.
2000-03-21 01:05:53 +00:00
msaitoh
d2be696634
use SDMR2 and SDMR3
2000-03-20 22:27:16 +00:00
msaitoh
c5d98a393d
COFF's /sbin/osloader
2000-03-20 21:24:54 +00:00
msaitoh
826aac6ff8
- Use macro
...
- RTCCNT is not 16000Hz but 16384Hz (not used)
- fix the bug in 16bit int <-> BCD conversion macro (SH4)
2000-03-20 20:44:32 +00:00
msaitoh
7052a2af38
Add the definitions of SH4's TPSC field of TCR register
...
(This field is not compatible with SH3's)
2000-03-20 20:36:58 +00:00
msaitoh
ff49b7006c
move MMUCR register definitions into mmureg.h
2000-03-20 20:30:33 +00:00
msaitoh
f1a4c4f9e7
Computex's SH7750 evaluation board
2000-03-20 20:11:00 +00:00
takemura
6e8bcbe821
Built in video supports get/set color map.
2000-03-20 12:45:41 +00:00
soren
d71e4cbde1
Use correct MACHINE_ARCH.
2000-03-20 12:26:11 +00:00
pk
436638ab3a
Call rcons_ttyinit() on first open.
2000-03-20 11:27:16 +00:00
takemura
9a04280130
Change color map and share color map data with kernel part.
2000-03-20 10:47:33 +00:00
scottr
7dbb8560d6
Revert to the old practice of always setting up MRG, even if we don't
...
need it for ADB. Besides the misleading message at autoconf time,
MRG is sometimes useful for things other than ADB.
2000-03-20 08:07:52 +00:00
mycroft
18d0b53078
Need CD9660 now...
2000-03-20 06:10:45 +00:00
thorpej
3eed2414e5
Handle a few more SPECIAL intructions.
2000-03-20 02:54:45 +00:00
thorpej
3c8d09cc56
Update the amask bits.
2000-03-20 02:19:44 +00:00
soren
4c547143d4
NetBSD/cobalt. Work-in-progress.
2000-03-19 23:07:43 +00:00
mycroft
cb42a200a1
Add scsibus at esp.
2000-03-19 22:35:43 +00:00
mycroft
1a5e8d741b
Add esp at pcmcia.
2000-03-19 22:32:59 +00:00
mycroft
04b6cd3a5d
Add esp at pcmcia.
2000-03-19 21:56:11 +00:00
soren
64bcb49a2e
Updated RM5231 cache code from Jeff Smith and Ethan Solomita at Geocast.
...
Many thanks.
2000-03-19 19:16:13 +00:00
tron
6c390b4142
Fix bad function calls discovered after prototype fixes in last commit.
2000-03-19 19:14:42 +00:00
tsutsui
78557dc2c6
Sync with MI ncr5380sbc changes.
...
XXX CXD1180 quirk code should be merged into the MI ncr5380sbc driver...
2000-03-19 16:28:04 +00:00
tsutsui
3fe78f266a
Make booted_device variable global for raidframe.
2000-03-19 16:24:38 +00:00
pk
c1813da35e
Use fb_is_console(); retract fbconstty & fbnode from service.
2000-03-19 15:38:45 +00:00
pk
aca7e7fa24
Just don't force the baud rate in the driver, ever.
2000-03-19 14:58:02 +00:00
ragge
f9f885519d
First cut of multiprocessor support for vax. Still much to do before
...
other CPUs than the master can spin up.
2000-03-19 14:56:52 +00:00