kiyohara
e3971f83fc
Call kmem_intr_free() with kmem_intr_alloc-ed memory instead of free().
2013-06-09 12:52:33 +00:00
msaitoh
d060f6e507
Fix a bug in last commit that mii_ticks isn't inclemented.
2013-06-09 09:56:17 +00:00
njoly
5244c50dc0
Add missing parenthesis.
2013-06-09 09:44:51 +00:00
msaitoh
307e621cc0
Update link status quickly. This change is a part of FreeBSD's mii_physubr.c
...
r158649.
2013-06-09 09:31:32 +00:00
msaitoh
23515adb99
Tabify. No functional change.
2013-06-09 09:24:29 +00:00
msaitoh
d2c936ef4d
Don't "return" but "break" in MII_TICK when the interface isn't doing
...
autonegotiaton or the link is up to update the status.
2013-06-09 09:15:51 +00:00
msaitoh
5102301e34
ciphy is gigabit PHY, so use MII_ANEGTICKS_GIGE instead of MII_ANEGTICKS.
2013-06-09 08:45:32 +00:00
msaitoh
a2fa750028
atphy, ciphy, ihphy and rgephy are gigabit PHY, so not only check IFM_AUTO
...
for autonegotiation but also check IFM_1000_T, too.
2013-06-09 08:42:16 +00:00
kiyohara
c3ad7b0ef5
Comment-out options IPSEC*.
2013-06-09 06:29:01 +00:00
kiyohara
c51e524d36
Add omapdma.
...
Fix typo. s/expantion/expansion/.
2013-06-09 06:28:16 +00:00
kiyohara
69a6de97d9
s/[ \t]$//g.
...
Indent.
2013-06-09 05:52:04 +00:00
christos
af7cd4f35f
Use be{32,64}enc, suggested by joerg.
2013-06-09 02:58:58 +00:00
riz
c02fb3c915
Add another field to the SDT_PROBE_DEFINE macro, so our DTrace probes
...
can named the same as those on other platforms.
For example, proc:::exec-success, not proc:::exec_success.
Implementation follows the same basic principle as FreeBSD's; add
another field to the SDT_PROBE_DEFINE macro which is the name
as exposed to userland.
2013-06-09 01:13:47 +00:00
dholland
b27a9f36f3
Move struct lfs_inode_ext to lfs_inode.h; it doesn't need to be public.
2013-06-09 00:13:55 +00:00
dholland
834acd6648
Get rid of this copy of the accessor macro for di_u.inumber; it breaks
...
the build now.
2013-06-09 00:10:55 +00:00
dholland
89582ef58a
Build properly against the lfs changes.
2013-06-09 00:02:33 +00:00
dholland
dc37d54c5e
Add unsafe hacks to make this build going forward.
...
XXX: unsafe hacks are unsafe -- dump needs to be cleaned up to make
XXX: it more fs-independent.
2013-06-08 23:37:37 +00:00
dholland
6dc91806df
Use struct ulfs1_dinode instead of struct ufs1_dinode.
2013-06-08 23:27:34 +00:00
dholland
36d33dd6ae
G/C another unneeded union
2013-06-08 23:12:51 +00:00
dholland
602ba1f79c
dp->di_u.inumber -> dp->di_inumber
...
Should have been part of the previous changeset that applied that
change to lfs.h. I'd quite like to know why the test build I ran
didn't trip on this.
2013-06-08 23:12:13 +00:00
dholland
d9177c356e
Remove stale union and accessor macros.
2013-06-08 23:04:49 +00:00
dholland
430d02428a
right, why does rump have to have its own copy of all the build information?
2013-06-08 22:45:28 +00:00
dholland
e981abf045
ulfs_dir.h has been emptied; remove it.
2013-06-08 22:23:52 +00:00
dholland
0497d48137
Move a comment to lfs.h that belongs better there.
2013-06-08 22:19:01 +00:00
dholland
8be3e7027b
G/C
2013-06-08 22:07:24 +00:00
dholland
9416340bc0
There is no WAPBL in LFS.
2013-06-08 22:05:15 +00:00
dholland
15c1f6b300
mp->mnt_wapbl and mp->mnt_wapbl_replay are always NULL in here.
2013-06-08 21:40:27 +00:00
dholland
346c9baa29
Missed one of the -I${NETBSDSRCDIR}/sys hacks yesterday; remove it now.
2013-06-08 21:15:29 +00:00
dholland
a65dc3fc86
Redo these changes properly:
...
-r1.12 libexec/lfs_cleanerd/Makefile
-r1.15 sbin/fsck_lfs/Makefile
-r1.6 sbin/newfs_lfs/Makefile
hi ad@
2013-06-08 21:13:19 +00:00
dholland
d347d0af43
Merge -r1.213 of ufs_vnops.c:
...
Committed By: kardel
Date: Sat Jun 8 05:47:02 UTC 2013
fix clearing of system-flags (schg, sappnd). clearing system flags is
possible again at securelevel < 1.
reviewed by christos@
2013-06-08 20:43:35 +00:00
htodd
92cba3584f
Comment out IPSEC in GUMSTIX like the rest.
2013-06-08 19:40:07 +00:00
rmind
7cb08cfdd0
Split IPsec code in ip_input() and ip_forward() into the separate routines
...
ipsec4_input() and ipsec4_forward(). Tested by christos@.
2013-06-08 13:50:22 +00:00
christos
415d109c2c
Revert previous. It is too aggressive and might pick the wrong interface
...
now.
2013-06-08 13:13:34 +00:00
stacktic
a69c3c1394
Typo
2013-06-08 12:50:32 +00:00
kardel
01ae5b4204
Bring description in sync with errors-section and implementation reality.
...
(changing super-user only flags is not silently ignored)
2013-06-08 06:05:03 +00:00
kardel
862ab1ea2e
fix clearing of system-flags (schg, sappnd). clearing system flags is possible again
...
at securelevel < 1.
reviewed by christos@
2013-06-08 05:47:02 +00:00
rmind
e4506547a6
Split IPSec logic from ip_output() into a separate routine - ipsec4_output().
...
No change to the mechanism intended. Tested by christos@.
2013-06-08 03:26:05 +00:00
dholland
5941f5f878
Add the new LFS options.
2013-06-08 02:43:10 +00:00
christos
0e92ff1093
PR/44032: Proxy entries stopped working with pppd. The issue here is that
...
the route entry was added, but the RTF_LLINFO bit was not set, making arp -a
not showing the entry, but netstat -rn -f inet showing it with the missing
L bit. The order of resolution in ifa_ifwithroute() is that if a destination
address is found, then the interface chosen for the route is that of the
destination. This does not work for link-level addresses since the ppp
interface does not arp (uses link_rtrequest, not arp_rtrequest), so the
bit is never set. The easy solution here is to check that the gateway is
a link address, and use the interface which we chose for the link address
as opposed to the interface that routes to the destination. This restores
the previous behavior, but is it correct?
2013-06-08 02:42:56 +00:00
dholland
7480682842
As nearly all the content of ulfs_dir.h and ulfs_dinode.h has migrated
...
to lfs.h, propagate the copyright notices too.
2013-06-08 02:16:30 +00:00
dholland
c13a12500a
Tidy up the LFS userland build hacks.
...
Don't use -I${NETBSDSRCDIR}/sys; don't include files other than the
exported LFS headers, which are lfs.h, lfs_inode.h, and (for now)
lfs_extern.h.
2013-06-08 02:16:03 +00:00
dholland
34a172b8ab
Move more symbols to lfs.h:
...
LFS_DIRBLKSIZ
LFS_DIRECTSIZ
LFS_DIRSIZ
LFS_OLDDIRFMT
LFS_NEWDIRFMT
LFS_IFTODT
LFS_DTTOIF
ULFS{,1,2}_MAXSYMLINKLEN
2013-06-08 02:15:12 +00:00
dholland
25bc01ad43
DIRBLKSIZ -> LFS_DIRBLKSIZ
...
DIRECTSIZ -> LFS_DIRECTSIZ
DIRSIZ -> LFS_DIRSIZ
OLDDIRFMT -> LFS_OLDDIRFMT
NEWDIRFMT -> LFS_NEWDIRFMT
IFTODT -> LFS_IFTODT
DTTOIF -> LFS_DTTOIF
2013-06-08 02:14:46 +00:00
dholland
1d8094a0f2
Move stuff to lfs.h that's needed by userland:
...
LFS_DT_*
ULFS_ROOTINO
ULFS_WINO
struct lfs_direct
struct lfs_dirtemplate
struct lfs_odirtemplate
struct ulfs_args
Also fix FFS_MAXNAMLEN -> LFS_MAXNAMLEN in several places.
2013-06-08 02:13:33 +00:00
dholland
4b157546cf
struct direct -> struct lfs_direct
...
struct dirtemplate -> struct lfs_dirtemplate
struct odirtemplate -> struct lfs_odirtemplate
DT_* -> LFS_DT_*
2013-06-08 02:12:56 +00:00
dholland
4260cc072b
Now move LFS_IFMT and friends from ulfs_dinode.h to lfs.h.
2013-06-08 02:11:49 +00:00
dholland
b6eb36b1f1
Stick LFS_ in front of IFMT, IFIFO, IFREG, etc. so as not to conflict
...
with the UFS copies of these symbols. (Which themselves ought to have
UFS_ stuck on.)
2013-06-08 02:11:11 +00:00
dholland
5fce92dbf7
Move the dinode (on-disk inode) structures to lfs.h, since they are
...
and will be obviously required by userland tools that need to read
the on-disk structures.
Also, DINODE{1,2}_SIZE -> LFS_DINODE{1,2}_SIZE.
2013-06-08 02:09:35 +00:00
dholland
956327f1bc
Set lists for lfs_inode.h.
2013-06-08 02:06:17 +00:00
dholland
eb628b88b7
Split the definitions suitable for userland out of ulfs_inode.h into
...
lfs_inode.h. Since fsck_lfs, newfs_lfs, and lfs_cleanerd want to reuse
the inode structure for their own internal use, and some of them share
parts of the kernel code as well, the best way forward is to provide a
relatively sanitized header that doesn't bring in stray material.
Shuffle a few other definitions around so that lfs_inode.h depends
only on lfs.h.
Install lfs_inode.h into /usr/include.
2013-06-08 02:04:31 +00:00