155653 Commits

Author SHA1 Message Date
christos
db3454e373 powerpc assembly does not work. 2007-01-30 00:48:27 +00:00
christos
03f10a71aa provide non-atomic versions so that things compile for now. 2007-01-30 00:46:52 +00:00
bouyer
53bfe8e81c Drop M_PROMISC before passing the packet to a carp device, for the same
reason it's dropped before passing to bridge: when a vlan interface is
in promisc mode, it will loop the packet back to ether_input() with
M_PROMISC set, and when carp calls ether_input again the flag is still
there and the packet is dropped. If the carp interface doesn't take
the packet M_PROMISC is set just after is needed anyway.
Tested on a box with multiple carp on vlans, no comments about this patch
on tech-net@
2007-01-29 22:13:14 +00:00
christos
f8ee9d613d deal with x86_64 build failure. 2007-01-29 17:33:30 +00:00
hannken
4d607243ba Change fstrans enum types to upper case.
No functional change.

From Antti Kantee <pooka@netbsd.org>
2007-01-29 15:42:50 +00:00
tsutsui
1c17a4f65d Fix EEPROM functions for RTL8169SC chips:
rtl81x9.c:
 Increase delay on EEPROM access since EEPROM on RTL8169 based board
 seems to require slower clock. Also use common EE_DELAY() macro.

rtl8169.c:
 Use common rtk_read_eeprom() function to get Ethernet address on
 8169 chips because EEMODE_AUTOLOAD command was a workaround on
 original FreeBSD's driver and it doesn't work on 8169SC.

Problem reported and fix tested by Frank Lorenzen on current-users,
and also tested on 8139C with rtk(4) driver by me.
2007-01-29 12:11:42 +00:00
dyoung
ba4e9d5953 In rtw_dequeue(), initialize *mp to NULL before anything else, so
that it is either NULL or a valid mbuf.  Previously, it was possible
for rtw_dequeue() to exit with 0 before initializing *mp.  rtw_start()
would have used whatever trash was in *mp, which would lead to
problems later on.
2007-01-29 07:08:09 +00:00
dyoung
7b077b0223 Cosmetic: whitespace nits. Shorten a staircase. Remove unnecessary
parentheses and casts.  Compare pointers with NULL instead of 0.
bzero -> memset.
2007-01-29 06:55:41 +00:00
dyoung
741e438b04 Cosmetic: bzero -> memset. Change a bcopy() to a struct assignment. 2007-01-29 06:20:43 +00:00
dyoung
7218cc6856 Cosmetic: bzero -> memset, remove gratuitous cast, compare pointer
with NULL instead of 0.
2007-01-29 06:13:58 +00:00
dyoung
347073533b In In ip6_setmoptions(), don't leave a route cache (struct route_in6)
on the stack if we exit with EADDRNOTAVAIL.

(I already fixed this bug once tonight.  Clearly, ip6_setmoptions
was cut-and-pasted from ip_setmoptions.)
2007-01-29 06:12:48 +00:00
dyoung
40d75dce06 Cosmetic: move an splsoftnet() call out of the variable declarations,
get rid of a gratuitous cast, change (struct socket *)0 to NULL.
2007-01-29 06:05:10 +00:00
dyoung
f2a11fe343 bzero -> memset 2007-01-29 06:02:26 +00:00
dyoung
ad4f290a37 bzero -> memset. 2007-01-29 06:00:11 +00:00
dyoung
24c98aa46f In ip_setmoptions(), don't leave a route cache (struct route) on
the stack if we exit with EADDRNOTAVAIL.
2007-01-29 05:59:30 +00:00
dyoung
0468886560 Cosmetic: remove extraneous, non-KNF parentheses. Change a
sizeof(type) to a sizeof(*ptr) so the correctness of the statement
is correct "at a glance" (or so I hope).
2007-01-29 05:48:56 +00:00
dyoung
4921da146d bzero -> memset 2007-01-29 05:46:33 +00:00
hubertf
eda05c6413 Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
2007-01-29 01:52:43 +00:00
hubertf
0cc1170149 Xref drvctl(8), bump date 2007-01-29 00:48:34 +00:00
matt
4e9d3760b0 Remove duplicate evbarm-e[bl] cases. Add evbppc64 and macppc64. 2007-01-29 00:08:13 +00:00
cbiere
622f4b424e Applied patch by Arto Huusko from PR bin/24753 to append a slash to "."
and ".." instead of skipping over them fixing completion for patterns
like ".*" and "..*".
2007-01-28 22:30:12 +00:00
chs
3ce7bad4ba add some SIIG and Moxa cards. 2007-01-28 21:44:29 +00:00
chs
032ffbf873 regen 2007-01-28 21:39:34 +00:00
chs
9fdfbf5cd7 add another Realtek wifi, some SIIG serial cards and another nForce chipset.
remove some duplicate entries.
2007-01-28 21:39:04 +00:00
chs
11703af575 don't print b_resid when it's not valid. 2007-01-28 21:33:24 +00:00
chs
f4850e655c fill in p_stat for crashdumps like the kernel does for the sysctl. 2007-01-28 21:31:13 +00:00
chs
aaf6e758a0 skip over the "self" sa when printing upcalls. 2007-01-28 21:29:59 +00:00
pooka
7f95c564bd add puffs 2007-01-28 20:55:20 +00:00
cbiere
26a246a095 * Escape '?', '[', ']' like other meta characters.
* Partial fix for completion when '[' is in the way.
 * Addresses PR bin/22846.
2007-01-28 20:20:25 +00:00
matt
d9adacfe08 Add evbarm-e[bl] machine aliases for evbarm/armeb and evbarm/arm,
respectively.
2007-01-28 20:15:44 +00:00
tron
b5a08d0b27 Move entry for removal of COMPAT_386BSD_MBRPART to list of changes for the
previous release after it has been pulled up into the "netbsd-4" branch.
2007-01-28 20:10:54 +00:00
cbiere
ecc8aad21d Committed patch from PR bin/34755: Append a slash when expanding ~user
to user's home directory.
2007-01-28 20:01:02 +00:00
cbiere
4ce24268ac Added user and group "_timedc" for timedc. 2007-01-28 16:39:29 +00:00
cbiere
28ea2557d4 Let timedc use the dedicated account "_timedc" for dropping privileges
instead of abusing the account "nobody".
2007-01-28 13:51:29 +00:00
pooka
c1b9179682 Avoid doing a ludicrous number of reallocs when the file grows by only
lazy extending the file in setattr and really extending it in write.
2007-01-28 10:47:36 +00:00
dogcow
f36028509f revert this change, too. 2007-01-28 10:40:19 +00:00
dogcow
4af19d6ae8 Back out this addition; it's The Wrong Thing when other system headers get
included.
2007-01-28 10:10:16 +00:00
wiz
330b2b8ebd Improve wording of -a description. From FreeBSD via Zafer Aydogan. 2007-01-28 09:56:13 +00:00
dogcow
f7c54e5b52 Due to recent changes in the cd9660 code, crosscompilation of tools/makefs
now fails due to the use of [be]e{16,32}dec. Add a compat header, and force
the inclusion of <sys/endian.h>.
2007-01-28 09:19:33 +00:00
wiz
e6a160bd78 Fix spellos. 2007-01-28 07:58:05 +00:00
wiz
19a6ec96b4 Make HTML-ready. Drop trailing whitespace. 2007-01-28 07:54:55 +00:00
christos
41b0e71e94 Don't check for ext being NULL to destroy the res_state. Instead check
the option bits like we did before.
2007-01-28 07:54:01 +00:00
christos
5959955102 we don't need <irs.h> 2007-01-28 02:14:05 +00:00
christos
619824ce6d try again. 2007-01-28 02:13:29 +00:00
christos
e519b45a11 missed one more file. 2007-01-28 02:11:44 +00:00
christos
b5861ff385 another merge botch. 2007-01-28 01:48:03 +00:00
christos
6fbd14f0ac We don't have __evOptMonoTime. 2007-01-28 01:43:52 +00:00
pooka
842f8f2a8a don't need pi_lock for struct member access, so don't take it 2007-01-28 00:27:33 +00:00
elad
c2e4f788f9 Talk about special cases for kauth_authorize_action(). 2007-01-28 00:21:04 +00:00
hubertf
9f04f18402 Enable Altq and some others, sinced from GENERIC 2007-01-27 23:41:09 +00:00