205475 Commits

Author SHA1 Message Date
christos
a0af16e360 - factor out common code in the inet and inet6 printing.
- add appletalk (ddp) support.
2011-09-22 17:27:50 +00:00
he
65217c2910 Also eliminate now-no-longer-used local variable. 2011-09-22 16:08:49 +00:00
he
89071b8936 Make this build again: include <err.h> when needed, and don't
shadow err() with a local variable called err...
2011-09-22 16:05:11 +00:00
christos
8624929e77 Fix unchecked malloc, check for overflow (Maksymilian Arciemowicz)
While here, remove unused casts, fix types.
2011-09-22 12:49:57 +00:00
christos
3670fb8d46 Eliminate unchecked malloc (Maksymilian Arciemowicz) 2011-09-22 12:43:09 +00:00
christos
144b6f2c66 Check result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:40:48 +00:00
christos
5b4a37ed53 check the result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:38:33 +00:00
jym
3d92bf7df0 The bnx(4) handler runs at IPL_NET (works with spin mutexes), while
allocations can be deferred to a workqueue(9): set its highest IPL to
IPL_NET and not IPL_NONE, which is protected by an adaptive/sleeping mutex.
2011-09-22 08:42:53 +00:00
mrg
162d7d5b76 remove an extra ".TP" that broke my build. 2011-09-22 07:30:04 +00:00
macallan
fc1dcffcb1 use BUS_SPACE_MAP_PREFETCHABLE 2011-09-22 06:16:13 +00:00
macallan
9320bc4780 support BUS_SPACE_MAP_PREFETCH in order to allow mapping device memory and
DMA buffers with cacheing disabled but things like write combining, relaxed
ordering etc. allowed when the CPU supports it
so far enabled only on Loongson, should work on R1xk and probably newer CPUs
2011-09-22 05:08:52 +00:00
mrg
23f1423382 regenerate. 2011-09-22 04:22:17 +00:00
jakllsch
8524c1046a valz(4) is superseded entirely by acpivga(4) these days. 2011-09-22 01:15:31 +00:00
wiz
bb903ea004 New sentence, new line. Remove empty EXAMPLE section. 2011-09-21 20:12:11 +00:00
christos
9a4d7431cb Add a canonicalize option to avoid disaster when one converts directories
to symlinks in the tree and back. This option is expensive, it could be
made better by cacheing, but not now.
2011-09-21 19:34:54 +00:00
christos
9525895f88 constify 2011-09-21 19:32:59 +00:00
jakllsch
b500df69ab Set LOADADDR to 0x600, matches how gptmbr.bin is compiled upstream.
This should let this actually work.
2011-09-21 18:15:59 +00:00
christos
622dd6a7e2 Put the mbuf type in the ktrace record so that we know how to decode it
in userland.
2011-09-21 18:10:25 +00:00
christos
17c41f8e0c Symbolic printing of some known MISC records. 2011-09-21 17:48:51 +00:00
macallan
f0e7336a90 make the code that deals with mapping regular memory non-cached work again:
- honour PMAP_NOCACHE
- move the PGC_NOCACHE stuff out of #ifdef PARANOIADIAG
we need this to mmap DMA buffers non-cached on sgimips
2011-09-21 16:37:54 +00:00
christos
4719f3b41e buildfloppies.sh: Image is 29012 bytes (28 KB) too big to fit on 2 disks
So make it 3 floppes until someone finds a way to conserve space. The
build has been broken for months.
2011-09-21 16:13:51 +00:00
manu
da3795c23e Make sure ioflush does not sleep in PUFFS code path, waiting for a mutex,
a memory allocation, or a response from the filesystem.

This avoids deadlocks in the following situations:
1) when memory is low: ioflush waits the fileystem, the fielsystem waits
   for memory
2) when the filesystem does not respond (e.g.: network outage ona
   distributed filesystem)
2011-09-21 15:36:33 +00:00
cegger
790b04f998 Initialize mutex before use. Lets me boot a dom0 kernel again
without a lockdebug panic.
2011-09-21 15:26:47 +00:00
reinoud
0d50410977 Add revision 3/A1 of the KIRKWOOD
{ KIRKWOOD(88F6192),	3, "88F619x",	"A1",	"Kirkwood" },
2011-09-21 14:38:51 +00:00
christos
618434e41f PR/45385: Henning Petersen: Swapped arguments in lseek 2011-09-21 14:33:35 +00:00
christos
48adc0d0fe PR/45384: Henning Petersen: Swapped arguments in lseek 2011-09-21 14:32:14 +00:00
christos
6f2c981e29 PR/45383: Henning Petersen: Swapped lseek args 2011-09-21 14:30:47 +00:00
rkujawa
e6f3c8ee59 Remove zbusmap prototype from bus.h (now in zbusvar.h) 2011-09-21 13:05:32 +00:00
christos
96c3e77145 no parameter names. 2011-09-21 12:48:57 +00:00
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