Commit Graph

244132 Commits

Author SHA1 Message Date
pgoyette 106cffc32f Ignore return values when restoring what has just been undone. We're
really just putting back something that was there before, so we should
not get any errors, and a panic() would be rather severe.

This and the corresponding commit to vnd.c address newly reported
Coverity CID 1364761 and CID 1364760
2016-08-05 08:24:46 +00:00
pgoyette c8a6580a87 Ignore return values when backing out of a "finish" sequence. There
really shouldn't be any errors here (we're just putting something back
that previously existed), and a panic() would be rather drastic.
2016-08-05 08:21:24 +00:00
christos b31382fbd7 Avoid string gymnastics in an olympic year. 2016-08-05 07:22:17 +00:00
knakahara a5c3fa9748 fix CID 1364766: Resource leaks 2016-08-05 06:58:55 +00:00
christos 5a86cfc800 CID 1364758: Integer handling issues, avoid sign extension to 64 bits. 2016-08-05 06:54:22 +00:00
isaki 2c5968324f Revert a part of previous commit.
If addr is not specified as "zsc0 at intio0" in kernel config
(though it's not right of course), it will cause a panic.
intio_map_allocate_region() should be called after address check.
2016-08-05 05:32:02 +00:00
pgoyette 86ecb258f2 The ppp compressors are already being handled correctly. No new
work will be needed here.
2016-08-05 04:21:01 +00:00
pgoyette 5c61d9f897 Add some info regarding ppp 2016-08-05 02:27:14 +00:00
ozaki-r 9b97df78c1 CID 1364759: fix using uninitialized value 2016-08-05 00:52:02 +00:00
ozaki-r e8f81e31c2 CID 1364757: remove unnecessary branching 2016-08-05 00:51:14 +00:00
pgoyette 145756b29a Update sets lists for new slcompress module 2016-08-04 23:54:45 +00:00
pgoyette 042c1d6ecd Add and enable a new module, slcompress
This is a prerequisite to modularizing the ppp pseudo-device
2016-08-04 23:53:47 +00:00
pgoyette d1fb75105d Add some more notes 2016-08-04 22:12:31 +00:00
rjs f0f10739bd Another header change. 2016-08-04 21:39:20 +00:00
jakllsch 0e05321e4a TI_DM37xx does not currently have a working omapscm(4), which provides
omap_devid().  Avoid using omap_devid() until correctly fixed.
2016-08-04 20:07:18 +00:00
scole 693c3770f5 PR port-ia64/50719
Remove duplicate EFI files for ia64
2016-08-04 18:07:43 +00:00
jdolecek bddc3c1201 make E2MAXSYMLINKLEN just alias for EXT2_MAXSYMLINKLEN, they are the same 2016-08-04 17:50:51 +00:00
jdolecek 2f2ae0277c move i_e2fs_* defines from ufs/inode.h to ext2fs/ext2fs_dinode.h, where they belong; they don't seem to be used anywhere else then ext2fs code any more 2016-08-04 17:47:47 +00:00
jdolecek 249e8f5f7e rename struct ext2fs_dinode attribute e2di_dacl to correct
e2di_size_high; even Linux ext2 filesystem code actually uses it
unconditionally this way and ext4 code finally also calls it that way
in their struct definition too; if there was any trace of this for other
purpose it's long gone
2016-08-04 17:43:47 +00:00
christos c4b5e49df8 include bsd.init.mnk for consistency and set NOLINT since this overrides
MKLINT which can be re-set from /etc/mk.conf.
2016-08-04 17:07:23 +00:00
sevan 9d1016b7d6 Grammar 2016-08-04 16:36:45 +00:00
scole 14a34a34ce PR port-ia64/49717
Minimal changes needed to add nfs netboot support
2016-08-04 16:22:40 +00:00
kiyohara 0535c1529d s/for(/for (/. 2016-08-04 14:08:23 +00:00
kiyohara bff77a3641 Change message for aprint_normal() "CPSW Ethernet" to "Layer 2 3-Port Switch".
Its described in Technical Reference Manual.
2016-08-04 14:05:20 +00:00
jakllsch ccf7078d06 Make this build with clang:
- Remove unused static const variables
 - Adjust impossibleish comparision.
2016-08-04 12:56:31 +00:00
jakllsch af179bd997 Avoid 'const const'. 2016-08-04 12:38:11 +00:00
isaki cd74788766 gets -> kgets. the last part of PR/51200.
It was using libsa's gets, so it's possible to change to kgets
as rev 1.23.  I've confirmed that it works.
2016-08-04 12:15:07 +00:00
jakllsch cfdb571b53 use __dead 2016-08-04 11:49:07 +00:00
pgoyette a26f51ded8 Add a list of "module issues" based on an Email discussion between myself
and christos@
2016-08-04 10:45:52 +00:00
skrll 7a6aee6169 provide and use 'ci' in pmap_remove_all_complete. 2016-08-04 08:46:06 +00:00
christos 9e4a51e1fe An attempt to create a fully modular kernel by including GENERIC and
undefining all the drivers we have modules for. This is done to reduce
the kernel footprint for DTRACE and also to test that the modularized
drivers work. Current issues:

1. builtin drivers can't depend on modularized drivers (the modularized
   drivers are attempted to load as builtins).
2. there is no way to "no define" drivers
3. it is not always obvious by their names which drivers/options correspond
   to which modules.
4. right now critical drivers that would need to be pre-loaded (ffs,
   exec_elf64) are still built-in so that we don't need to alter the boot
   blocks to boot.

Ideally modstat should show none of the drivers as built-in but we are far
from that.
2016-08-04 07:22:41 +00:00
kiyohara 56725bbf28 Support OMAP 4430. But ADMA2 don't working yet.
tested on Gumstix DuoVero.
2016-08-04 07:14:50 +00:00
christos 68df3d57d2 Flesh out sched_protect 2016-08-04 07:09:15 +00:00
kiyohara 801d6217ce Fix address for omapgpio4. 2016-08-04 07:06:14 +00:00
kiyohara 4a315e197b Move BOARDTYPE and EVBARM_BOARDTYPE from std.overo to OVERO. 2016-08-04 07:02:39 +00:00
nonaka 4c81930262 Sync with sys/ufs/ext2fs/ext2fs_bswap.c. 2016-08-04 06:58:41 +00:00
kiyohara 122f8c72df Fix description to 'NEXCOM VTC100'. 2016-08-04 06:54:47 +00:00
kiyohara 25f84cea09 Enable tiotg and USB devices. 2016-08-04 06:53:10 +00:00
kiyohara 2ba2a7d9bf Add disabled MOTG_DEBUG and remove ?HCI_DEBUG. Also disable USB_DEBUG. 2016-08-04 06:50:27 +00:00
kiyohara 8d05019a5a Set host-mode always. motg(4) doesn't supports device and OTG modes. 2016-08-04 06:44:58 +00:00
christos c10c4abe0f Realtime signal support from GSoC 2016, Charles Cui. 2016-08-04 06:43:43 +00:00
christos 7549563373 Print the parent module that asked for the builtin to be loaded and failed.
XXX: if a driver is built-in why can't it ask for a filesystem module to
be loaded?
2016-08-04 06:13:15 +00:00
isaki c09a75070f Move fpu_cordit2() to #ifdef CORDIC_BOOTSTRAP section.
This reduces ~2KB text segment.
Reported by Krister Walfridsson on tech-kern two months ago.
2016-08-04 05:35:18 +00:00
nonaka c3d0e08698 include stddef.h for offsetof.
fix newfs_ext2fs build failure on evbppc.
2016-08-04 04:05:14 +00:00
pgoyette eccb15708e vnconfig(8) was renamed to vndconfig(8) some time ago, and most places
keep both names around.

One place that got missed is /rescue so let's update it for consistency
with all the other places.

(Pointed out in private Email by kre@)
2016-08-04 03:50:55 +00:00
nonaka d20f5b128f pass EXT2_DINODE_SIZE(fs) as isize to e2fs_iload().
should fix build failure.
2016-08-04 03:16:00 +00:00
nonaka 95ec03a0f0 pass EXT2_DINODE_SIZE(&sblock) as isize to e2fs_isave(). 2016-08-04 03:01:38 +00:00
nonaka 96da721ffb pass isize to e2fs_i_bswap() if BYTE_ORDER != LITTLE_ENDIAN. 2016-08-04 02:49:50 +00:00
pgoyette 177830b6d7 Right-align numeric columns REFS and SIZE for easier viewing 2016-08-03 23:55:47 +00:00
pgoyette 8d18247504 We don't have any FILES, so no need for a FILESDIR 2016-08-03 23:53:50 +00:00