Commit Graph

213993 Commits

Author SHA1 Message Date
msaitoh
fe467d4df9 Line up total numbers again (for -b case and -X case). 2012-10-19 19:50:19 +00:00
apb
4502ad7c73 Also copy the sfd element of struct ptmget. This somehow
got lost between testing and commit.
2012-10-19 19:44:06 +00:00
apb
a4201c34b6 This file getscompiled even if COMPAT_60 is not defined, so
protect most of the contents with #ifdef COMPAT_60
2012-10-19 17:32:20 +00:00
apb
81fe99fc5d Fix NetBSD version number in a comment 2012-10-19 17:16:55 +00:00
drochner
5724e77fda Implement experimental support to pass notifications that a file
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for now.
This is what was posted here:
http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html
with minor cleanup, and the global switch replaced by a mount option.
2012-10-19 17:09:06 +00:00
prlw1
ba854cbddd regen 2012-10-19 17:01:56 +00:00
prlw1
cb5b66029f Add Intel Centrino Wireless-N 2230 2012-10-19 16:57:47 +00:00
apb
f6297d7676 Add COMPAT_60 versions of the TIOCPTMGET and TIOCPTSNAME ioctls. 2012-10-19 16:55:22 +00:00
apb
76e0337480 Document the new size of the cn and sn fields in struct ptmget. 2012-10-19 16:49:49 +00:00
apb
958dcf94ac Welcome to NetBSD-6.99.14
In struct ptmget, used for ioctl TIOCPTMGET and TIOCPTSNAME,
increase the size of the cn and sn members from char[16]
to char[PATH_MAX].  16 chars is just not enough for reasonable things
like "/dev.amd64/pts/1234" or "/chroot/dev/pts/1234".
2012-10-19 16:49:21 +00:00
matt
b6f0da2b3e Add armv7_drain_writebuf (which is just a dsb). 2012-10-19 13:47:03 +00:00
matt
b16ce6adf4 Make IS_BOUNCING a map flag and use it to simplify code and to avoid calling
the sync routines if (COHERENT|IS_BOUNCING) == COHERENT.  (this eeks out a
little bit more performance).
2012-10-19 13:46:07 +00:00
ttoth
bca84b9e1f CHFS comments 2012-10-19 12:44:39 +00:00
skrll
5fda429d12 Make sure that start.S and machdep.c don't disagree wrt L1 page table
location during bootstrap.
2012-10-19 12:36:24 +00:00
skrll
87f0c17304 Make the first 8 pages available for use. 2012-10-19 12:33:27 +00:00
matt
04a5b6cbf7 Make bus_dmamem_map aware of coherent dma regions. Also, take advantage
of the use/existance of PMAP_MAP_POOLPAGE to avoid redundant mappings.
2012-10-19 11:57:58 +00:00
skrll
00916b8229 Style change. No functional change. 2012-10-19 11:31:50 +00:00
apb
977d0ed33c Use the correct field name when describing the equivalence between
ptsname(3) and ioctl TIOCPTSNAME.  It should be pm.sn, not pm.ps.
2012-10-19 10:44:34 +00:00
skrll
8eda370a73 slop wasn't sloppy enough in the kernel_size calculation. Add in the L2
page tables required as well.

Should fix the dockstar boot problem reported by Andy Ruhl on port-arm.

http://mail-index.netbsd.org/port-arm/2012/09/20/msg001471.html
2012-10-19 09:56:32 +00:00
skrll
cfc7d82ede Comments. 2012-10-19 09:50:30 +00:00
skrll
954f84ae1a Print the message buffer VAs and number of pages. Other minor cosmetics. 2012-10-19 09:06:42 +00:00
msaitoh
a2c28d44be Add CLKGATING_BIT for some devices. This change prevent some boards
that a device's clock is stopped from hangup.
2012-10-19 06:14:44 +00:00
christos
0d87ef641d print major device numbers symbolically from kinfo_drivers 2012-10-19 02:49:52 +00:00
christos
902a40f133 more info for unix sockets. XXX: chroot handling 2012-10-19 02:11:25 +00:00
riastradh
8db30059ca No, we can't elide the fs-wide rename lock for same-directory rename.
rename("a/b", "a/c") and rename("a/c/x", "a/b/y") will deadlock.

Darn.
2012-10-19 02:07:22 +00:00
para
fc7d559bb7 bring comment up to reality
kmem_map => kmem_arena
2012-10-18 19:33:38 +00:00
msaitoh
eeea54cd91 Update device list 2012-10-18 17:27:36 +00:00
apb
22c6226401 Print the value of MAKECONF. 2012-10-18 16:15:29 +00:00
riastradh
4797828821 Back out accidental commit of errno kludge for rmdir(".") &c.
Solaris returns EEXIST, whereas we want to return ENOTEMPTY (POSIX
allows both), but this got included in an unrelated commit and should
be separated into a common commit for other related error code fixes.
2012-10-18 14:29:44 +00:00
riastradh
2111fc7126 Take a first whack at making zfs permissions work.
zfs_access uses secpolicy_vnode_access, so it makes no sense for the
latter to call VOP_ACCESS!

Everything seems to return EACCES instead of EPERM, probably because
that's what kauth returns.  This should be fixed, but that may
require some nontrivial surgery to zfs's calls to secpolicy_*, which
is where kauth gets involved.

This commit imports some code from illumos to implement the routine
secpolicy_vnode_setattr.  This shouldn't be outside dist/, but for
now it is expedient to do so.  We ought to fix that, along with all
the other CDDL code outside dist/, when we next import a newer
version of zfs.
2012-10-18 14:22:57 +00:00
msaitoh
b57799371b - Indent.
- Fix some product names or device names.
2012-10-18 10:41:44 +00:00
msaitoh
5fae10faa1 Add some deivces. 2012-10-18 09:41:24 +00:00
apb
3ba5a7a66d tzcode2012g and tzdata202g have been released. We have updated
to tzdata2012g.

Also fix the upstream Maintainer; Paul Eggert has been doing this
job for several months.
2012-10-18 08:59:00 +00:00
apb
010fc2e85f zoneinfo: Import tzdata2012g. [apb 20121018] 2012-10-18 08:57:26 +00:00
apb
9335fb9deb Merge tzdata2012g from ftp://ftp.iana.org/tz/releases/tzdata2012g.tar.gz
Changes from tzdata2012f to tzdata2012g:

    Samoa fall 2012 and later.  (Thanks to Nicholas Pereira
    and Robert Elz.)

    Palestine fall 2012.  (Thanks to Steffen Thorsen.)
2012-10-18 08:50:32 +00:00
apb
f9685b5d74 Import tzdata2012g from ftp://ftp.iana.org/tz/releases/tzdata2012g.tar.gz
Changes from tzdata2012f to tzdata2012g:

    Samoa fall 2012 and later.  (Thanks to Nicholas Pereira
    and Robert Elz.)

    Palestine fall 2012.  (Thanks to Steffen Thorsen.)

In addition to those changes, the tzdata distribution now includes
a copy of the Makefile from the tzcode distribution.  NetBSD's
src/share/zoneinfo/Makefile is completely different from the Makefile
that is now included in the tzdata distribution.
2012-10-18 08:47:25 +00:00
msaitoh
8ac15b216d Style fix. No functional change. 2012-10-18 08:22:37 +00:00
matt
f791be4d83 Rearrange some code. 2012-10-18 02:36:37 +00:00
matt
fb28547815 Make an ASSERT more "flexible". 2012-10-18 02:34:34 +00:00
matt
ef2ef30bcc Fix an errant define. 2012-10-17 23:40:42 +00:00
dyoung
818ff29c73 Quiet down autoconfiguration by changing some printf() calls to
aprint_normal() calls.
2012-10-17 21:35:38 +00:00
matt
61f99d32b1 Add a missing mutex exit. 2012-10-17 20:45:49 +00:00
skrll
035e5d28e8 Fix two off-by-one loops. Saves a whole two pages. 2012-10-17 20:44:48 +00:00
matt
7b7cfaa723 Make sure the L2 cache is enabled
Restrict the PCIe interface to negotiate at Gen1 speeds.
2012-10-17 20:22:23 +00:00
drochner
16e95cd0dc avoid dummy structure definition, include a system header instead,
looks just cleaner
2012-10-17 20:22:15 +00:00
matt
4ef99a678e Add PMAP_NEEDS_ALLOC_POOLPAGE 2012-10-17 20:21:26 +00:00
matt
a79730286b If there is more than 256MB of ram, add the first 256MB into a separate
VM freelist and specifiy that PMAP_ALLOC_POOLPAGE allocate using that freelist.
2012-10-17 20:20:54 +00:00
drochner
035939be53 put binary compatibility support for the old AMD-only CPU microcode
update API inside COMPAT_60
2012-10-17 20:19:55 +00:00
matt
07e4706e38 Add a coherent bus dma tag which marks the first 256MB as having coherent
dma (but only for PCIe and ethernet).  Make the ethernet and PCIe attachments
use this tag instead of the default non-coherent one.
2012-10-17 20:18:55 +00:00
matt
463cf12d17 Add per-segment and per-ragne flag (to store _BUS_DMAMAP_COHERENT).
Use the per-range flag to set the per-segment flag.
This allows bus_dma to skip flushing for known coherent memory regions.
2012-10-17 20:17:18 +00:00