Commit Graph

165143 Commits

Author SHA1 Message Date
jmmv
24b05c38e9 Back out the change to introduce the X-NetBSD-Id header entry. For some
reason the parser does not accept its contents...  You know, one should
always test even trivial changes!

Will review this in more depth tomorrow to find the real root cause of the
problem and rule out a fix for ATF.
2007-12-29 23:02:51 +00:00
degroote
11c94c257e Report the new ipcomp stats under FAST_IPSEC : ipcomps_minlen and
ipcomps_uselesscomp
2007-12-29 21:36:43 +00:00
reinoud
fc7694435a Add GENERIC32 configuration file for 32 bit architectures. This
configuration includes GENERIC but disables EXEC_ELF64.
2007-12-29 20:22:25 +00:00
reinoud
0202db78c9 define opt constants away for i386 2007-12-29 20:21:01 +00:00
reinoud
39e4fad4c1 *** empty log message *** 2007-12-29 20:19:37 +00:00
reinoud
ebc09eacd8 To make NetBSD/userland to boot on i386 choose some defaults in vmparam.h
since for i386 they are defined in page size constants wich NetBSD/userland
doesn't know yet. Also undefine ptrace's __HAVE_PTRACE_MACHDEP since i386
has that but NetBSD/userland not.
2007-12-29 20:07:22 +00:00
dyoung
66c8374872 Get rid of bnx_suspend_resume(), it did redundant resets.
Merge bnx_if_stop() and bnx_stop().  Handle bnx_stop(, 1) by doing
a reset.

Protect the bnx_stop() call in bnx_detach() with splnet().

Thanks to joerg@ for suggesting the above.

In bnx_stop(), deactivate the PHYs with mii_down().  Return right
away if !IFF_RUNNING.

Use LIST_EMPTY().

In bnx_ifmedia_upd(), propagate all mii_mediachg() return codes to
the caller except for ENXIO, which just means that the PHY is
suspended.  In bnx_init(), propagate bnx_ifmedia_upd() return codes
to the caller.

In bnx_intr(), replace a common subexpression with a variable,
'sblk'.

In bnx_tick(), let the MII bus keep ticking after the link is up:
check link status and exit after calling mii_tick(), not before.
2007-12-29 19:51:38 +00:00
dyoung
401b2c3477 Remove the device_is_active() check from each individual PHY's
service routine.  Add a wrapper for PHY_SERVICE(), called phy_service(),
and check device_is_active() there.  Make the mii_*() routines call
the PHY service routines thorugh phy_service() instead of PHY_SERVICE().

In mii_phy_resume(), restore a PHY's state after resetting it by
sending a MII_MEDIACHG command.  This change makes bnx(4) resume
more reliably and more quickly; it should help other NICs to resume,
too, if they attach PHYs through MII.
2007-12-29 19:34:55 +00:00
reinoud
540893b8f7 Fix enough to get i386 more-or-less compiling. The i386 needs u_long to be
an unsigned long too or uvm will complain.
2007-12-29 18:30:17 +00:00
dsl
2fb0ada366 Fix build of macppc with COMPAT_MACH 2007-12-29 18:12:37 +00:00
tsutsui
c220cab823 Fix typo in comments. 2007-12-29 17:59:20 +00:00
tsutsui
e5434d17a5 ANSIfy. 2007-12-29 17:54:41 +00:00
tsutsui
7bfee5be48 Fix typo in comments. Mostly from OpenBSD. 2007-12-29 17:53:23 +00:00
jmcneill
402a3d3535 -Dfree=kernfree, to match -Dmalloc=kernmalloc 2007-12-29 17:48:23 +00:00
tsutsui
c3a9c74a16 ANSIfy and some KNF. 2007-12-29 16:54:49 +00:00
tsutsui
8021ef3f6c Remove __P(). 2007-12-29 16:48:03 +00:00
degroote
55718e804e Fix the ipsec processing in case of USE rules with no SA installed.
In case where there is no more isr to process, just tag the packet and reinject
in the ip{,6} stack.

Fix pr/34843
2007-12-29 16:43:17 +00:00
jmcneill
aed987feb1 Add -z to usage strings. 2007-12-29 16:28:40 +00:00
adrianp
5b238e83d5 Appeared in NetBSD 4 not 5 2007-12-29 16:21:16 +00:00
jmcneill
a724fac145 Define init_main's main away to kernmain, and provide our own MD main entry
point. We do this since we don't have a proper bootloader, so we can
instead parse boot arguments here.

  $ ./netbsd -h
  -h: unknown flag
  usage: ./netbsd [-acdqsvx]
	 (ex. "./netbsd -s")
2007-12-29 16:13:46 +00:00
adrianp
142757459c Appeared in NetBSD 4 not 5 2007-12-29 16:12:29 +00:00
jmcneill
dab73a34c7 Mention -x in command_help 2007-12-29 16:02:46 +00:00
jmcneill
372f1f5260 #ifdef _X86_foo_H -> _ARCH_USERMODE_INCLUDE_foo_H, to match the rest of
the sources.
2007-12-29 15:44:31 +00:00
degroote
d23595095d Restore correctly the sp level in case of FAST_IPSEC + IPSEC_NAT_T 2007-12-29 15:13:55 +00:00
dholland
f1165c2fa9 This file's rcsid apparently got mangled at some point.
Noted by Chavdar Ivanov.
2007-12-29 15:12:05 +00:00
degroote
bd4ac64c48 Add some statistics for case where compression is not useful
(when len(compressed packet) > len(initial packet))
2007-12-29 14:56:35 +00:00
degroote
61e79ba32a Simplify the FAST_IPSEC output path
Only record an IPSEC_OUT_DONE tag when we have finished the processing
In ip{,6}_output, check this tag to know if we have already processed this
packet.
Remove some dead code (IPSEC_PENDING_TDB is not used in NetBSD)

Fix pr/36870
2007-12-29 14:53:24 +00:00
skrll
8591a31346 Apply my fix to bfd so that correct unwind entries are generated for the
kernel.

This has been applied to binutils -current with this ChangeLog entry.

2007-12-28  Nick Hudson  <nick.hudson@dsl.pipex.com>

        * elf32-hppa.c (hppa_record_segment_addr): Locate the segment
        containing the section using the segment map, rather than guessing
        based upon the section's vma and file position.
2007-12-29 14:49:06 +00:00
jmcneill
e38d794d0c libkern bits for usermode port. 2007-12-29 14:39:33 +00:00
jmcneill
38365ca359 Import work-in-progress NetBSD/usermode port. 2007-12-29 14:38:30 +00:00
plunky
a2576166f0 only read inquiry mode if the HCI version is appropriate 2007-12-29 14:35:39 +00:00
wiz
ec17d82b0c Describe /var/log/cron. Based on PR 37640 by Randolf Richardson. 2007-12-29 13:21:57 +00:00
wiz
d190819143 Recognize Marvell 88E1116 Gigabit PHY. 2007-12-29 13:09:36 +00:00
wiz
cd80761b22 regen (+ Marvell 88E1116 Gigabit PHY) 2007-12-29 13:08:53 +00:00
wiz
7bfee0e94d Add Marvell 88E1116 Gigabit PHY. 2007-12-29 13:08:28 +00:00
plunky
2f47a8f906 remove unused def for btr_uclass 2007-12-29 11:30:27 +00:00
wiz
41fff49aa3 Document CALLOUT_MPSAFE. Bump date. 2007-12-29 09:41:10 +00:00
dyoung
f5207c77ac Use LIST_FOREACH(). 2007-12-29 08:19:35 +00:00
agc
112bd8f1d4 Make the version number in the comment match the value given in
the definition.

As noted by Hisashi T Fujinaka (htodd) on current-users.
2007-12-29 08:16:46 +00:00
xtraeme
a6d89167f6 Erm, update another comment that was outdated with latest changes. 2007-12-29 06:18:35 +00:00
xtraeme
05c541c9b4 Update a comment that I wanted to correct for long time now... 2007-12-29 06:15:47 +00:00
xtraeme
a5381ad0a5 Xref itesio(4). 2007-12-29 06:10:29 +00:00
xtraeme
507639572d Update itesio(4) comments. 2007-12-29 06:09:04 +00:00
xtraeme
a590e35720 itesio(4): added support for the Watchdog Timer. 2007-12-29 06:05:40 +00:00
xtraeme
7abc984e72 Added support for the Watchdog Timer built in the IT871[268] Super I/Os.
The WDT supports any value between 1 and 65535 seconds (or minutes, but
but the driver only uses seconds).
2007-12-29 06:05:06 +00:00
christos
8fb14189dc make this compile again. 2007-12-29 01:44:03 +00:00
elad
bb06b7c1b1 4.99.46: addition and removal of 'ep_random' from 'struct exec_package'. 2007-12-29 01:35:30 +00:00
martin
aa1b67be38 Make the copy of the syscall return value to register A0 independend of
options COMPAT_AOUT_M68K. Works around PR port-m68k/37631.
XXX we will phase out the copy to A0 completely and handle it in userland
XXX in the future.
2007-12-29 00:02:52 +00:00
ad
2b5d04688e Make it build with src/sys from the vmlocking2 branch. 2007-12-28 21:44:32 +00:00
christos
7af2df4395 add MKPIE 2007-12-28 21:35:45 +00:00