193735 Commits

Author SHA1 Message Date
kiyohara
0e8c021dd8 Move 'include files.sdmmc' to files.evbarm. 2010-09-23 07:08:57 +00:00
kiyohara
2453452fa8 Remove #ifdef NPRCM. Always include omap2_prcm.h. 2010-09-23 07:01:41 +00:00
kiyohara
22896d279d If GUMSTIX_NETBSD_ARGS_CONSOLE is defined, argument 'console=ttyS0,<speed>'
that u-boot passes Linux will be interpreted.
2010-09-23 06:54:46 +00:00
kiyohara
fefe19edbb Remove #if !defined(OVERO) - #endif. Overo can call delay(). 2010-09-23 06:43:32 +00:00
wiz
23f45c39ba Punctuation improvement, bump date for FAST_IPSEC description. 2010-09-22 17:59:35 +00:00
wiz
98890d79a7 Bump date for O_DIRECTORY, more markup, merge two error sections. 2010-09-22 17:58:09 +00:00
jakllsch
4e26f773f2 Avoid fault if acpi_softc is NULL at attempted power-off.
XXX at least some of this should be factored off into arch/x86.
2010-09-22 16:16:51 +00:00
christos
3b2862d165 fix typo. From Anon Ymous 2010-09-22 14:37:08 +00:00
vanhu
23e038ba26 get the correct length of username when processing ADMIN_LOGOUT_USER, patch by rweikusat (at) mssgmbh.com 2010-09-22 13:37:35 +00:00
vanhu
40e858e050 fixed a typo in macros, reported by marisp (at) mt.lv 2010-09-22 07:34:51 +00:00
roy
215c5976aa Our API just uses typedefs, so don't use the struct symbol which will avoid
any potential conflicts with userland.
2010-09-22 06:10:51 +00:00
kiyohara
e02699bf8c Back out previous change. "automagically" is NOT a typo. 2010-09-22 04:32:53 +00:00
pgoyette
c5da67f0a2 1. Don't try to call the driver's get_limits routine if it doesn't have
one.  Fixes a panic reported by njoly@ in private Email

2. Acquire the device before checking whether or not the get_limits
   routine exists.

XXX There's still a bug in here somewhere that prevents setting of
XXX limit values after using 'envstat -S'
2010-09-22 00:13:55 +00:00
chs
38b9dc3505 implement O_DIRECTORY as standardized in POSIX-2008,
for both native and linux emulations.
this fixes the rest of PR 43695.
2010-09-21 19:26:18 +00:00
degroote
b76f3dc775 Mentions that IPSEC_DEBUG works with FAST_IPSEC implementation 2010-09-21 13:47:41 +00:00
degroote
4a785c3a1c Mentions the FAST_IPSEC options 2010-09-21 13:46:41 +00:00
degroote
cd96000382 Fix ipcomp input counter
Reported Wolfgang Stukenbrock in pr/43250.
2010-09-21 13:41:18 +00:00
vanhu
a4e6ec9d93 moved from utmp.h to utmpx.h (patch provided by marcin.cieslak (at) gmail.com) 2010-09-21 13:14:17 +00:00
soda
3392edf8b0 O2W is "off to work", from mrg@ and spz@. 2010-09-21 07:14:20 +00:00
wiz
8d65c98f7a Fix typo. 2010-09-21 07:05:28 +00:00
mrg
aa347197eb note bozohttpd 20100920 2010-09-21 06:26:56 +00:00
kiyohara
dc47a44e6b + Add macro SMC_CAPS_8BIT_MODE for 8bit mode support.
+ Typo.  s/automagically/automatically/.
2010-09-21 04:57:44 +00:00
kiyohara
7e29ca4012 Fix build failure.
A new variable width and value had been forgotten since r1.7.
2010-09-21 04:53:53 +00:00
macallan
42092a5f99 add separate flags for putchar() based copycols() and copyrows() methods
for hw that can accelerate one but not the other, like Sun's Creator series
VCONS_DONT_READ does the same as before
2010-09-21 03:33:14 +00:00
macallan
9912ffbb92 * implement hw acceleration for putchar()
* use VCONS for copycols()
* don't map the framebuffer now that we don't access it anymore
* make a bunch of drawing engine syncs optional
2010-09-21 03:31:04 +00:00
macallan
9e776daf49 defflag some flags for the ffb driver 2010-09-21 03:26:20 +00:00
rmind
380cb143e5 _cpuset_create: initialize size argument for sysctl call.
From PR/43837 by Sandy Snaman.
2010-09-21 02:03:29 +00:00
jym
16e58e269b Promote paddr_t to 64 bits for i386 userland (non PAE and PAE).
paddr_t has limited interest in userland, and should only be used by specific
code like kvm(3) (for VA => PA translations). To support non PAE and PAE
kernels simultaneously in kvm(3), promote paddr_t to 64 bits.

No objection on current-users@. See also:

http://mail-index.netbsd.org/current-users/2010/09/07/msg014249.html

Kernel remains untouched by this change. In-kernel 64 bits for paddr_t is for
a future commit (Yes, I do not forget about that :) )
2010-09-21 00:18:05 +00:00
jym
962a341df6 Change kvm_pa2off() and kvm_kvatop() prototypes (private to kvm(3)):
-int     _kvm_kvatop(kvm_t *, u_long, u_long *);
-off_t   _kvm_pa2off(kvm_t *, u_long);
+int     _kvm_kvatop(kvm_t *, vaddr_t, paddr_t *);
+off_t   _kvm_pa2off(kvm_t *, paddr_t);

Basically, use vaddr_t for VA and paddr_t for PA. In addition, for variables
representing addresses, use paddr_t or vaddr_t, depending on the context.

For most arches, vaddr_t and paddr_t are equivalent to unsigned long. However,
the change was needed for exotic situations, like i386 PAE, were unsigned long
is not suitable for PA which are 64 bits long. As this required a complete
change of the function prototypes, all arches had to be adapted accordingly.

Core files from before this commit should still work with the new code; I did
not see any direct dependency between core's structure and kvatop/pa2off.

The change was compile tested for all arches, as it impacts all of them.

See also:

http://mail-index.netbsd.org/current-users/2010/09/07/msg014249.html
2010-09-20 23:23:16 +00:00
mrg
df5be5736c merge bozohttpd 20100920 2010-09-20 23:11:38 +00:00
mrg
729c374954 initial import of bozohttpd 20100920. the only change missing in here is:
o  fix dynamic CGI content maps, from rudolf
2010-09-20 23:07:21 +00:00
mrg
44128f48a9 fix an error in the previous. 2010-09-20 22:18:22 +00:00
mrg
109d4102cc fix a serious error in virtual hosting support, noticed by seanb@netbsd,
and disallow ".." as a virtual host name!  also ".".

patch from sean.
2010-09-20 21:58:43 +00:00
christos
8fb564818f avoid integer overflow that can lead to buffer overflow 2010-09-20 19:39:20 +00:00
christos
fda2d7ca9f deal with infinity on the vax. 2010-09-20 17:51:38 +00:00
christos
c80a34bc23 no more ieee ifdefs 2010-09-20 16:55:20 +00:00
christos
0a9ef41cbe get rid of ieee dependencies. 2010-09-20 16:53:30 +00:00
christos
1a7202d2d0 cargo cult the x86 changes. 2010-09-20 16:13:35 +00:00
christos
852d033d43 shouldn't need ieee.h here. 2010-09-20 15:38:48 +00:00
christos
35f0b243af Use the control (not data) interface descriptor when looking at the
control interface endpoints! (from Anon Ymous)
2010-09-20 14:18:13 +00:00
ahoka
592d1c274a Avoid NaN when calculating std-dev, which fixes a crash on VAX. 2010-09-20 11:49:48 +00:00
tsutsui
f252fc5e80 Prepare sparc optimized (by 32 bit add-with-carry insns) cpu_in_cksum()
which is reusing in_cksum_internal() in old sparc/in_cksum.c.

~4% improvements of ttcp(1) xfer rates on SS1+ with le(4).
2010-09-20 10:21:10 +00:00
kiyohara
b9cf6be02b Clean up return/error in sdmem_mem_send_scr(). 2010-09-20 09:42:32 +00:00
kiyohara
87b07383a1 Fix SCR data. 2010-09-20 09:34:47 +00:00
kiyohara
34f323b137 Support MMC 4,8-bit mode.
It tested only 4bit on Marvell Sheevaplug.
2010-09-20 09:30:20 +00:00
kiyohara
393dd47650 Sync with POSTREAD before memcpy. 2010-09-20 09:19:31 +00:00
kiyohara
ea26f43320 Clear SMF_CARD_PRESENT, if failed to attach. 2010-09-20 09:06:03 +00:00
kiyohara
fbd4ef36fc Print product name. like sd(4), wd(4) and etc... 2010-09-20 09:03:33 +00:00
manu
3d6861b56c - performance improvement for read, readdir and write. Now we use
SOCK_DGRAM, we can send many pages at once without hitting any bug

- when creating a file, it is open for FUSE, but not for the kernel.
If the kernel does not do a subsequent open, we have a leak. We fight
against this by trying to close such file that the kernel left unopen
for some time.

- some code refactoring to make message exchange debug easier (more to come)
2010-09-20 07:00:21 +00:00
kiyohara
e7ce62fde3 Check disk bounds, in RAW_PART. 2010-09-20 06:54:06 +00:00