Commit Graph

41283 Commits

Author SHA1 Message Date
thorpej
cfc81086d9 swcr -> swcrypto 2005-11-25 16:41:31 +00:00
thorpej
7385cdd346 "pseudo-device crypto" really refers to the /dev/crypto API to the
opencrypto framework, not the framework itself.  Update the comment
accordingly.
2005-11-25 16:35:11 +00:00
thorpej
751f32db24 Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
commented out).
2005-11-25 16:30:23 +00:00
simonb
35c06e774b More KNF. 2005-11-25 14:10:35 +00:00
simonb
f550ec6c5a Include <sys/systm.h> if we use printf(), instead of relying on some
other random header pulling <sys/systm.h> in for us.
2005-11-25 13:55:14 +00:00
tsutsui
648f74397a No need to include <machine/vmparam.h> here. 2005-11-25 13:37:58 +00:00
simonb
29d9af43d0 KNF. 2005-11-25 11:50:55 +00:00
dsl
b184d489b2 We don't need 'le' here, I'm not sure amd64 GENERIC deserves it either. 2005-11-24 20:06:53 +00:00
he
3c33ccf011 Remove declaration of a variable which is no longer used. 2005-11-24 13:33:33 +00:00
yamt
bc21da4cfb bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!
2005-11-24 13:08:32 +00:00
dbj
8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
he
9476e5349e Make sure the file ends with a newline, so the port builds again. 2005-11-24 12:11:32 +00:00
nonaka
292989c8b6 In decr_intr(), update lasttb only when clock interrupt is not masked.
(sync with macppc/macppc/clock.c: rev.1.11 -> 1.12)
2005-11-23 13:00:51 +00:00
tsutsui
38893d95db - use -mmemcpy (it saves ~12kbytes)
- fix ident
2005-11-23 08:20:45 +00:00
tsutsui
1fd2caa23d Add njs* at pci, which works fine on my O2. 2005-11-23 08:14:50 +00:00
macallan
6862f6384f uncomment options BLINK, removed uwe's todo comment. 2005-11-22 20:16:23 +00:00
macallan
321e779911 add support for options BLINK 2005-11-22 20:13:34 +00:00
yamt
73ad976942 simplify memory layout. 2005-11-22 06:18:01 +00:00
bouyer
737cf9cfa9 Remove commented out options I586.
As it's i686-only, optimize for i686.
2005-11-21 22:16:59 +00:00
bouyer
c59d1285cc Sync with i386/conf/GENERIC:
- add a buch of PCI storage devices
- add firewire devices
- add some missing PCI network devices
- add serial and parallel PCI adapters
- add lpt0 at isa
- add com1 at isa
  com0 not added for the benefit of serial console users (it will conflicts
  with the Xen kernel).
XXX this means that setups with serial console on com1 will now break with the
default kernel.
Use userconf(4) (add -c to kernel command line) or change your setup to
com0 instead (most bios allows arbitrary mappings of com ports)
2005-11-21 22:15:13 +00:00
nonaka
970e300a95 In decr_intr(), update lasttb only when clock interrupt is not masked.
(sync with macppc/macppc/clock.c: rev.1.11 -> 1.12)
2005-11-21 15:04:52 +00:00
tsutsui
8d456d84c1 Fix page size values passed to arc_wired_enter_page() for NEC-R96 and Tyne.
Detected by gxemul. (Wow, gxemul is also trying to emulate these machines!)
2005-11-20 09:21:36 +00:00
tsutsui
6e53249d84 Include <dev/ic/i8042reg.h> for MI pckbc rather than <machine/kbdreg.h>. 2005-11-20 04:38:11 +00:00
uwe
8247051e62 ANSIify. Use uint<N>_t. Drop trailing whitespace.
Same binary code is generated.
2005-11-16 23:24:44 +00:00
jld
55b8d39e63 Correct minor precedence mistakes in updates to pm_stats.wired_count 2005-11-16 22:41:20 +00:00
uwe
b9e94621c5 Use uint<N>_t. 2005-11-16 22:10:58 +00:00
uwe
6c31b67603 Use uint<N>_t. Drop trailing whitespace. 2005-11-16 21:42:50 +00:00
christos
d1219303ac PR/31885: Stephane Witzmann: Force pci mode 1 on SIS 741. 2005-11-16 16:08:36 +00:00
tsutsui
1b00f38f4f Remove the following item:
>	-   if (ipending & INT_MASK_REAL_DEV) == 0,
>	    softnet() and softclock() are handled with all interrupt disabled.
>		-> overblocking, possibly causes missing hardclock()

XXX: It seems some other mips ports (algor, evbmips, pmax, sgimips)
XXX: also have the similar problem.
2005-11-16 14:25:15 +00:00
macallan
648f3c825b - ansify
- pick some KNF nits
- remove trailing whitespaces
- remove some useless commented out code
2005-11-16 04:25:28 +00:00
uwe
8fbe0d8575 Drop trailing whitespace. 2005-11-16 03:00:23 +00:00
uwe
1cb1ba5ffa Drop trailing whitespace. 2005-11-16 02:15:08 +00:00
uwe
1664ea4ae9 ANSIify function declarations/defintions. Use uint<N>_t.
Drop trailing whitespace.
Same binary code is produced for GENERIC.MP + KGDB + DDB.
2005-11-16 02:13:18 +00:00
uwe
ec05898db9 ANSIify. Use uint<N>_t. Drop unnecessary inlcudes.
Declare as static everything we don't need to export.
2005-11-16 02:10:31 +00:00
uwe
bcb7ac1eae ANSIify. Declare as static everything we don't need to export. 2005-11-16 01:47:58 +00:00
uwe
901a66afbb ANSIify. 2005-11-16 01:46:44 +00:00
uwe
03fe068a2f ANSIify. Use uint<N>_t. Drop unnecessary includes.
Drop trailing whitespace.
2005-11-16 01:39:27 +00:00
uwe
e6942192ef Duplicate open curlies in both #if and #else parts confuse
paren-matching in editors, drop them and add one after #endif.
2005-11-16 01:14:35 +00:00
uwe
3f1973ce02 Drop unnecessary includes and extern declarations.
Declare match/attach routines static.
2005-11-16 01:09:49 +00:00
uwe
60ed1ea4ce ANSIify function declarations/defintions. Use uint<N>_t.
Propagate "static" to function definitions.  Drop trailing whitespace.
Same binary code is produced for GENERIC.MP + KGDB + DDB.
2005-11-16 00:49:02 +00:00
matt
9b978162a2 Add MPC5200 SVR definition 2005-11-15 18:26:49 +00:00
tsutsui
d9a0be54d3 Explicitly enable interrupts before softintr is handled as noted
in the TODO file. At least this fixes "sn0: receive buffers exhausted"
messages on my NEC-JC94.

XXX: does anyone know what "Dont reenable" comment means, which was
XXX: there since initial import of pica (not arc).
2005-11-15 15:07:36 +00:00
tsutsui
b7deaff52a Reflect MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV removal. 2005-11-15 15:00:15 +00:00
tsutsui
8a69f0ef96 Remove MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV macro and
use MIPS_INT_MASK_5 and MIPS3_HARD_INT_MASK directly.
They were not used since interrupt service function was
moved from MI mips/trap.c to MD part long ago.
2005-11-15 14:03:20 +00:00
tsutsui
45991188b7 Remove COPY_SIGCODE definition, which is not used anywhere. 2005-11-15 13:45:30 +00:00
tsutsui
a452ef42e4 constify 2005-11-15 12:12:21 +00:00
tsutsui
c6c355d343 Remove netisr handling from the list since arc has switched to
MI mips softintr.c (though it still uses splhigh()/splx() pair
and maybe it's better to use atomic insns).
2005-11-15 12:09:43 +00:00
uwe
0ec5f35b6c ANSIify. Same code is generated.
While here, collect in one place prototypes that were scattered
throughout the file, apply static to prom_cn* consistently.
2005-11-14 22:48:34 +00:00
uwe
ce96890569 Protect all places that refer to _redzone with
#if defined(DEBUG) && !defined(MULTIPROCESSOR)
Makes MULTIPROCESSOR + KGDB compilable.
2005-11-14 21:40:25 +00:00
uwe
76d829a926 Halfhearted attempt to make EXTREME_DEBUG code compile again.
It should probably be just g/c'ed.
2005-11-14 19:55:12 +00:00