Commit Graph

1739 Commits

Author SHA1 Message Date
christos e6da8e6442 sppp is not a pseudo-device 2016-09-09 21:10:01 +00:00
nonaka 4a15838ffa Fix to cannnot be opened a nvme(4) namespace device file. 2016-09-08 15:00:08 +00:00
maxv 42e304b16d Remove the last references to KMEMSTATS. 2016-08-19 18:08:50 +00:00
christos 5a7020b9b6 defopt PPPOE_DEBUG kill unknown sessions 2016-08-11 15:16:54 +00:00
christos 520827be3b rename ifmpls to mpls, so we don't have if_ifmpls... 2016-08-07 10:44:04 +00:00
skrll 70699ce203 Fix UVMHIST builds for kernels that don't include usb 2016-06-23 07:32:12 +00:00
nonaka e7c0cc5d9a Add NVMe command passthrough support. 2016-06-04 16:11:50 +00:00
bouyer bdf10c852a The UART in the allwiner SoCs is not full-compatible with the 16550, and
it's not a 16750 either. Like the 16750 it has the IIR_BUSY interrupt,
which is triggered when writing to LCR while the chip
can't accept it. But unlike the 16750, it has a specific register,
HALT, to allow writing to the LCR and divisor registers, and then
commit the changes.
Tested on an A20 SoC, changing the baud rate while keeping the
tty device open and incoming data.
2016-05-27 20:01:49 +00:00
skrll c0bc9f43b6 Clarify the intention here after discussing it with soda@ 2016-05-13 07:41:47 +00:00
soda 5407bb6145 - change major number limit for MI devices from 255 to 511,
because twe is already using 332
- clarify that new MI devices should go to this file
  instead of majors.{ws,usb,std,tty,storage}
- fix major number conflict about hdmicec vs tty

OKed by matt@
the expression "previously not MI" is suggested by matt@ too.
2016-05-13 02:00:36 +00:00
skrll eb30461f6b Update with info about tty/storage reservations 2016-05-11 06:42:06 +00:00
nonaka 8b5163f01f Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.
2016-05-01 10:21:01 +00:00
christos 021cd4d7f5 Add rt2860 now that it compiles. 2016-04-27 19:46:11 +00:00
skrll 9b8e5df7bf First pass at adapting SLHCI_DEBUG to USBHIST 2016-04-26 10:38:42 +00:00
skrll ee8228cf5e Merge nick-nhusb (missed commit) 2016-04-23 12:50:35 +00:00
christos 66e4a9ed95 Add PAX_MPROTECT_DEBUG 2016-04-12 11:51:08 +00:00
riastradh 617d199e69 Use && to fail early if subcommands of kernel link fail.
(Remind me why we string together shell commands instead of just
using make targets?)
2016-04-09 18:51:44 +00:00
skrll 62976e3600 Move linux_work.c and workqueue.h from sys/external/bsd/drm2 to
sys/external/common so that they can be used by others.

LGTM from riastradh@

These should really live outside sys/external, but that can be decided
later
2016-02-24 22:04:15 +00:00
mrg c662775e21 WELCOME 2016! 2015-12-31 15:23:07 +00:00
maxv a1153902a9 Rename verified_exec.c -> veriexec.c.
The old log is now in Attic/.
2015-12-09 18:25:32 +00:00
jmcneill bd0f8235ce Add basic clock device infrastructure. 2015-12-05 13:31:07 +00:00
christos e77b077223 use commands() instead of target() because assym.mk creates all the targets
unconditionally.
2015-11-27 20:59:47 +00:00
christos 8089a0f85d PR/50483: David A. Holland: fix building of assym.d:
1. use += to add to DEPS
	2. move inclusion of rules mk. files before the rules are defined
	   so that variables are set.

Now we get on amd64:

	mkdep: ignoring acpi_wakeup_low.d: No such file or directory
	mkdep: ignoring amd64func.d: No such file or directory
	mkdep: ignoring busfunc.d: No such file or directory
	mkdep: ignoring copy.d: No such file or directory
	mkdep: ignoring cpu_in_cksum.d: No such file or directory
	mkdep: ignoring cpufunc.d: No such file or directory

because there are no rules to generate those, but it is harmless.
2015-11-27 20:33:55 +00:00
pgoyette 78da7b9d09 Always include the "vfs" attribute (module). Although all of the
ufs/xxx file systems depend on the vfs attribute, it is not required
that any file system actually be built-in to the kernel.  (At least
on some architectures, file system modules can be loaded at boot
time.)
2015-11-14 07:31:13 +00:00
pgoyette 7c02a5abd6 Whether or not the semaphore code is loaded as a module or built-in, its
sysctl data belongs with the module code.  Move it from kern/init_sysctl.c
to kern/uipc_sem.c

While here, add a new sysctl variable kern.posix.semcnt (current count of
semaphores) to complement the existing kern.posix.semmax (maximum number
of semaphores).
2015-11-09 01:21:18 +00:00
christos 8c1b3fd3c9 Expose struct kauth_cred for the benefit of the debugger. I can't convince gcc
to produce debug info for the structure if it does not appear in more than
one source file.
2015-10-06 22:13:39 +00:00
uebayasi 229ff8e5ba Clean up splash image build. Print messages when creating files. 2015-09-15 02:22:43 +00:00
uebayasi edc287c6eb Fix build of SPLASHSCREEN without SPLASHSCREEN_IMAGE. Since there is no way
to change ALLFILES by makeoptions, build an empty splash_image.o.
2015-09-15 00:16:42 +00:00
uebayasi 960ec2b2e8 Handle splash image generation better. 2015-09-14 01:40:03 +00:00
nat 22a1d44f65 Fix splashscreen_image option to include splash_image.o
OK from christos@
2015-09-11 15:56:56 +00:00
uebayasi 133a84bb3c Indent. 2015-09-11 01:40:52 +00:00
uebayasi a8bf1974db Fix dependency of *.d -> assym.h in `-S' mode. 2015-09-10 13:11:39 +00:00
uebayasi 1214c2c69c Simplify the dependency line further. 2015-09-10 09:30:01 +00:00
uebayasi 192b39cc22 Improve previous. 2015-09-09 03:27:15 +00:00
uebayasi 7c7453a6f8 Restore *.[sS] -> assym.h dependency in `-S' mode. 2015-09-09 03:16:14 +00:00
uebayasi b04184e8d4 Preserve the order of files in ${ALLFILES} -> ${OBJS} conversion. 2015-09-07 15:55:06 +00:00
uebayasi c009404037 More build ordering. 2015-09-06 15:20:59 +00:00
uebayasi 9e0fc0ebb7 Don't pass ``-DCOPY_SYMTAB'' to ${CC}; it's replaced with opt_copy_symtab.h. 2015-09-06 14:35:01 +00:00
uebayasi 2d76cceae9 Move ldscript related code out of Makefile.kern.inc. 2015-09-06 06:41:14 +00:00
uebayasi ed2bed87de Clean up. Move assym.h/vers.c related code out of Makefile.kern.inc. 2015-09-06 06:13:16 +00:00
uebayasi 347749a8bd Clean up. Move SSP-specific adjustment out of Makefile.kern.inc. 2015-09-06 04:42:06 +00:00
uebayasi 472997e0ab Allow MD to link libraries. Build rules are written in MD makefiles until
config(1) will support library properly.
2015-09-06 02:05:11 +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
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
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