uebayasi
3d643c0f73
const static -> static const
2006-10-22 03:39:43 +00:00
uwe
e10806aaa8
Rename get_opcode argument for consistency.
2006-10-22 03:37:04 +00:00
tsutsui
5398897f34
Rename RTK_[TR]X_DESC_INC() macro to RTK_NEXT_[TR]X_DESC() and
...
change them to return rvalues to avoid possible side effects.
Also define RTK_NEXT_TXQ() for rtk_txq index and use it as well.
2006-10-22 01:47:53 +00:00
tsutsui
d438fee521
Rename a variable to clarify meaning of index.
2006-10-22 01:23:39 +00:00
mrg
7a4c53719e
avoid yet another GCC warning only exposed at -O3.
2006-10-22 00:48:14 +00:00
mrg
d8a42ed9c7
merge GCC 4.1-20061021.
2006-10-22 00:41:20 +00:00
christos
1df0b9ba30
add ~@
2006-10-22 00:35:29 +00:00
uwe
6ac2d0e699
Revert previous that apparently has been committed by mistake.
...
It actually contained just some debugging printfs, and *wrong*
debugging printfs at that (hi, jared :)
2006-10-22 00:33:14 +00:00
mrg
1b262f1cb0
correct a debug statement.
2006-10-22 00:24:23 +00:00
reinoud
d31cd7fc58
Add extended attribute numbers associated with the two defined structures
...
for times and device specification.
2006-10-22 00:06:48 +00:00
reinoud
9c8aedbe6c
Return the TAILQ_FOREACH to an explicit `for' loop since in the loop vnodes
...
can be removed.
2006-10-22 00:03:33 +00:00
mrg
9631418f8f
remove "struct cacheline" and the "cacheline" variable. (it was only set
...
in cpu_attach(), overwritten by multiple cpus, and only one member of the
12 or more were ever used again.) add an ecache_min_line_size to replace
this functionality.
clean up some non-SMP friendly code from cpu_attach():
- only reset the fpu state on the boot cpu
- don't bother printing "FPU version 0" always
- don't call getver() and ignore the result
- print the UPA id on the first cpu0: line
only print mp_tramp address #ifdef DEBUG.
reset the fpu state in cpu_hatch(), like cpu_attach() does for the boot cpu.
cpu_attach() is now free of SMP-unfriendly code.
2006-10-21 23:49:29 +00:00
mrg
86e81e1a09
import GCC 4.1 branch from 20061021.
...
includes fixes for these 109 GCC PR's:
4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:57:09 +00:00
mrg
b738ee7f82
import GCC 4.1 branch from 20061021.
...
includes fixes for these 109 GCC PR's:
4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:45:05 +00:00
bjh21
f62548abf5
Interpret the argument to iomdkbc_set_poll() correctly. Quite how we
...
got this far with it the wrong way around is beyond me.
2006-10-21 22:45:03 +00:00
mrg
3849e25709
import GCC 4.1 branch from 20061021.
...
includes fixes for these 109 GCC PR's:
4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:40:12 +00:00
mrg
622e071e10
import GCC 4.1 branch from 20061021.
...
includes fixes for these 109 GCC PR's:
4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:29:06 +00:00
mrg
2c32a05a20
import GCC 4.1 branch from 20061021.
...
includes fixes for these 109 GCC PR's:
4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:18:57 +00:00
christos
5221554c1a
Fix yes/no handling.
2006-10-21 21:51:47 +00:00
christos
aec22cf472
mention mail changes
2006-10-21 21:39:07 +00:00
christos
8207b28a5c
From our anonymous user:
...
- mime and character set handling
- command line editor and completion
- many code improvements
2006-10-21 21:37:20 +00:00
tsutsui
bc366d3166
Tweak TX descriptor setup code in re_encap() to make it more readable a bit.
2006-10-21 21:29:14 +00:00
apb
4d8a51bb25
Add .y.c and .y.h rules to prevent re-running yacc/bison.
...
This should fix PR 34196 and PR 34831.
2006-10-21 21:05:57 +00:00
rillig
ced22230a0
Added a cross reference to stat(2), since that's the way how the current
...
flags can be determined.
2006-10-21 18:26:08 +00:00
bouyer
76694b5d3f
Regen: addded i82563 PHY
2006-10-21 17:19:21 +00:00
bouyer
5b9f1ed038
Regen: added some Intel gigabit ethernet products
2006-10-21 17:18:49 +00:00
bjh21
983692f3d5
Program the IOMD flyback size register correctly, or at least the same way
...
we did before we started using struct videomode. This seems to unbreak
systems with VRAM at least a little.
2006-10-21 17:08:22 +00:00
pooka
e2d2f0dc15
pool_get(): use PR_WAITOK, not M_WAITOK (which happens to be PR_NOWAIT ..)
...
XXX: not the first time this mistake has been made
2006-10-21 17:01:56 +00:00
tsutsui
587d5e790a
Fix hardware VLAN tagging support on vge(4):
...
- On TX, vge(4) seems to assume that tags are written in little endian.
We already use htole32() to write values into descriptors,
so extra byteswap by htons() is not needed there.
- On RX, vge(4) seems to store tags in network byteorder.
We have to swap byteorder regardless of host's byteorder
(i.e. we have to use bswap16() rather than ntohs())
because we already use le32toh() to read values from descriptors.
Anyway, no need to use htons()/ntohs() because there is no stream data.
Tested on both i386 and macppc, and OK'ed by Pavel Cahyna.
2006-10-21 16:26:35 +00:00
tsutsui
f89487b7e5
Use aprint_error(9) to print error messages.
2006-10-21 16:13:21 +00:00
bjh21
d726ea385c
Remove cruft left over from when this code was copied from some TURBOchannel
...
framebuffer or other.
2006-10-21 14:24:46 +00:00
bouyer
2e7bb67d96
Note Intel 80003 support in wm(4).
2006-10-21 14:12:42 +00:00
bouyer
154d613f0b
Add support for the Intel 80003 Gigabit Ethernet controller (found e.g. in
...
newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work as
is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000 Ethernet PHYs
2006-10-21 14:10:32 +00:00
bouyer
7bdd26b810
Restart negotiation when we change media even if autoneg is not enabled.
...
Otherwise switching from a fixed media to another fixed media isn't noticed
by the switch and the effective speed doesn't change.
2006-10-21 13:55:30 +00:00
yamt
80e1bbb713
add sack_dump(), a function to dump sack holes, if defined(DDB).
2006-10-21 10:26:21 +00:00
yamt
7253aad93f
constify.
2006-10-21 10:24:47 +00:00
yamt
c31e22237d
- constify.
...
- make tcp_dooptions and tcpipqent_pool static.
2006-10-21 10:08:54 +00:00
yamt
6c6dad782f
matches_spec: fix a bug so that "+host111,host1" actually matches to host1.
...
add a simple sanity check.
2006-10-21 09:42:26 +00:00
yamt
977e208912
add ecalloc.
2006-10-21 09:36:39 +00:00
skrll
c837287aab
s/out/bad/ in cpu_dumpconf so this compiles.
2006-10-21 08:11:49 +00:00
mrg
065b4dbdca
fix errors in the previous changes.
2006-10-21 08:09:58 +00:00
skrll
3d92eb6b84
De-__P()
2006-10-21 07:24:20 +00:00
skrll
b560533af2
Pass the cookie (not the function address) to bus_space_alloc.
...
From OpenBSD.
2006-10-21 07:22:48 +00:00
kardel
d094ff8f40
Avoid printf() the selected timecounter as it is called in the path of hardclock().
...
The information is available via sysctl anyway.
2006-10-21 07:16:54 +00:00
mrg
648bbec934
in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
...
dumpdev. this occurs when we try to set the dumpdev to a device
with no driver loaded. this fixes PR#34872.
in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf(). (this also fixes PR#34872.)
XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.
XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.
2006-10-21 05:54:31 +00:00
mrg
1c6384e73d
fix a merge-botch from our GCC3 fixes.
...
TARGET_5200 is TARGET_COLDFIRE now.
2006-10-21 05:31:41 +00:00
itohy
3c46d522e6
Remove unneeded \ from awk script.
...
Fix PR port-sparc64/34863.
This also caused warning on old NetBSD environments (with GNU awk) like
awk: cmd. line:80: warning: escape sequence `\#' treated as plain `#'
2006-10-21 04:48:29 +00:00
tsutsui
5227317a1e
Use CSR_WRITE_1() to write RTK_TXSTART register because it is localted
...
at an odd address (0xd9) and noted "8 bit" in rtl81x9reg.h.
XXX: FreeBSD and OpenBSD also use CSR_WRITE_1() to write RTK_GTXSTART
XXX: for 8169 even though there is a "16 bits" comment at GTXSTART macro.
XXX: Which is correct?
2006-10-21 03:44:47 +00:00
mrg
877957f469
add a "mach sir" command to call sir instruction ('software initiated
...
reset'). this is a much more drastic way to do "mach prom", but it
works when used from cpu>0, which "mach prom" currently does not.
2006-10-21 03:16:05 +00:00
elad
815337c3da
Kill KAUTH_GENERIC_ISSUSER usage.
2006-10-21 00:13:57 +00:00