Commit Graph

161315 Commits

Author SHA1 Message Date
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
is
4c7c634330 wdc frontent for the buddha and catweazle Z2 hardware. From an old prototype
by me which was never committed due to lack of testers, adopted to 4.99 and
fixed by Frank Wille.
2007-08-20 07:40:29 +00:00
skd
d4509b0376 Clean up net compat ioctls, and clean up handling of wireless ioctls. 2007-08-20 04:49:40 +00:00
christos
3f074821a5 Apparently seeking forward on a FIFO does not work (why?). Read instead.
Patch from Jukka Salmi.
2007-08-20 03:44:17 +00:00
uwe
4e3006c663 Add back comma between operands lost in s/tab/space/ cosmetics of 1.21
(as(1) doesn't mind, apparently)
2007-08-20 01:05:23 +00:00
kiyohara
7fbebc4263 Add btbc(4). 2007-08-20 00:54:41 +00:00
kiyohara
37899c17de Regen. 2007-08-20 00:32:38 +00:00
kiyohara
10448cd503 Add support for AnyCom BlueCard. 2007-08-20 00:29:43 +00:00
pooka
34980d5637 Namespace management: do not call VOP_FOO directly from ukfs or
p2k, but rather make the calls go through librump.  This avoids
having to include NetBSD kernel headers in userspace programs.
Stay tuned for some more mods of the same sort ...
2007-08-19 21:24:21 +00:00
pooka
29e91e1a8c * fix build if using obj dirs
* this shouldn't use rump directly
2007-08-19 20:06:58 +00:00
tnn
6d441a221f Move spdmem.4 to the i2c section. 2007-08-19 18:58:36 +00:00
is
567a27c6e2 Reminder to not change GENERIC etc. directly. 2007-08-19 17:18:15 +00:00
is
d1ba1cb2fd regenerate after removal of OSI networking 2007-08-19 17:14:59 +00:00
tsutsui
e416a3f87c FALSE -> false, TRUE -> true 2007-08-19 16:11:46 +00:00
pooka
8e851258d0 * support symlink & readlink
* some reorg & bugfixage
2007-08-19 15:57:38 +00:00
he
22cbe339e3 Use bool with prop_dictionary_get_bool. 2007-08-19 15:57:24 +00:00
pooka
8d4ab68505 always define __NetBSD__ 2007-08-19 14:47:24 +00:00
christos
c40c743211 deal with non-regular files. 2007-08-19 10:31:13 +00:00
jdc
dc4c31893c Also print a new line if we are not the console. 2007-08-19 09:18:45 +00:00
kiyohara
ae13675987 slhci(4) is MP safe and can use the CALLOUT_MPSAFE flag.
patch from Matthew Orgass <darkstar@city-net.com>
2007-08-19 07:42:04 +00:00
kiyohara
4c0047be7a Add NetBSD tag.
patch from Matthew Orgass <darkstar@city-net.com>
2007-08-19 07:35:32 +00:00
matt
6196ec7ecb Add EM_AVR32 2007-08-19 03:38:52 +00:00
riz
67ed136a80 Regen. 2007-08-19 00:40:38 +00:00
riz
a12c37d4b2 Add 27 Intel ICH9 device IDs, from:
http://download.intel.com/design/chipsets/specupdt/31697301.pdf
2007-08-19 00:39:46 +00:00
sborrill
d07cbdc44b Regen 2007-08-18 20:24:33 +00:00