117832 Commits

Author SHA1 Message Date
jhb
67ef65a00c MFC: Only allow the sk(4) driver to attach to revision 2 of the LinkSys
EG1032 cards and teach the re(4) driver to attach to revision 3 cards.
2005-11-06 16:00:54 +00:00
jhb
aa03f39e89 MFC: Move the initialization of the devmtx into the mutex_init() function
called during early init before cninit().
2005-11-06 15:58:06 +00:00
jhb
6e55743a7b MFC: Allow the process name to be in square brackets ([]) in
_find_processes().
2005-11-06 15:54:43 +00:00
jhb
ec44ec21b7 MFC: Remove spurious newline. 2005-11-06 15:51:47 +00:00
ume
811648c105 MFC 1.59: Unbreak compiles with ACPI_DEBUG. 2005-11-06 13:34:06 +00:00
nyan
69bcd67743 MFC: Remove EPSON PC-386 note support. 2005-11-06 05:02:07 +00:00
nyan
904070a03d MFC: Remove EPSON_NRDISK and EPSON PC-386 note support. 2005-11-06 05:01:03 +00:00
nyan
2aad173a24 MFC: Add EPSON_* defines. 2005-11-06 04:58:16 +00:00
nyan
68a5adbd86 MFC: Don't include opt_pc98.h. 2005-11-06 04:55:43 +00:00
nyan
326e25b749 MFC: Add '-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3' to CFLAGS. 2005-11-06 04:40:57 +00:00
nyan
57780cdbfa MFC: Use hw.machine_arch instead of hw.machine. 2005-11-06 04:38:20 +00:00
wpaul
7b98928604 MFC recent changes, bring all 3 branches back into sync again 2005-11-06 03:52:25 +00:00
njl
8fab5e2393 MFC: smart battery support 2005-11-05 23:55:56 +00:00
njl
8bbd694e9b MFC: don't spin quickly if C2/C3 don't put the CPU to sleep 2005-11-05 23:49:39 +00:00
njl
727afd2966 MFC: announce AC online event once on boot if no acad device. 2005-11-05 23:48:38 +00:00
marcel
69a6bd1aa3 MFC 1.10: Fix dump of the unread portion of the kernel message buffer.
PR: bin/87964
Submitted by: Frank Mayhar      frank at exit dot com
2005-11-05 19:13:08 +00:00
marcel
51909f74c0 MFC: uart_bus_ebus.c:1.8
uart_core:1.14

Have uart_bus_probe() return BUS_PROBE_DEFAULT when the probe is
successful.
2005-11-05 19:04:08 +00:00
marcel
fd394254bc MFC rev 1.6: Update PCI IDs. 2005-11-05 18:53:42 +00:00
marcel
c95e0079cc Partial MFC rev 1.11 (diff reduction):
o  Style(9) nits
o  Fix typo in comment
o  s/-100/BUS_PROBE_GENERIC/
2005-11-05 18:45:37 +00:00
marcel
e483da7dfe MFC rev 1.7: Recognize the SAB82532 in USIII machines (marius@) 2005-11-05 18:06:43 +00:00
hrs
3fee78e392 Add a new errata item:
- version numbers of OpenSSH and IPFilter in 6.0-R relnotes
	  were wrong.
2005-11-05 14:01:56 +00:00
suz
4153f2a84a MFC Rev.1.25
changed syslog level to more appropriate ones
2005-11-05 10:57:41 +00:00
suz
59d51fc4e5 MFC: sync with KAME in the following points:
- removed compilation warnings
  - suppress a redundant error message when a default-router-list is empty

  Revision  Changes    Path
  1.18      +4 -1      src/usr.sbin/ndp/ndp.c
2005-11-05 10:56:06 +00:00
suz
2d7742d032 MFC: sync with KAME regarding the following clarification in RFC3542
- disable IPv6 operation if DAD fails for some EUI-64 link-local addresses.
   - export get_hw_ifid() (and rename it) as a subroutine for this process.

  Revision  Changes    Path
  1.30      +5 -6      src/sys/netinet6/in6_ifattach.c
  1.6       +1 -0      src/sys/netinet6/in6_ifattach.h
  1.36      +39 -2     src/sys/netinet6/nd6_nbr.c
2005-11-05 10:54:21 +00:00
suz
038918b0d7 MFC: added an ioctl option in kernel so that ndp/rtadvd can change some NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers)
Revision  Changes    Path
  1.56      +1 -0      src/sys/netinet6/in6.c
  1.26      +1 -0      src/sys/netinet6/in6_var.h
  1.57      +28 -0     src/sys/netinet6/nd6.c
  1.17      +21 -8     src/usr.sbin/ndp/ndp.8
  1.17      +31 -2     src/usr.sbin/ndp/ndp.c
  1.25      +30 -0     src/usr.sbin/rtadvd/config.c
2005-11-05 10:50:09 +00:00
suz
d3ffc1647d MFC Rev 1.24
source link-layer address option should be marked to be checked later,
  because rs_input() need this option.
2005-11-05 10:35:13 +00:00
suz
34b640a988 MFC Rev.1.19
fixed a bug that "ndp ... proxy" command does not work
2005-11-05 10:32:54 +00:00
suz
87d613294f MFC: supported an ndp command suboption to disable IPv6 in the given interface
src/sys/netinet6/ip6_input.c	1.84
  src/sys/netinet6/nd6.c	1.58
  src/sys/netinet6/nd6.h	1.20
  src/usr.sbin/ndp/ndp.8	1.18
  src/usr.sbin/ndp/ndp.c	1.20
2005-11-05 10:30:00 +00:00
ume
be9a4892ea MFC 1.8: Document passive cooling related sysctl MIB. 2005-11-05 06:57:32 +00:00
ume
454fec5331 MFC 1.54-1.58: Implement passive cooling. It is enabled for tz0 by
default where it is available.
2005-11-05 06:55:53 +00:00
ume
e63cd31ff1 MFC 1.17-1.19,1.22: make saved cpu level stackable. 2005-11-05 06:54:48 +00:00
hrs
bbfbc643e2 Add a new errata item:
CHECKSUM.* include checksums of the checksum files.
2005-11-05 06:20:06 +00:00
hrs
cdecddc9ba Add the following errata items:
- pmcstat(8) 32-bit executables handling problem on FreeBSD/amd64[1],
	- boot-time panic on some PowerMac G4 systems[2], and
	- incompatible change of LC_* in 6.0-RELEASE and misc/compat5x.

Submitted by:	jkoshy[1], grehan[2]
2005-11-05 06:00:37 +00:00
jhb
2113092c48 MFC: Use device_printf() and if_printf(), use callout_*(), add M_ZERO to
initialize nge_ldata, add locking to ifmedia callouts, cleanup attach
error handling, and fixup locking in ioctl().
2005-11-05 00:53:41 +00:00
peter
99103990ce MFC: allow FreeBSD/amd64 to boot on certain Dell machines that have more
than 8 entries in the 0xe821 map.  This includes things like ACPI
exclusion zones, memory segments and recoverable memory segments after
the kernel has booted.
2005-11-05 00:41:12 +00:00
jhb
9e084d0c26 MFC: Clarify when the softc is added and add a xref to DEVICE_PROBE. 2005-11-04 22:10:13 +00:00
jhb
3fe89cd406 MFC: Correct a reference to microtime that was rendered as bintime. 2005-11-04 22:08:40 +00:00
ume
72faf36285 MFC 1.8: fixed a crush when either -lh or -ls option is used. 2005-11-04 21:04:30 +00:00
ume
8ef01a29a8 MFC 1.3: AES counter mode uses 8byte IV, not 16 bytes. 2005-11-04 20:59:58 +00:00
ume
ff89e7db2a MFC: added a knob to enable path MTU discovery for multicast packets.
(by default, it is disabled)

	sys/netinet6/in6.h:		1.40
	sys/netinet6/in6_proto.c:	1.36
	sys/netinet6/ip6_mroute.c:	1.32
	sys/netinet6/ip6_var.h:		1.35
2005-11-04 20:55:31 +00:00
ume
53fa03c39a MFC:
- fix typo in comment.
- nuke unused code.

	sys/netinet6/icmp6.c:	1.66
	sys/netinet6/in6_src.c:	1.33
	sys/netinet6/in6_var.h:	1.24
	sys/netinet6/nd6.c:	1.54
	sys/netinet6/nd6_nbr.c:	1.32
	sys/netinet6/nd6_rtr.c:	1.28
2005-11-04 20:48:12 +00:00
ume
19fee94205 MFC 1.65: removed RFC1885-related code. it was obsoleted by RFC2463,
and the code was #ifdef'ed out for a long time.
2005-11-04 20:41:08 +00:00
ume
02e243b949 MFC 1.96: simplied the fix to FreeBSD-SA-04:06.ipv6. The previous
one worried too much even though we actually validate the parameters.
This code also is more compatible with other *BSDs, which do copyin
within setsockopt().
2005-11-04 20:35:14 +00:00
ume
318b6c2fd4 MFC 1.8: reflect scope change. 2005-11-04 20:30:56 +00:00
ume
d87e40fcf5 MFC: scope cleanup. with this change
- most of the kernel code will not care about the actual encoding of
  scope zone IDs and won't touch "s6_addr16[1]" directly.
- similarly, most of the kernel code will not care about link-local
  scoped addresses as a special case.
- scope boundary check will be stricter.  For example, the current
  *BSD code allows a packet with src=::1 and dst=(some global IPv6
  address) to be sent outside of the node, if the application do:
    s = socket(AF_INET6);
    bind(s, "::1");
    sendto(s, some_global_IPv6_addr);
  This is clearly wrong, since ::1 is only meaningful within a single
  node, but the current implementation of the *BSD kernel cannot
  reject this attempt.

	sys/net/if_gif.c:		1.53
	sys/net/if_spppsubr.c:		1.120
	sys/netinet/icmp6.h:		1.19
	sys/netinet/ip_carp.c:		1.28,1.29
	sys/netinet/ip_fw2.c:		1.107
	sys/netinet/tcp_subr.c:		1.230,1.231,1.235
	sys/netinet/tcp_usrreq.c:	1.125
	sys/netinet6/ah_core.c:		1.26
	sys/netinet6/icmp6.c:		1.63,1.64
	sys/netinet6/in6.c:		1.52
	sys/netinet6/in6.h:		1.38
	sys/netinet6/in6_cksum.c:	1.11
	sys/netinet6/in6_ifattach.c:	1.27
	sys/netinet6/in6_pcb.c:		1.63
	sys/netinet6/in6_proto.c:	1.33
	sys/netinet6/in6_src.c:		1.31,1.32
	sys/netinet6/in6_var.h:		1.22
	sys/netinet6/ip6_forward.c:	1.29
	sys/netinet6/ip6_input.c:	1.83
	sys/netinet6/ip6_mroute.c:	1.30
	sys/netinet6/ip6_output.c:	1.95
	sys/netinet6/ip6_var.h:		1.33
	sys/netinet6/ipsec.c:		1.43
	sys/netinet6/mld6.c:		1.21
	sys/netinet6/nd6.c:		1.50
	sys/netinet6/nd6_nbr.c:		1.30
	sys/netinet6/nd6_rtr.c:		1.27
	sys/netinet6/raw_ip6.c:		1.54
	sys/netinet6/route6.c:		1.12
	sys/netinet6/scope6.c:		1.13,1.14,1.15
	sys/netinet6/scope6_var.h:	1.5
	sys/netinet6/udp6_output.c:	1.23
	sys/netinet6/udp6_usrreq.c:	1.55
	sys/netkey/key.c:		1.72,1.73
2005-11-04 20:26:16 +00:00
ume
de9984125f MFC: always copy ip6_pktopt. remove needcopy and needfree
argument/structure member accordingly.

	sys/netinet6/ip6_output.c:	1.94
	sys/netinet6/ip6_var.h:		1.32
	sys/netinet6/raw_ip6.c:		1.53
	sys/netinet6/udp6_output.c:	1.22
2005-11-04 19:59:55 +00:00
ume
2946532b86 MFC: simplified udp6_output() and rip6_output(): do not override
in6p_outputopts at the entrance of the functions.  this trick was
necessary when we passed an in6 pcb to in6_embedscope(), within which
the in6p_outputopts member was used, but we do not use this kind of
interface any more.

	sys/netinet6/raw_ip6.c:		1.52
	sys/netinet6/udp6_output.c:	1.21
2005-11-04 19:57:31 +00:00
rse
8845971810 MFC:
| Fix parsing of mdmfs(8) option "-w <user>:<group>" in case <user> or
| <group> is a numeric user/group ID instead of a user/group name (as
| explicitly intended to be allowed by both the manual page and the
| implementation).
|
| Before this fix, mdmfs(8) aborted:
|
| | # mdmfs -s 32m -w 0:0 md /var/tmp/foo
| | Assertion failed: (mip->mi_have_uid), function extract_ugid, file /usr/src/sbin/mdmfs/mdmfs.c, line 555.
| | Abort trap (core dumped)
|
| The "mi_have_[ug]id" fields were only set in case a name lookup was
| successful. Instead they also have to be set in case the string to
| integer conversion was successful.
|
| Additionally, as a result of this fix, two assertions at the end of
| the function are now always true and hence can be just be removed. It
| is guarrantied that both the UID and the GID are set when the function
| returns regularily, else it would have been already bailed out with
| usage()/exit(3) or errx(3) before.
|
| Spotted by:     Christoph Schug <chris@schug.net>
2005-11-04 19:37:14 +00:00
maxim
708a79e840 MFC rev. 1.155 sys/netinet/raw_ip.c and rev. 1.178 sys/netinet/udp_usrreq.c:
INP_ONESBCAST is inpcb.inp_vflag flag not inp_flags.
2005-11-04 18:34:45 +00:00
glebius
5df0b2a057 MFC 1.91, 1.92:
- First fill in structure with valid values, and only then attach it
    to the global list.
  - In in_addprefix() compare not only route addresses, but their masks,
    too. This fixes problem when connected prefixes overlap.
2005-11-04 18:25:55 +00:00