Commit Graph

217402 Commits

Author SHA1 Message Date
christos 8e7c71cac9 Instead of always checking for ANYC, make it a valid channel 2013-03-21 18:30:09 +00:00
christos bbce2f06df PR/47678: Dr. Wolfgang Stukenbrock: remove local iscsi entry which conflicted
with the iana assigned one. This port has been assigned to iscsi-target.
2013-03-21 17:45:03 +00:00
christos 23b988d718 Don't attempt to dereference ANYC (since it is a pointer to 0x1).
Fixes random crashes in hostap mode (race conditions in the interrupt handler
while the interface comes up or down).
2013-03-21 17:10:25 +00:00
christos 2b135b05b5 new dlopen tests for libpthread. 2013-03-21 16:51:07 +00:00
christos a4ddc2c8fb new dlopen tests for libpthread from manu@ 2013-03-21 16:50:21 +00:00
christos 71d484f921 - Allow libpthread to be dlopened again, by providing libc stubs to libpthread.
- Fail if the dlopened libpthread does pthread_create(). From manu@
- Discussed at length in the mailing lists; approved by core@
- This was chosen as the least intrusive patch that will provide
  the necessary functionality.
XXX: pullup to 6
2013-03-21 16:49:11 +00:00
mlelstv 77e3515ae2 fix ALL_KERNELS handling 2013-03-21 15:16:43 +00:00
pooka de7fce08a0 Fix stat64 by making it match i386. Other archs might still be broken,
but this is the one I could test.
2013-03-21 15:03:47 +00:00
christos cbcfee84d5 PR/47677 Aktado: x86_errata() should be avoided if NetBSD runs as a KVM guest.
XXX: pullup to 6
2013-03-21 13:22:37 +00:00
msaitoh 97c1d5bf1d Wait for the bootcode to complete initialization for 5717 and newer devices.
See BCM5718 programmer's guide's "step 13, Device reset Procedure, Section 7".
57781's document has the same note.

I verified the loop really looped on those chips.

But, I don't know why tg3 doesn't it.
2013-03-21 12:56:03 +00:00
skrll f60fa94a95 Add some defines from the USB 2.0 specification and suppliments. Also,
add some accessor macros while I'm here.
2013-03-21 12:47:16 +00:00
msaitoh 52e43293b4 - Sync with FreeBSD and OpenBSD. Almost the same as OpenBSD rev. 1.325:
- Sync the ring setup code closer to FreeBSD's driver
 - Do not touch the jumbo replenish threshold register on chips that do not
   have jumbo support
 - Add/sync some of the comments
- Use macro.
- Remove unused code.
2013-03-21 12:33:10 +00:00
lukem 1baf19f383 Convert from __attribute__(foo) to the __foo equiv in <sys/cdefs.h> 2013-03-21 05:53:01 +00:00
joerg 600ab75df5 Add missing .El. 2013-03-21 04:57:38 +00:00
isaki 3e866cf1f6 Fix and revive test of atan_inf_neg, atan_inf_pos and atan_tan on i386.
PR port-i386/46108.
The machine epsilon 1.0e-40 is too severe and nonsense for double
because DBL_EPSILON is about 2.2e-16 .  I think that 1.0e-15 is
enough good, in this case.
XXX However, test of atan_tan should be replaced for other reasons.
2013-03-21 02:10:52 +00:00
christos fc08ea7529 fix groff html generation 2013-03-21 02:04:17 +00:00
christos 40b61ad4dd The man page has numbered registers and conditionals and cannot be handled
by mandoc, so make it use groff. Unfortunately since we don't install cat
pages, this does not work. At least it works for html!
2013-03-21 02:04:05 +00:00
christos 131c9e0b6e handle NOMANDOC in the html case too 2013-03-21 01:48:14 +00:00
christos b32a30787e revert previous, this is a mandoc issue (does not handle .if and .nr) 2013-03-21 01:39:04 +00:00
christos 2c041bfd20 PR/47675: Nick Hudson: top(1) man page missing default number of seconds 2013-03-21 00:27:44 +00:00
lukem f4ec715007 Update version to 20110904 for the user-visible change I made back then:
Reduce priority of syslog message if getpeername returns ENOTCONN.
   PR bin/18934 by Greg A. Woods (with supplied fix).
2013-03-21 00:17:26 +00:00
lukem 10126a0b3e Use "unsigned FOO" instead of less-portable "u_FOO". 2013-03-20 23:44:47 +00:00
garbled 991d38698d If the tripplite SMARTLCD ups connects as a usbhid device, it doesn't
work at all, connect as ugen instead.  Verified working with ups-nut.
2013-03-20 15:40:29 +00:00
garbled 6ea70a537c Regen 2013-03-20 15:38:34 +00:00
garbled 2b09f8c00d Add my tripplite UPS 2013-03-20 15:33:24 +00:00
macallan da8b2f53fd apply kludge to make this more or less work on mips64 with n32 userland
with this ldd can handle both 64 and n32 binaries ( previously it would do 64
only ), o32 support is still broken
Someone more familiar with this code needs to fix this properly.
2013-03-20 15:18:42 +00:00
garbled 1630987ad9 Fix an empty shell function here, per Greg Troxel. Apparently empty shell
functions are not 100% portable.
2013-03-20 14:47:20 +00:00
skrll 4698927030 Bump MSGBUFSIZE on arm ports to 16KB.
OK matt@
2013-03-20 13:43:39 +00:00
pooka 7415696ea8 Attempt two for the previous: _ILP32 comes from headers, so don't use
it to decide if we want to muddle with _FILE_OFFSET_BITS.
2013-03-20 12:59:10 +00:00
pooka 5ccc76a66f Use _FILE_OFFSET_BITS=64 on Solaris too (necessary for 32bit builds). 2013-03-20 12:30:13 +00:00
skrll c6b03e1f0b Only set wMaxPacketSize to 64 for HS/FS and set to 8 for LS to be within
the USB spec.

Should help PR/46696.

Requesting 64 bytes via wLength is indeed common, but fallback to 8
would probably help.
2013-03-20 11:14:51 +00:00
kiyohara 9de952279e Use mkubootimage, if obs600. 2013-03-20 06:35:49 +00:00
christos bc0f55de88 Make ALG's autoloadable by providing in the config file:
alg "algname"
2013-03-20 00:29:46 +00:00
garbled 4daade7385 Add a new installer image for Raspberry PI to evbarm
Includes the following major changes:

1) Add new configmenu item to sysinst to allow creation of users at
post-install time.
2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd
enabled, allowing users to install on a headless PI by sshing to the
device with the account "sysinst" password "netbsd" to begin the
installation. (Note, neither the account, nor the ssh setup are copied to
the finalized installation image)
3) Change mkimage to build a boot-only image, without the root filesystems.

Much of the sshramdisk code could be reused on other ports easily.
2013-03-19 22:16:52 +00:00
christos 6c49ed342b Need assym.h for libkern 2013-03-19 19:59:40 +00:00
skrll a321948d45 To quote the BCM2835 datasheet that's publicly available
"The BCM2835 system uses an AMBA AXI-compatible interface
	structure. In order to keep the system complexity low and data
	throughput high, the BCM2835 AXI system does not always
	return read data in-order."

Deal with this by defining DSB for _ARM_ARCH_6.

OK matt@
2013-03-19 17:11:13 +00:00
macallan 05550c2a93 rearrange things a little bit to avoid showing garbled VRAM content while
switching colour depth
2013-03-19 16:49:56 +00:00
msaitoh 7201e6ecd1 Fix compile error if BGE_DEBUG is set. 2013-03-19 16:49:11 +00:00
martin 99e62f4068 Fix argument order for "n14" 2013-03-19 13:23:58 +00:00
isaki 1cd7b13dd0 const-ify. 2013-03-19 09:28:39 +00:00
isaki 81e778a36f Remove 'register'. 2013-03-19 09:17:17 +00:00
msaitoh 24d5b42322 KNF a bit. 2013-03-19 06:34:28 +00:00
msaitoh 3572840d82 - Rename PHY related flags for the consistency. It's the same as FreeBSD.
- Remove BGE_10_100_ONLY flag because this was not used.
  For 10/100 devices, when calling mii_attach(), mask BMSR_EXTSTAT flag to
  not to check Gigabit flags. It's the same as FreeBSD.
2013-03-19 04:10:12 +00:00
msaitoh 3efff5d852 Fix three bugs:
- An workaround for TX data corruption is only for 5719 "A0".
  Fix the wrong evaluation.
- Check BGE_RXBDFLAG_IPV6 flag for 5717_PLUS case.
  Note that {tcp,udp}6csum flag is currently not added in the capability.
- Add delay after clearing BGE_MACMODE_TBI_SEND_CFGS for the link checking.
  FreeBSD has the same delay().
2013-03-19 03:40:16 +00:00
msaitoh 4ed481f549 Fix Buffer Manager Mbuf Pool settings which was modified in rev. 1.202. 2013-03-19 02:56:16 +00:00
christos c902a41f06 can we please stop breaking the build? These get compiled by the kernel
environment when there are no userland header files!
2013-03-19 02:07:43 +00:00
agc ca99397396 fix some lint on i386, noticed by Greg Troxel, thanks! 2013-03-19 01:00:16 +00:00
pooka ac8531a7b9 Terminate result of readlink(). Makes writefilewatch_setup() work in
cases when the buffer doesn't accidentally contain suitable zeroes.

Thanks to Juan RP who debugged this with me!
2013-03-18 21:00:52 +00:00
martin 19ec7b0e9f Mark a few more test cases known to only work by chance as failing
and point to PR 47665.
Julio: how do we make such cases not fail when they actually happen to
work (by pure luck)?
2013-03-18 20:03:56 +00:00
plunky 5ec364d4d9 C99 section 6.7.2.3 (Tags) Note 3 states that:
A type specifier of the form

	enum identifier

  without an enumerator list shall only appear after the type it
  specifies is complete.

which means that we cannot pass an "enum vtype" argument to
kauth_access_action() without fully specifying the type first.
Unfortunately there is a complicated include file loop which
makes that difficult, so convert this minimal function into a
macro (and capitalize it).

(ok elad@)
2013-03-18 19:35:35 +00:00