161489 Commits

Author SHA1 Message Date
pooka
07b20d8dff update PARAMASK to match reality 2007-08-22 15:38:46 +00:00
tsutsui
8570a29bb0 Don't print error messages on stray interrupts since
it could happen after cnputc().
2007-08-22 12:45:41 +00:00
tsutsui
c445dff46f Add (commented out) options RAID_AUTOCONFIG. 2007-08-22 12:43:00 +00:00
lukem
91c7169d78 Improve parsing of chunked transfer chunks per RFC2616:
* more stringent chunk-size parsing
* ignore optional trailing ';chunk-ext' stuff, instead of barfing
* detect EOF before final \r\n.
2007-08-22 06:51:41 +00:00
dogcow
fc68757006 A prophylactic patch: change offsetof -> blkoffsetof 2007-08-22 03:42:06 +00:00
drochner
a82b6826f5 replace the last cast through void* by the SET_FLOAT_WORD macro, inspired
by a similar change in FreeBSD
2007-08-21 20:12:27 +00:00
drochner
58960d86a5 Adopt an (older) fix from FreeBSD: using ceil() on values in (0,0.5]
leads to loss of precision, leading to rounding into the wrong direction
for the case 0.5-epsilon. use floor() instead.
This also fixes a wrong sign of zero returned with non-default rounding
directions.
2007-08-21 20:10:27 +00:00
drochner
f0a00b4ec9 humble beginnings of regression tests for libm functions: test for
a longstanding bug in round()/roundf() which I will pull in a fix
for (from FreeBSD) in a minute
2007-08-21 19:52:36 +00:00
bouyer
bd627359dd Improved SATA support, from Jonathan A. Kollasch in PR bin/36772:
* use full 5-bit command queue depth that SATA supports
* decode SATA bits
2007-08-21 16:53:18 +00:00
christos
dc2a5030fc provide more detailed messages with -l. From Anon Ymous 2007-08-21 14:09:53 +00:00
pooka
faafe7834a Implement credentials. Access control is now similar to if the file
system were run in the kernel.
2007-08-21 13:57:17 +00:00
ghen
45f483d712 Remove CVS $Log$ tag, this got problematic when pulled up to netbsd-4. 2007-08-21 13:17:24 +00:00
kiyohara
d56611e9ca Replace white-space to Tab. 2007-08-21 12:43:33 +00:00
kiyohara
c4ab942136 Add gxiic and iic. However not test yet because I don't have I2C-LSI and
can't connect it.
2007-08-21 12:36:18 +00:00
kiyohara
2d6e84fcd5 Add option GXIO_DEFAULT_EXPANSION. This option is default 'netCF'.
Remove white-spaces.
2007-08-21 12:26:17 +00:00
kiyohara
457cf3f266 Oops.
I mistook commit.  sdmmc(4) is not commit yet.  And I don't have this.
2007-08-21 12:09:21 +00:00
kiyohara
a3adea9301 * Configure the GPIO to GXIO_DEFAULT_EXPANSION, if not specified 'busheader='
in boot args.
* Support NONAKA's <nonaka@netbsd.org> sdmmc.
* Add expansion target 'basix'.  This is to configure GPIO to PXA MCI.
    However, CardDetect is not connected as for mci of gumxtix. Therefore, it
    is not possible to Insert/Remove.
* Remove white-spaces.
* Change format in comments.
2007-08-21 12:01:55 +00:00
kiyohara
f1bbc2447a The initarm() should initialize GPIO. We must not initialize GPIO in
foo_attach() of the each drivers.  And, it is necessary to confirm whether
to be initialized in foo_match().  To avoid a dangerous configuring on the
evaluation boards.
2007-08-21 11:39:11 +00:00
kiyohara
89ad31246c Add some devices. 2007-08-21 10:59:53 +00:00
kiyohara
d080794a69 Add btuart and btbc. 2007-08-21 10:56:11 +00:00
hannken
5657bcacb9 Modify ffs_lock() to take care for changed v_vnlock. Snapshots do not need
transferlockers() anymore.

From FreeBSD ffs_vnops.c Rev. 1.159

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
2007-08-21 09:27:33 +00:00
dyoung
473d5fc042 Use sockaddr_in_init(). 2007-08-21 08:34:33 +00:00
is
84a2db0efa whitespace cleanup 2007-08-21 06:51:09 +00:00
kiyohara
7b055a6f57 Comment-out 'slhci at pcmcia' because comment-outed for the pcmcia. 2007-08-21 05:29:18 +00:00
kiyohara
510dbbae54 Add slhci at pcmcia.
And reorder.
2007-08-21 02:48:14 +00:00
skd
e066a10613 Enable LFS from sysinstall. 2007-08-21 02:20:55 +00:00
uwe
9ad0553da6 Factor out code to setup lwp u-area into a separate function used by
both cpu_lwp_fork and cpu_setfunc.
2007-08-21 01:13:05 +00:00
pooka
a86741016f add rump private parts I forgot to commit earlier today 2007-08-20 23:05:46 +00:00
pooka
d6b288093a g/c bit about r/w && bsize < PAGE_SIZE, not a concern any more 2007-08-20 23:01:51 +00:00
pooka
b49c4f6b0b g/c comment invalidated by previous 2007-08-20 22:59:17 +00:00
pooka
4224c1d885 * in getpages, make sure we always align our buffer size to the page size
* in putpages, make sure we don't try attempt to push data in a page
  after eof.  also, skip blocks which bmap can't locate (see comment
  in code).

the effect: file systems with fs_bsize < PAGE_SIZE now work r/w
2007-08-20 22:58:03 +00:00
agc
b143e0b001 If we're writing to a file, make sure the version we're writing is in
the topmost directory (the writable one).  If it's not there, copy the
file to there.
2007-08-20 21:55:44 +00:00
uwe
f710f36828 Fix couple of whitespace glitches. 2007-08-20 21:17:39 +00:00
dyoung
bd98464c6f Don't call rtcache_check() from the fast-forward code, which runs
at IPL_NET, because rtcache_check() may read the forwarding table.
Elsewhere, the kernel only blocks interrupts at priority IPL_SOFTNET
and below while it modifies the forwarding table, so rtcache_check()
could be reading the table in an inconsistent state.  Use
rtcache_done(), instead.

XXX netinet/ip_flow.c and netinet6/ip6_flow.c are virtually identical.
XXX They should share code.
2007-08-20 19:42:34 +00:00
is
1ee8b50f43 First part of amigappc support patches by Frank Wille. 2007-08-20 19:23:44 +00:00
martin
4418b58c3f Remove all ioctls from the conversion list that are explicitly defined
to use struct oifreq - the magic size changing makes them fail.
2007-08-20 19:19:33 +00:00
martin
2adca4d368 Sigh - revert previous. Seems we can't avoid the big list, so fill it.
Now both "ifconfig ... create" and "pppoectl -d" work again with old
userland.
2007-08-20 17:48:17 +00:00
martin
1bcc2150d3 Put back the previous hack to make compat_cvtcmd() work for all the ioctls
that use struct ifreq which have not been explicitly versioned.
If someone feels like fixing it with a list aproach, I think below is
a complete list - the one used in the previous version missed a lot of them.

BIOCGETIF
BIOCSETIF
GREDSOCK
GREGADDRD
GREGADDRS
GREGPROTO
GRESADDRD
GRESADDRS
GRESPROTO
GRESSOCK
SIOCADDMULTI
SIOCDELMULTI
SIOCDIFADDR
SIOCDIFADDR_IN6
SIOCDIFPHYADDR
SIOCGDEFIFACE_IN6
SIOCGIFADDR
SIOCGIFADDR_IN6
SIOCGIFAFLAG_IN6
SIOCGIFALIFETIME_IN6
SIOCGIFBRDADDR
SIOCGIFDLT
SIOCGIFDSTADDR
SIOCGIFDSTADDR_IN6
SIOCGIFFLAGS
SIOCGIFGENERIC
SIOCGIFMETRIC
SIOCGIFMTU
SIOCGIFNETMASK
SIOCGIFNETMASK_IN6
SIOCGIFPDSTADDR
SIOCGIFPDSTADDR_IN6
SIOCGIFPSRCADDR
SIOCGIFPSRCADDR_IN6
SIOCGIFSTAT_ICMP6
SIOCGIFSTAT_IN6
SIOCGPVCSIF
SIOCGVH
SIOCIFCREATE
SIOCIFDESTROY
SIOCSDEFIFACE_IN6
SIOCSIFADDR
SIOCSIFADDR_IN6
SIOCSIFALIFETIME_IN6
SIOCSIFBRDADDR
SIOCSIFDSTADDR
SIOCSIFDSTADDR_IN6
SIOCSIFFLAGS
SIOCSIFGENERIC
SIOCSIFMEDIA
SIOCSIFMETRIC
SIOCSIFMTU
SIOCSIFNETMASK
SIOCSIFNETMASK_IN6
SIOCSNDFLUSH_IN6
SIOCSPFXFLUSH_IN6
SIOCSPVCSIF
SIOCSRTRFLUSH_IN6
SIOCSVH
TAPGIFNAME
2007-08-20 16:52:59 +00:00
perry
3749a6a002 "must instead be used" -> "must be used instead" 2007-08-20 16:08:55 +00:00
perry
e34be9798b Never use "utilize". It means exactly the same thing as "use", but it
is longer and more cumbersome. It can always be replaced with "use"
without any change in meaning.
2007-08-20 16:07:05 +00:00
drochner
9d8b5fa74e Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.
2007-08-20 16:01:28 +00:00
pooka
3c2765f1a3 Hide NetBSD kernel headers completely from ukfs. This includes creating
accessors for:
  * struct mount & VFS ops
  * struct uio
  * struct vnode
  * struct vattr

and some namespace games for:
  * namei flags
  * VOPs
  * enum vtype

Also, split rump services into two categories: library private and public
(rump_private.h and rump.h, respectively).

As a result, it is now possible to compile and use the NetBSD kernel
file systems on Linux (and probably other systems too with very
little work), although the makefiles need a bit of work to make it
a pleasureable experience.
2007-08-20 15:58:13 +00:00
pooka
b37bc96773 Wrap enum vtype around __VTYPE_DEFINED to allow overriding it elsewhere. 2007-08-20 15:51:37 +00:00
is
e9fd59274a fix capitalization error 2007-08-20 15:18:03 +00:00
is
3bb1fe26b6 Fix spelling error. 2007-08-20 15:16:06 +00:00
ad
a412ed5978 Also initialize map->lock for INTRSAFE maps. 2007-08-20 13:34:52 +00:00
ad
f6481c29d3 uvmspace_free: destroy locks. 2007-08-20 13:33:47 +00:00
tsutsui
86d978bbc9 Update yamt-idlelwp status after merge.
Probably incomplete, but better than obsolete.
2007-08-20 12:39:33 +00:00
tsutsui
37e53f693f KNF, ANSIfy, TAB/space cosmetics. 2007-08-20 12:32:30 +00:00
is
8a1e4dd98f Regenerate after addition of wdc_buddha. 2007-08-20 07:42:46 +00:00