Commit Graph

83236 Commits

Author SHA1 Message Date
uwe
2a48f4de87 Switch dreamcast to MI todr(9).
Dreamcast does not use SuperH on-chip RTC, so do it seprately from
other sh3 ports.  Convert dreamcast rtc code into a real device
instead of searching/attaching it manually.

Tested by Nick Hudson.
2006-09-05 11:09:36 +00:00
manu
ea514e44f5 typo 2006-09-05 08:17:09 +00:00
gdamore
86352b01a2 Convert to MI todr. 2006-09-05 07:34:54 +00:00
gdamore
113dbc3b0d Update sun3 to use timecounters (interrupt clock only) and generic-todr. 2006-09-05 06:45:05 +00:00
garbled
38209f62b7 Convert prep to MI todr 2006-09-05 06:32:21 +00:00
mhitch
14c9ea00e0 Switch amiga to MI todr. 2006-09-05 05:32:30 +00:00
matt
3aa5e506b7 Rewrite of red-black tree code. 2006-09-05 04:35:45 +00:00
oster
f23a530674 Per a suggestion from Manuel, make numBlocks and partitionSize
unsigned for now.  This prevents rf_reasonable_label() from rejecting
a valid label when these fields have an integer overflow.  The reality
is that these need to be 64-bit quantities, but that will come later.
2006-09-05 01:55:21 +00:00
rumble
f30a520560 Switch sgimips to MI todr. 2006-09-05 01:38:59 +00:00
gdamore
c119401402 Update algor clock handling. This includes using the common mc146818
support code, using the common MIPS 3 cp0 based interrupt code, adding
time counters, and using the generic TODR code.

Unfortunately, due to lack of hardware, I don't know for sure that any
of this works, though the same code in evbmips works.  Commiting anyway,
ok'd by simon@.
2006-09-05 01:33:24 +00:00
rpaulo
2fb2ae3251 Import of TCP ECN algorithm for congestion control.
Both available for IPv4 and IPv6.
Basic implementation test results are available at
http://netbsd-soc.sourceforge.net/projects/ecn/testresults.html.

Work sponsored by the Google Summer of Code project 2006.
Special thanks to Kentaro Kurahone, Allen Briggs and Matt Thomas for their
help, comments and support during the project.
2006-09-05 00:29:35 +00:00
uwe
6ee025d984 general_exception: g/c infinite loop after the call to panic. 2006-09-04 23:57:52 +00:00
gdamore
a37acb1b52 Remove unused todr_setcal/todr_getcal and all the assorted stub
implementations.
2006-09-04 23:45:30 +00:00
dan
1860a17382 typo in debug printf 2006-09-04 22:51:42 +00:00
uwe
fc43c0c3f5 s/0/NULL/ for pointers. 2006-09-04 22:10:50 +00:00
rumble
fc6e81a8cb Check the haltwo hardware present bit in the match function, rather than
in the attach function after we've thwacked several registers and
potentially wedged the machine. This fixes booting on Challenge S systems
and addresses PR 25202.

Consequently, re-enable haltwo in the default kernel configuration.

Many thanks to George Harvey for testing and feedback.
2006-09-04 22:06:06 +00:00
scw
456695f0eb The kernel is built with "-mdiv=call", so add a __sdivsi3_1 alias
for __sdivsi3.
2006-09-04 20:44:48 +00:00
scw
dc27fa975f Set the division strategy to 'call' to avoid explicit references to
'div_table' when the default 'call2' is used.
2006-09-04 20:43:01 +00:00
tsutsui
9bdabd4316 Switch newsmips to MI todr. 2006-09-04 20:33:24 +00:00
tsutsui
8c3452b4f9 Switch news68k to MI todr. 2006-09-04 20:32:57 +00:00
tsutsui
a80eefbb0e Switch hp300 to MI todr. 2006-09-04 20:32:11 +00:00
tsutsui
220a3453b5 Switch ews4800mips to MI todr. 2006-09-04 20:31:30 +00:00
tsutsui
087695a56b Switch cobalt to MI todr. 2006-09-04 20:30:40 +00:00
scw
998e6a1552 Drop the volatile qualifier from switch_exit()'s prototype. 2006-09-04 20:10:42 +00:00
scw
163f415b3f Appease gcc4. 2006-09-04 20:09:55 +00:00
scw
a5ff553c53 Rearrange some code to avoid a gcc4 'possibly uninitialised variable' warning. 2006-09-04 20:08:56 +00:00
scw
5cd57a5a0f Pull in <sys/evcnt.h> 2006-09-04 20:05:45 +00:00
scw
19dac2e487 Remove unused r_sp #define. 2006-09-04 20:05:12 +00:00
martin
16f200486d Add support for IO-DATA's USB-Serial adapter (USB-RSAQ3),
from Keiichi SHIMA.
2006-09-04 15:39:39 +00:00
yamt
ff1a471a3b nfs_ispublicfh: fix another instance of cast-qual. 2006-09-04 08:38:16 +00:00
yamt
80fe9dcf8f remove (void *) cast from NFSRVFH_DATA as it sometimes
discards const qualifier.  pointed out by Havard Eidnes.
(it wasn't detected by in-tree gcc4.  seems like a compiler bug.)
2006-09-04 08:27:49 +00:00
gdamore
1f585717a8 This is a boat-load of changes designed to finish parameterizing the
stuff necessary to separate out AR5312 from AR5315.  This includes:

	1) rework of arbus IRQs, so that IRQs are now seperately specified
	   as either MISC or CPU irqs
	2) move board/chip-specific addresses into chip-dependent file
	3) unencumber argpio from ar5312 specifics, using properties to pass
	   details such as reset-pin and sysled-pin.
	4) an option to select which WiSoC is to be configured is provided.

AR5315 support should be forthcoming shortly now.
2006-09-04 05:17:26 +00:00
macallan
9de94f8e2e trying to use IDE DMA on a Heathrow macio is busted so disable it for now. 2006-09-04 03:44:10 +00:00
perry
e2420ca184 Undo static declaration on gettick -- lapic.c uses it.
Pointed out by Geoff Wing (mason at primenet.com.au)
2006-09-04 03:07:52 +00:00
perry
225449e795 switch to a common clock.c 2006-09-04 02:16:03 +00:00
perry
a8054af60a The i386 and amd64 versions are now identical. They'll get moved to
arch/x86 soon. Ultimately the functionality should be split
into different files for i8254, mc146818 and pcppi.
2006-09-04 01:40:19 +00:00
perry
a82c8b386d The amd64 and i386 versions of this file both got some variables
renamed to avoid shadowing. The amd64 names are a bit easier to
understand, so switch to them here.
2006-09-04 01:06:01 +00:00
simonb
58f251e245 Catch up with changes from files in arch/i386/include to make compiling
happier with new compilers and compiler warnings settings.
2006-09-04 01:04:29 +00:00
perry
fa4b595579 Fix static function declarations. 2006-09-04 00:56:08 +00:00
riz
2f9f5c5846 Remove unused members of sk_softc. 2006-09-04 00:54:40 +00:00
uwe
1e7f72b35d Catch up with __HAVE_GENERIC_TODR changes.
Compile-tested only.
2006-09-03 23:41:18 +00:00
christos
4e6ffbfcf0 add missing initializers 2006-09-03 22:28:53 +00:00
gdamore
b46bdc5e2b Convert both sparc and sparc64 to MI todr. 2006-09-03 22:27:45 +00:00
christos
93a520d8b0 fix initializers 2006-09-03 22:17:35 +00:00
christos
e82a0f88ae add missing initializer. 2006-09-03 21:45:28 +00:00
gdamore
d38176b5c8 Convert to timecounters. Since sun2 lacks a separate timer for microsecond
interpolation, we just use the default clock interrupt timer. (100Hz)
2006-09-03 21:43:56 +00:00
christos
77c903b90a add missing initializer 2006-09-03 21:42:55 +00:00
christos
00c11ed953 add missing initializers 2006-09-03 21:42:09 +00:00
christos
931d28e672 use c99 initializers 2006-09-03 21:39:29 +00:00
christos
c5b9d17001 add missing initializer 2006-09-03 21:38:23 +00:00