Commit Graph

89173 Commits

Author SHA1 Message Date
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
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
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
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
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
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 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
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
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
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