palle
fff54eb030
Note that the FIXMEs in vpci.c/vpcivar.h should be cleaned up
2015-09-05 21:08:40 +00:00
dholland
0be2106b75
Uses _IOR/_IOW/etc. and thus needs sys/ioccom.h. PR 41200
2015-09-05 20:01:21 +00:00
skrll
96bf445ee5
Convert to use __BITS(3) and avoid an undefined behaviour in the process
2015-09-05 06:40:12 +00:00
skrll
0c54ecc9af
Fix/tweak the multiple inclusion protection define names.
2015-09-05 06:13:54 +00:00
nonaka
eff3c0eced
Use MSI/MSI-X instead of legacy INTx, if available.
2015-09-05 04:56:53 +00:00
uebayasi
fff9bf95dd
Fix build of hppa's spmath.o, as m68k's fpsp.o was done.
2015-09-05 04:44:29 +00:00
uebayasi
6437e17d1f
Fix m68k build.
2015-09-04 09:18:11 +00:00
skrll
a5dbbfb057
Correct a register name
2015-09-04 07:38:05 +00:00
skrll
55d6f5fb7f
Add some more USBMODE defines
2015-09-04 07:35:56 +00:00
skrll
50aa6e87a6
Correct a register name
2015-09-04 07:34:32 +00:00
uebayasi
ce4642ec41
Make config(1) output only ${ALLFILES}, selected input files, and pass it to
...
Makefile.kern.inc, where files are filtered by suffix.
2015-09-04 06:10:47 +00:00
ozaki-r
30a9349144
Pull nexthop determination routine from nd6_output
...
It simplifies nd6_output and the nexthop determination routine slightly.
2015-09-04 05:33:23 +00:00
palle
688f2bd11b
sun4v: iommu setup seems to work now - device detection is now possible - parts from OpenBSD - ok mrg@, martin@
2015-09-03 19:43:35 +00:00
uebayasi
bc619545b7
Add generated *.c files (devsw.c and ioconf.c) to ${CFILES} by config(1)
...
internally. ${MI_CFILES} in Makefile.kern.inc is no longer needed.
2015-09-03 14:23:52 +00:00
tsutsui
b19b008f06
Fix spelling in comments.
2015-09-03 13:07:46 +00:00
uebayasi
0bf07cd589
Define ${MD_OBJS} as relative path. This change makes amd64 kernel buildable
...
for `-S' mode.
2015-09-03 12:33:11 +00:00
uebayasi
361a961386
Prepare for relative ${MD_OBJS}.
2015-09-03 12:31:16 +00:00
uebayasi
eaa72931c4
Move `all' target definition to Makefile.kern.inc.
2015-09-03 09:28:00 +00:00
uebayasi
caf44640e0
Kernel depends on swap<kernel>.o too.
2015-09-03 06:24:15 +00:00
uebayasi
fc3a975cb5
Sort dependendy to keep alphabetical build order.
2015-09-03 06:10:53 +00:00
uebayasi
d891b756ba
Define kernel dependency in Makefile.kern.inc.
2015-09-03 06:09:46 +00:00
uebayasi
d01cbd6db6
Rename ${COMPILE.c} to ${KCOMPILE.c} to avoid potential conflicts with those
...
in sys.mk. Define .go/.po suffix rules.
2015-09-03 04:17:55 +00:00
uebayasi
10a39df2f6
Refactor.
2015-09-03 03:47:25 +00:00
uebayasi
f1616b9172
Set buildprefix.
2015-09-03 02:46:04 +00:00
ozaki-r
5392bf8aeb
Add refcnt constraint checks for debugging
...
It's useful to know where the constraint is violated (by extra rtfree).
It's enabled only if DEBUG because it's heavy (O(n)).
2015-09-03 02:04:31 +00:00
uebayasi
1d638ab7bf
Simplify. Wrap long lines.
2015-09-03 01:40:06 +00:00
uebayasi
1587c3fa3a
Stop ordering objects alphabetically now that I am sure I can fix fallouts.
2015-09-03 01:30:18 +00:00
uebayasi
185d99e39a
Build conf/param.c normally.
2015-09-03 01:09:38 +00:00
ozaki-r
6af5fcf207
Fix rtfree in nd6_output
...
We have to check and avoid to rtfree the original rtentry passed to
nd6_output even when manipulating gateway routes.
This fixes panic on assertion "ro->_ro_rt ==NULL || ro->_ro_rt->rt_refcnt > 0"
failure and probably PR kern/50161.
2015-09-03 00:54:39 +00:00
uebayasi
4c17ec775b
Fix link of kernels whose name don't start with "netbsd*".
2015-09-02 23:03:41 +00:00
uebayasi
350968d06a
Build param.c under conf/ using suffix rules in `-S' mode.
2015-09-02 15:35:52 +00:00
uebayasi
4af08e031f
Clean up `swap<kernel>.o' handling.
2015-09-02 15:29:23 +00:00
uebayasi
7a8426662a
Define ${OBJS} in `Makefile.kern.inc'. Relative paths are not truncated
...
(a/b/c/x.c -> x.c) in `-S' mode. Don't provide some explicit rules for `-S'
mode for safety.
2015-09-02 14:17:03 +00:00
uebayasi
558aab1be0
Output relative path for ${CFILES} and ${SFILES} in generated `Makefile'.
...
`Makefile.kern.inc' knows how to deal with $S prefix, so don't bother it in
config(1).
2015-09-02 13:42:14 +00:00
uebayasi
054cd04942
Add swap<kernel>.o to common ${SYSTEM_LD} as it is always linked.
2015-09-02 12:38:48 +00:00
ozaki-r
54c4f3b688
Do rt_refcnt++ when set a rtentry to another rtentry's rt_gwroute
...
And also do rtfree when deref a rtentry from rt_gwroute.
2015-09-02 11:35:11 +00:00
tsutsui
817770d6b0
Make kernels build without options M68030.
2015-09-02 11:33:30 +00:00
christos
00158cce6d
XXX: Disable KASSERT for now since locking is broken for interface removals.
2015-09-02 09:28:13 +00:00
ozaki-r
1231d10774
Use KASSERT to check programming errors
2015-09-02 08:03:10 +00:00
uebayasi
d9bb176d5f
Clean up some rules and make them less error prone.
2015-09-02 03:22:41 +00:00
uebayasi
1b2a74aeec
Define suffix rules at the end to override system definitions. Provide them
...
only if ___USE_SUFFIX_RULES___ is defined (config -S).
2015-09-01 23:04:35 +00:00
phx
edb5a34700
i2c_acquire_bus() should return 0 on success.
...
Fixed bug in gpioiic_bb_set_bits(), which was introduced with the SDA/SCL-
reverse feature.
Now the driver is confirmed to work. Tested with Raspberry Pi GPIO.
2015-09-01 19:25:32 +00:00
uebayasi
e16ec3ea57
Experimental suffix-rules build (disabled by default).
2015-09-01 16:04:04 +00:00
skrll
574285fdc2
kern/50185: dwctwo attach failure
...
Another hunk went walkabout during the import - reapply with a little
update
2015-09-01 14:03:00 +00:00
tsutsui
7b11775ff5
Use the default boot device if a kernel name without device is specificed.
2015-09-01 13:55:25 +00:00
tsutsui
7a9e8664a0
Fix indent.
2015-09-01 13:46:50 +00:00
uebayasi
593f1cf00f
Use "prefix" to specify path out of $S.
2015-09-01 13:46:29 +00:00
tsutsui
6faea00d4b
Allow NetBSD/luna68k kernel work with 8kB/page (PGSHIFT==13) settings.
...
Tested on both LUNA (68030) and LUNA-II (68040).
2015-09-01 13:46:14 +00:00
ozaki-r
04bf400967
Move a rtentry definition to reduce its scope
...
No functional change.
2015-09-01 08:52:02 +00:00
ozaki-r
31cbc4a715
Cleanup nd6_nud_hint
...
The deleted rtfree was never called.
2015-09-01 08:46:27 +00:00