205546 Commits

Author SHA1 Message Date
rkujawa
3e2616d8d1 Fix build for both amiga and amigappc (discussed with christos). 2011-09-21 12:40:25 +00:00
jym
37232010ea Use __arraycount(), as done above. 2011-09-21 12:08:02 +00:00
ahoka
b2aaa2725d Initial version of a pro-module kernel config 2011-09-21 10:18:52 +00:00
gsutre
a9aa6757ca Fix btinfo_bootdisk's labelsector and btinfo_bootwedge's startblk for
the non-GPT case.

ok jakllsch@
2011-09-21 08:57:12 +00:00
mrg
dc04629559 add libgomp support. needed by "cc -fopenmp", that koffice 2.3 wants to use. 2011-09-21 02:15:18 +00:00
mrg
520e58c432 only decent into crypto/tests if ${MKCRYPTO} != "no". (sets are probably
also broken, but i didn't get that far yet.)
2011-09-21 02:14:38 +00:00
mrg
e2bf07a38a use GOMP_MACHINE_ARCH, so we can build compat libs. 2011-09-21 02:12:00 +00:00
mrg
a2a54c3f32 allow LIBISPRIVATE to be overriden, and install everything again.
helpful for mknative-gcc.
2011-09-21 02:06:42 +00:00
mrg
53e8c72cbd libgomp mknative-gcc files for everyone else. 2011-09-21 02:00:55 +00:00
jakllsch
747346c9d6 Don't sync cache on Sansa Clip, while not fatal to further device access,
it spews 4 "generic HBA error" lines in the dmesg just plugging it in.
2011-09-20 19:35:46 +00:00
wiz
c8bfcae813 New sentence, new line. 2011-09-20 19:31:47 +00:00
jakllsch
6d2312c069 regen 2011-09-20 19:25:16 +00:00
jakllsch
ba9efe901b Add SanDisk Sansa Clip.
This Mass Storage Class device rejects SCSI_FLUSHCACHE with a generic HBA error.
2011-09-20 19:25:01 +00:00
jym
305e6b033b Use mdoc(7) references for links to specifications. While here, fix
URLs for USB device class spec documents, and bump date.
2011-09-20 18:58:40 +00:00
christos
e1cb9e9e42 try to make this compile again. 2011-09-20 18:11:51 +00:00
christos
3584aaaf1c - don't use an uninitialized grouplist (from Patrick Welche)
- While here:
	* Allow all numeric users and groups
	* Error check string to number conversion
	* Factor out common code
2011-09-20 14:28:52 +00:00
chs
4ce2757928 strengthen the assertions about pages existing during block allocation,
which were incorrectly relaxed last year.  add some comments so that
the intent of these is hopefully clearer.

in ufs_balloc_range(), don't free pages or mark them dirty if
allocating their backing store failed.  this fixes PR 45369.
2011-09-20 14:01:32 +00:00
apb
b80ac66c04 Don't try to fsck root device if "/" is not mentioned in fstab.
Also don't assume that all network mounts are "nfs".
2011-09-20 12:13:21 +00:00
joerg
9b296e99bc Decouple clang and gcc handling a bit. Add -Wmissing-noreturn for clang
builds. GCC complains about about non-void functions not returning,
which is quite a bit more bogus, so don't enable it for that.
2011-09-20 09:11:06 +00:00
joerg
39079c5f77 Explicitly add back __resumecontext wrapper 2011-09-20 08:42:29 +00:00
macallan
0d5dedcda8 support ioctl(WSDISPLAYIO_SVIDEO) and friends so wsfb can turn the backlight
off
2011-09-20 06:15:02 +00:00
macallan
28bedf5b5c wait after twiddling the gpio to power down, it takes a few seconds for it to
take effect. Without this we would run into gdium_reset() and reboot instead
of powering down.
2011-09-20 05:57:11 +00:00
macallan
4c830aa5a1 call gdium_cnattach()
Now this actually boots on Gdium.
2011-09-20 05:51:34 +00:00
macallan
124ba080d4 make this work with NCOM == 0 2011-09-20 05:50:17 +00:00
macallan
6a69241322 move the early console code over from ../gdium
This is kinda hackish but it works and it's not like there will be new Gdium
revisions anyway.
2011-09-20 05:41:58 +00:00
mrg
ac21230aad makefile to build libgomp, as needed by "gcc -fopenmp".
needs a full mknative-gcc run before it can be properly enabled.
2011-09-20 02:28:03 +00:00
mrg
5bf1411760 mknative-gcc files for libgomp. 2011-09-20 02:26:40 +00:00
jym
aa14c76a3c Xen suspend/resume code is now committed in -curent. 2011-09-20 00:33:43 +00:00
jym
ead70b283f Xen suspend/resume will be part of NetBSD-6. 2011-09-20 00:31:06 +00:00
jym
c55990f33b jym-xensuspend is now terminated. 2011-09-20 00:29:57 +00:00
jym
eba16022d3 Merge jym-xensuspend branch in -current. ok bouyer@.
Goal: save/restore support in NetBSD domUs, for i386, i386 PAE and amd64.

Executive summary:
- split all Xen drivers (xenbus(4), grant tables, xbd(4), xennet(4))
in two parts: suspend and resume, and hook them to pmf(9).
- modify pmap so that Xen hypervisor does not cry out loud in case
it finds "unexpected" recursive memory mappings
- provide a sysctl(7), machdep.xen.suspend, to command suspend from
userland via powerd(8). Note: a suspend can only be handled correctly
when dom0 requested it, so provide a mechanism that will prevent
kernel to blindly validate user's commands

The code is still in experimental state, use at your own risk: restore
can corrupt backend communications rings; this can completely thrash
dom0 as it will loop at a high interrupt level trying to honor
all domU requests.

XXX PAE suspend does not work in amd64 currently, due to (yet again!)
page validation issues with hypervisor. Will fix.

XXX secondary CPUs are not suspended, I will write the handlers
in sync with cherry's Xen MP work.

Tested under i386 and amd64, bear in mind ring corruption though.

No build break expected, GENERICs and XEN* kernels should be fine.
./build.sh distribution still running. In any case: sorry if it does
break for you, contact me directly for reports.
2011-09-20 00:12:23 +00:00
christos
1cc8b31503 ifdef unused variable with -UPTRACE 2011-09-19 23:54:29 +00:00
joerg
0a2b758384 Mark _resumecontext as dead. ANSIfy all declarations for it. 2011-09-19 21:24:57 +00:00
rkujawa
45ee52711d Remove information about prometheus.library (not needed after last changes to mppb driver). 2011-09-19 19:18:19 +00:00
rkujawa
3db9494741 Move CACHELINE_* from bus_dma.c to cpu.h (needed for PCI configuration on amiga port). 2011-09-19 19:17:05 +00:00
rkujawa
0d5229b834 Minor changes to Amiga PCI MD code:
- Add bus enumeration and resource assignment (PCI_NETBSD_CONFIGURE) to mppb(4) - no more need to run AmigaOS to configure the bus.
- Add PCI configuration address register to p5pb(4).
- Add PCI I/O space support to p5pb(4).
- Move common code from p5pb(4) and mppb(4) to new pci_machdep.c file.
- Fix style.
2011-09-19 19:15:28 +00:00
pgoyette
324d22a412 Mark the tests/lib/libc/ieefp directory obsolete, as well as its former
contents.
2011-09-19 18:16:06 +00:00
reinoud
5458c3911e Small cleanups on memory initialisation by using munmap() instead of mapping
unaccessible anon memory that we're never going to use anyway!
2011-09-19 12:52:32 +00:00
njoly
0a0381cf04 Small typo (t_fpsclassify -> t_fpclassify). 2011-09-19 11:57:11 +00:00
gdt
088ef1d7ee Remove prototype for the departed wapbl_ufs_rename.
ok dholland@
2011-09-19 11:18:01 +00:00
jruoho
eef73475b4 Add missing entries. 2011-09-19 11:04:33 +00:00
wiz
82c488769a Minimally document gpt recover. Bump date. 2011-09-19 10:40:35 +00:00
gsutre
59ff3357e7 PR/38356: Minoura Makoto: Use the device's unit (instead of autoconf's)
to match the bootinfo root device.

Fixes multiboot(8) root= option as well as GRUB knetbsd --root option.
2011-09-19 10:03:32 +00:00
jnemeth
a55ee38cee dm(4) uses dk_lookup() from dksubr.c 2011-09-19 08:53:30 +00:00
plunky
ff9d88a96f add Kingston DataTraveler 102 G2 (does not like being told to lock door) 2011-09-19 08:26:57 +00:00
plunky
00f40db938 regen for Kingston DataTraveler 102 G2 2011-09-19 08:22:51 +00:00
plunky
97e6d3ed91 add Kingston DataTraveler 102 G2 2011-09-19 08:20:20 +00:00
jruoho
354930c19a Point to PR misc/44708 when failing. XXX: Remove once the test is fixed. 2011-09-19 06:38:02 +00:00
jruoho
6337efd6b4 Remove ieeefp subdirectory. 2011-09-19 05:42:13 +00:00
jruoho
9ebeca8a64 Move duplicate ldexp(3) test out from the tests/libc. 2011-09-19 05:40:38 +00:00