Commit Graph

78305 Commits

Author SHA1 Message Date
hira
23426c5438 Regen. 2005-11-18 11:31:41 +00:00
hira
b05e6b060b Correct entry of vendor ID 0x0d8c. It's C-Media, not ABC.
Confirmed by augustss@.
2005-11-18 11:29:47 +00:00
hira
c9370bf9e5 Regen. 2005-11-17 18:12:59 +00:00
hira
8bc7a4c07b Correct product ID of Buffalo WLI-U2-KG54-AI. 2005-11-17 18:12:08 +00:00
christos
c3ae1990ca Regen 2005-11-17 17:09:05 +00:00
christos
7faedc67d3 need the non-compat version of shm.h too. 2005-11-17 17:07:03 +00:00
tsutsui
bb0b8d6f60 Define boolean_t if defined(_STANDALONE) so that some sources
can be shared between kernel and bootloaders.
2005-11-17 16:12:21 +00:00
bouyer
3506fa3a54 After a reset don't wait for drives to come ready if there's no drives.
Fix a 30s hang after resume. Problem reported and fix tested by Brian de Alwis.
2005-11-16 23:39:08 +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
dsl
d12c019f70 For some peverse reason the ISO code has to have the same template for
it's iso_pcbconnect() as the IP stack.
2005-11-16 20:44:19 +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
dsl
c24781af04 Pass the current process structure to in_pcbconnect() so that it can
pass it to in_pcbbind() so that can allocate a low numbered port
if setsockopt() has been used to set IP_PORTRANGE to IP_PORTRANGE_LOW.
While there, fail in_pcbconnect() if the in_pcbbind() fails - rather
than sending the request out from a port of zero.
This has been largely broken since the socket option was added in 1998.
2005-11-15 18:39:46 +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
jonathan
de85711ee1 Correct a performance bug from Bill Paul's original FreeBSD bge(4) driver:
Each call to the FreeBSD bge_start() routine the transmit producer
pointer index from the chip mailbox register BGE_MBX_TX_HOST_PROD0_LO.
The local copy of that value is then updated by bge_encap() as
bge_encap() encapsulates packets in the Tx ring. If bge_encap()
succeds in encpuslating one or more packets, bge_start() tells the
chip to start sending the newly-encinitiates writes the new value back
to the chip mailbox register.

However, comparison of the Linux drivers (Broadcom-supplied and
open-source tg3.c) and to the OpenSolaris driver confirms that
register BGE_MBX_TX_HOST_PROD0_LO is write-only to software.
Thus, we can just keep a copy in the softc, and eliminate the
(expensive) PCI register write on each call to bge_start().

``Make it so''.
2005-11-15 06:05:44 +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
uwe
79d0d56355 Make this compile with DEBUG. 2005-11-14 19:33:54 +00:00
uwe
7257cf947e ANSIify. Same binary code is produced for GENERIC.MP + KGDB + DDB. 2005-11-14 19:11:24 +00:00
gdt
9238c3b84d Add (empty) INSTALL.local, parallel to GENERIC.local.
Change INSTALL kernels to include INSTALL.local instead of GENERIC.local.

With this change, one can add IPSEC in GENERIC.local and still build a
release, rather than having install kernels not fit on floppies.

Remaining nit: the PS2 install kernel includes the regular version
config file, and hence GENERIC.local.

(Posted for review on tech-pkg, encouragement to commit by lukem@, no
objections.)
2005-11-14 17:03:05 +00:00
uwe
e46d129e48 ANSIify one function I missed in previous. 2005-11-14 16:04:47 +00:00
augustss
88f620ab3d Make it possible to decide endianess dynamically. From port-evbmips/31912
by "Garrett D'Amore" <garrett_damore@tadpole.com>.
2005-11-14 13:40:23 +00:00
skrll
1f381351c3 Don't use DPRINTF for previous. Doh! 2005-11-14 12:07:33 +00:00
skrll
5349e12d67 Dump the error log if we get an IWI_INTR_FATAL_ERROR interrupt. 2005-11-14 11:58:52 +00:00
hamajima
201a955e8e delete unknown options.
change root device to "?".
2005-11-14 05:09:31 +00:00
uwe
684414e729 ANSIify. Same binary code is produced for GENERIC.MP + KGDB + DDB. 2005-11-14 03:30:49 +00:00
uwe
7e29958aa5 Catch up with changes to make this compile for MULTIPROCESSOR.
While here add some #endif comments.
2005-11-14 03:11:38 +00:00
uwe
68bf470949 Catch up with the signature change of obio_find_rom_map.
Add __UNVOLATILE when zc is passed as kgdb ioarg.
2005-11-14 02:52:16 +00:00
dsl
c310ecd73c Pull the boot timeout for the boot_params header.
Allows it to be set to a very large number so the boot on Soekris systems
can be interrupted.
2005-11-13 22:23:30 +00:00