Commit Graph

209484 Commits

Author SHA1 Message Date
rmind
2d942d9d58 Simplify slightly: merge iface into addr_or_iface, use it in filt_addr. 2012-02-26 21:14:50 +00:00
wiz
a19484822f Man page and usage cleanups from Bug Hunting in PR 46103. 2012-02-26 21:06:59 +00:00
wiz
6e31cc7bbd Sort options in man page. Add EXIT STATUS section. Bump date.
Sync usage with man page.

Mostly from Bug Hunting in PR 46102.
2012-02-26 21:04:10 +00:00
tsutsui
c6db16971c Add sanity checks for live-image and install-image targets
(which require mtree spec files built with MKUNPRIVED=yes)
to avoid unexpected makefs(8) error during image builds:
 - if release op is specified with live-image or install-image
   at the same time, make sure -U is also specified for the image builds
 - before perform live-image and install-image ops check METALOG file
   in DESTDIR to see if the build have been performed with MKUNPRIVED

XXX: Probably toolchain should create consistent spec files in
XXX: DESTDIR/etc/mtree dir regardless of MKUNPRIVED settings.
2012-02-26 20:32:40 +00:00
jmmv
09274e8647 Use new web site and archive location for ATF. 2012-02-26 17:27:46 +00:00
mbalmer
b3d36785a0 Fold long lines and a little KNF. 2012-02-26 10:17:44 +00:00
skrll
69a1539631 Rename a field to match PDC documentation. 2012-02-26 08:44:12 +00:00
skrll
7f71231430 Enhance a comment. 2012-02-26 08:28:57 +00:00
skrll
66443e0d98 Use new HPPA_CPU_PCXWP for PA8600 (Landshark) 2012-02-26 07:52:52 +00:00
skrll
330ee79ba1 Regen 2012-02-26 07:51:56 +00:00
skrll
66ee3a47be Take an educiated guess at the CPU id for PCXW+ (Landshark) 2012-02-26 07:50:37 +00:00
skrll
fea31f011d Typo in comment. 2012-02-26 07:23:24 +00:00
rmind
251f7169ed {mutex,rw}_vector_enter: use macro versions to disable/enable preemption. 2012-02-25 22:32:44 +00:00
rmind
3a78ca9333 uvm_km_kmem_alloc: return ENOMEM on failure in PMAP_MAP_POOLPAGE case. 2012-02-25 22:28:06 +00:00
tsutsui
cf0922a577 - make agp_amd64_attach() also checks AMD64 Family 10h CPU's
misc configuration devices
- print proper error message if no misc configuration device is found

Fixes kernel crash right after starting Xserver with radeondrm
on ASRock AM2NF3-VSTA (AM2 + nForce3 250 AGP) with Athlon II X2 CPU.
2012-02-25 21:21:09 +00:00
cherry
d0b6da5c7a Revert previous since it does a redundant xpq queue flush.
xen_bcast_invlpg() flushes the queue for us.
2012-02-25 20:03:58 +00:00
cherry
a108cff192 (xen) Flush the xpq before broadcasting page invalidate. 2012-02-25 19:32:27 +00:00
bouyer
d50505c826 The code assumes that ci_index is also the Xen's cpunum, and that
cpunum is less than XEN_LEGACY_MAX_VCPUS. KASSERT both.
2012-02-25 18:57:50 +00:00
bouyer
f817b6b7bd Also comment out ACPIVERBOSE and MPVERBOSE 2012-02-25 18:11:05 +00:00
bouyer
04cddacced Also comment out MPDEBUG 2012-02-25 17:45:53 +00:00
jruoho
87e0bf89e7 Set the flag for checking for PCI bus master activity only for C3. 2012-02-25 17:22:52 +00:00
bouyer
c11610f735 Comment out options DEBUG from Xen kernel; also comment out
makeoptions DEBUG="-g" where it was still enabled.
2012-02-25 17:03:34 +00:00
cherry
29431801b6 Use pmap_pte_xxx() functions instead of xen specific pte update
functions.

No functional changes.
2012-02-25 12:33:53 +00:00
shattered
a8bba461cd Document support for 5100AGN (in tree since 2009).
OK by wiz@
2012-02-25 11:00:25 +00:00
shattered
aaf49ded47 Xref zdump(8). OK by wiz@ 2012-02-25 10:56:52 +00:00
shattered
4e4e8d92ec Quoting sys/dev/vme/files.vme commit log: "vmegeneric never saw the
light of the source tree.  After 7 years, I guess nobody missed it."

OK by wiz@
2012-02-25 10:55:27 +00:00
shattered
4490496cc9 Fix typos in comments.
OK by wiz@
2012-02-25 10:17:14 +00:00
shattered
5799232718 Replace magic value 0x7 with constant MT_ISAR.
OK by wiz@
2012-02-25 10:15:50 +00:00
tron
7b6c3db855 Four instances of atabus(4) are not enough for modern systems as the
system will report one instance for each SATA port. Create eight
device nodes by default.
2012-02-25 09:19:30 +00:00
mbalmer
ae1a443653 GPIO pins are 0 based when accessed from Lua, not 1 based like Lua usually
is.  The pulse() has been removed, use gpiopwm(4) for that.
2012-02-25 09:13:38 +00:00
tsutsui
d404b3ae19 Reserve more bootstrap kernel PT pages if options EXTENDED_MEMORY is defined
for VA allocation in the extended memory probe function and possible 128MB
memory on 060turbo, as worksaround for x68k specific part of PR/45915.
Fixes GENERIC kernel panic on X68030 even without extended memory.
XXX: we should rather have proper probe function before pmap_bootstrap()

Tested on 060turbo with 128MB SIMM by Y.Sugahara, and also
tested on XM6i with 68030 and custom 128MB memory settings by isaki@.

Should be pulled up to netbsd-6.
2012-02-25 02:43:08 +00:00
joerg
cff570f6d5 Avoid empty loop bodies. 2012-02-25 00:13:28 +00:00
joerg
8c3e60d97f Don't use loops with empty body. 2012-02-25 00:13:00 +00:00
christos
268a453af7 PR/46068: Fix symbol loading on i386 kernels. On i386 lma != vma and gdb7
depends on them being != to detect overlays and avoid loading them. I've
disabled the test for now.
2012-02-24 22:41:12 +00:00
apb
daa17451fe subtracting two pointers yields ptrdiff_t, so cast it to int. 2012-02-24 19:53:31 +00:00
apb
bb16246581 When given an URL that contains "://" but is not recognised,
print an error message.  Now "ftp https://foo/bar" prints

    ftp: Unsupported URL scheme `https'

instead of

    ftp: Can't lookup `https:ftp': No address associated with hostname
    ftp: Can't connect or login to host `https:?'
2012-02-24 19:40:49 +00:00
skrll
9f1bfbd930 More u_intXX_t -> uintXX_t
Same code before and after.
2012-02-24 18:45:20 +00:00
mhitch
89a7c501e1 Reserve a CCB for the driver. Stops the annoying cac0: unable to alloc CCB
messages.
2012-02-24 18:04:51 +00:00
njoly
addd71bd1d Check if fstab file exists before trying to parse it, to avoid
warnings from {get,set}fsent() functions if missing.

dholland ok.
2012-02-24 18:00:09 +00:00
dholland
6c69bdb74e Note that gets() is finally dead in C11 and can be removed if we ever
bump libc.
2012-02-24 16:06:39 +00:00
joerg
7a5b80bed9 Add explicit continue to empty loop body. 2012-02-24 16:03:39 +00:00
joerg
3069ef674a Restrict -ffloat-store to t_strtod.c. 2012-02-24 14:02:55 +00:00
joerg
37f2635c65 Fix obvious code issues and remove the original -Wno-error for clang
builds to not hide them in the future:
(1) Don't use a pointer to a local variables if all that is done is
comparing it against NULL. The function itself works fine for that
purpose.

(2) Initialise the fail counter, giving the test a chance to work
reliably.
2012-02-24 13:53:46 +00:00
bouyer
d8304c6be9 Don't maintain ci_cpumask for physical CPUs, it's not used. 2012-02-24 11:43:06 +00:00
bouyer
b0388defd1 Get rid of phycpus_attached bitmask; it's maintained but not used and
will limit the number of physical CPUs to 32 without good reasons.
2012-02-24 11:31:23 +00:00
cherry
673606616b kernel page attribute change should be reflected on all cpus, since
the page is going to be released after the _dtor() hook is called.
2012-02-24 08:44:44 +00:00
cherry
0549360f1d Revert previous 2012-02-24 08:17:20 +00:00
cherry
93e6bcdc5e kernel page attribute change should be reflected on all cpus, since
the page is going to be released after the _dtor() hook is called.
2012-02-24 08:11:14 +00:00
cherry
a9b15e0f47 (xen) - remove the (*xpq_cpu)() shim.We hasten the %fs/%gs setup process during boot.Although this is hacky, it lets us use the non-xen specificpmap_pte_xxx() functions in pmap code (and others). 2012-02-24 08:06:07 +00:00
mrg
09ca7a00b0 remove any remnants of freebsd/openbsd code. 2012-02-24 06:48:23 +00:00