Home | History | Annotate | only in /src/sys/rump/librump/rumpdev
History log of /src/sys/rump/librump/rumpdev
RevisionDateAuthorComments
 1.2 13-May-2019  bad On the one thousand and ninth day rump's mainbus was moved from
rumpdev to rumpkern, liberating all rumpnet users from the need to
-lrumpdev -lrumpvfs just because a loopback interface is mandatory.

Rename rumpdev/autoconf.c to rumpkern/rump_autoconf.c to avoid
accidentally picking up e.g. sys/arch/amd64/amd64/autoconf.c through
make's .PATH.
Move rumpdev/MAINBUS.ioconf to rumpkern.
 1.1 20-Sep-2013  pooka branches: 1.1.4; 1.1.6; 1.1.10; 1.1.36;
use ioconf for mainbus
 1.1.36.1 10-Jun-2019  christos Sync with HEAD
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 20-Sep-2013  tls file MAINBUS.ioconf was added on branch tls-maxphys on 2014-08-20 00:04:40 +0000
 1.1.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.1 20-Sep-2013  yamt file MAINBUS.ioconf was added on branch yamt-pagecache on 2014-05-22 11:41:15 +0000
 1.1.4.2 18-May-2014  rmind sync with head
 1.1.4.1 20-Sep-2013  rmind file MAINBUS.ioconf was added on branch rmind-smpnet on 2014-05-18 17:46:18 +0000
 1.1 20-Jul-2009  pooka branches: 1.1.2; 1.1.4;
device subroutines and autoconfig support for rump. work in progress.
 1.1.4.2 19-Aug-2009  yamt sync with head.
 1.1.4.1 20-Jul-2009  yamt file Makefile was added on branch yamt-nfs-mp on 2009-08-19 18:48:28 +0000
 1.1.2.2 23-Jul-2009  jym Sync with HEAD.
 1.1.2.1 20-Jul-2009  jym file Makefile was added on branch jym-xensuspend on 2009-07-23 23:32:54 +0000
 1.14 29-Jun-2021  pgoyette Rework the xxxVERBOSE option to share the common module-hook-based
verbose mechanism with MIIVERBOSE. This reduces some duplicated code
and allows us to once again permit auto-unload of MIIVERBOSE.

Change details:
* Update dev/devlist2h.awk to accomodate miidevs, including generation
of MII_STR_oui_model definitions and use of oui and model rather than
vendor and product. This also changes the compressed data in the
xxxdevs_data.h files to uint32_t (since mii oui's are up to 6 hex
digits long)
* Update a couple of phy drivers to use new calls to get verbose data
* Regen all of the xxxdevs{,_data}.h files (separate commit, coming
very soon)
* Update mii/mii_verbose.[ch] and mii/mii_physubr.c to use the various
DEV_VERBOSE_xxx macros
* Update the pci, usb, and hdaudio code as needed, to #include the
xxxdevs.h files (in order to get the proper printf format strings)
* Since dev/dev_verbose.c now uses non-literal printf format strings,
(to deal with the vendor/product vs oui/model issue), we need to
make sure it gets compiled with -Wno-error=format-nonliteral, even
in userland's libpci and librumpdev!
* Bump kernel version for the change in module interfaces

Welcome to 9.99.86!

XXX It might be useful in the future to extend the MII_STR_oui_model
XXX definitions to PCI as well (and perhaps USB and HDAUDIO). This
XXX would allow for a single centralized location for the products'
XXX descriptions, rather than being dispersed among individual
XXX drivers' xxx_match tables.
 1.13 13-May-2019  bad branches: 1.13.14;
On the one thousand and ninth day rump's mainbus was moved from
rumpdev to rumpkern, liberating all rumpnet users from the need to
-lrumpdev -lrumpvfs just because a loopback interface is mandatory.

Rename rumpdev/autoconf.c to rumpkern/rump_autoconf.c to avoid
accidentally picking up e.g. sys/arch/amd64/amd64/autoconf.c through
make's .PATH.
Move rumpdev/MAINBUS.ioconf to rumpkern.
 1.12 19-Oct-2015  pooka branches: 1.12.18;
Add a COMMENT describing what each component roughly does.

"make describe" prints the comment.

Requested/inspired by Vincent Schwarzer on rumpkernel-users
 1.11 25-Aug-2015  pooka some final -Ifoo/opt removal
 1.10 20-May-2015  pooka build dev_verbose.c
 1.9 02-Dec-2014  pooka Remove shlib_version files and just use Makefile SHLIB_MAJOR/MINOR,
with the default provided by Makefile.rump (they're all 0.0 anyway)
 1.8 20-Sep-2013  pooka branches: 1.8.6;
use ioconf for mainbus
 1.7 19-Sep-2013  pooka Move the bus_dma implementation that works only with ugenhc into the
ugenhc component itself.
 1.6 15-Mar-2013  pooka branches: 1.6.6;
Allow Makefile.rump to append to SRCS.
 1.5 16-Feb-2010  pooka branches: 1.5.10; 1.5.20;
Globally define -Wno-pointer-sign, as it has become a pointless
exercise of "add it to every Makefile individually".

XXX: should autosynchronize with the rest of the kernel buildflags
in sys/conf/Makefile.kern.inc.
 1.4 09-Feb-2010  pooka Now that there is a working bus.h for all architectures, move rump
bus dma out of a wip place and into rumpdev where it belongs.
 1.3 09-Jan-2010  pooka branches: 1.3.2;
Include kern_pmf.c in rumpdev.
 1.2 06-Sep-2009  pooka Rename rump_dev_makenodes() to rump_vfs_makedevnodes() -- while it
will most likely be used devices, the implementation requires
services provided by vfs (mkdir, mknod).
 1.1 20-Jul-2009  pooka branches: 1.1.2; 1.1.4;
device subroutines and autoconfig support for rump. work in progress.
 1.1.4.4 11-Mar-2010  yamt sync with head
 1.1.4.3 16-Sep-2009  yamt sync with head
 1.1.4.2 19-Aug-2009  yamt sync with head.
 1.1.4.1 20-Jul-2009  yamt file Makefile.rumpdev was added on branch yamt-nfs-mp on 2009-08-19 18:48:28 +0000
 1.1.2.2 23-Jul-2009  jym Sync with HEAD.
 1.1.2.1 20-Jul-2009  jym file Makefile.rumpdev was added on branch jym-xensuspend on 2009-07-23 23:32:54 +0000
 1.3.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.5.20.3 03-Dec-2017  jdolecek update from HEAD
 1.5.20.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.20.1 23-Jun-2013  tls resync from head
 1.5.10.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.6.1 18-May-2014  rmind sync with head
 1.8.6.4 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.8.6.3 22-Sep-2015  skrll Sync with HEAD
 1.8.6.2 06-Jun-2015  skrll Sync with HEAD
 1.8.6.1 06-Apr-2015  skrll Sync with HEAD
 1.12.18.1 10-Jun-2019  christos Sync with HEAD
 1.13.14.1 01-Aug-2021  thorpej Sync with HEAD.
 1.10 13-May-2019  bad On the one thousand and ninth day rump's mainbus was moved from
rumpdev to rumpkern, liberating all rumpnet users from the need to
-lrumpdev -lrumpvfs just because a loopback interface is mandatory.

Rename rumpdev/autoconf.c to rumpkern/rump_autoconf.c to avoid
accidentally picking up e.g. sys/arch/amd64/amd64/autoconf.c through
make's .PATH.
Move rumpdev/MAINBUS.ioconf to rumpkern.
 1.9 26-Jan-2016  pooka branches: 1.9.18;
Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
 1.8 20-Sep-2013  pooka branches: 1.8.6;
use ioconf for mainbus
 1.7 27-Oct-2012  chs branches: 1.7.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.6 08-Mar-2010  pooka branches: 1.6.10; 1.6.20;
Use config pseudo-root keyword instead of monolithic configurations
starting from root.
 1.5 03-Feb-2010  pooka branches: 1.5.2;
Convert to match current ioconf fashion.
 1.4 03-Oct-2009  pooka pass unit number in mainbus attach args
 1.3 01-Oct-2009  pooka children of mainbus, attach (well, one child, iff it happens to be around)
 1.2 20-Sep-2009  pooka attach mainbus
 1.1 20-Jul-2009  pooka branches: 1.1.2; 1.1.4;
device subroutines and autoconfig support for rump. work in progress.
 1.1.4.3 11-Mar-2010  yamt sync with head
 1.1.4.2 19-Aug-2009  yamt sync with head.
 1.1.4.1 20-Jul-2009  yamt file autoconf.c was added on branch yamt-nfs-mp on 2009-08-19 18:48:29 +0000
 1.1.2.2 23-Jul-2009  jym Sync with HEAD.
 1.1.2.1 20-Jul-2009  jym file autoconf.c was added on branch jym-xensuspend on 2009-07-23 23:32:54 +0000
 1.5.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.6.20.3 03-Dec-2017  jdolecek update from HEAD
 1.6.20.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.20.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.10.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.10.1 30-Oct-2012  yamt sync with head
 1.7.2.1 18-May-2014  rmind sync with head
 1.8.6.1 19-Mar-2016  skrll Sync with HEAD
 1.9.18.1 10-Jun-2019  christos Sync with HEAD
 1.4 06-Sep-2009  pooka Rename rump_dev_makenodes() to rump_vfs_makedevnodes() -- while it
will most likely be used devices, the implementation requires
services provided by vfs (mkdir, mknod).
 1.3 04-Sep-2009  he Both amiga and atari needs <sys/lwp.h> explicitly included in order
for curlwp to be properly declared.
 1.2 02-Sep-2009  pooka add address space specifiers to do_sys_mk{dir,nod} calls
 1.1 20-Jul-2009  pooka branches: 1.1.2; 1.1.4;
device subroutines and autoconfig support for rump. work in progress.
 1.1.4.3 16-Sep-2009  yamt sync with head
 1.1.4.2 19-Aug-2009  yamt sync with head.
 1.1.4.1 20-Jul-2009  yamt file devnodes.c was added on branch yamt-nfs-mp on 2009-08-19 18:48:29 +0000
 1.1.2.2 23-Jul-2009  jym Sync with HEAD.
 1.1.2.1 20-Jul-2009  jym file devnodes.c was added on branch jym-xensuspend on 2009-07-23 23:32:54 +0000
 1.29 23-Apr-2023  riastradh rumpdev: Catch up to buf_syncwait -> vfs_syncwait rename.

Do similarly with a do_sys_sync weak stub so we can drop the rumpvfs
dependency.
 1.28 23-Feb-2020  jdolecek no need to call config_init_mi() in rumpdev any more - rump_init() now calls
config_init(), and the sysctl shouldn't be needed

PR kern/55004
 1.27 26-Jan-2016  pooka branches: 1.27.18; 1.27.24;
Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
 1.26 13-Jun-2014  pooka branches: 1.26.4;
call config_create_mountrootthreads(), if applicable
 1.25 04-Apr-2014  christos branches: 1.25.2;
provide cpu_bootconf()
 1.24 20-Sep-2013  pooka use ioconf for mainbus
 1.23 17-Sep-2013  pooka Make it possible to run component constructors after mainbus attaches,
but before config_finalize() is run.
 1.22 14-Jan-2013  pooka branches: 1.22.2;
Remove routines which don't make sense (maybe they're some intermediate
phase of the component framework?)
 1.21 14-Jan-2013  pooka Don't use __weak_alias where the component framework is sufficient.
 1.20 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.19 28-Mar-2011  dyoung branches: 1.19.4; 1.19.14;
__HAVE_DEVICE_REGISTER_POSTCONFIG and __HAVE_DEVICE_REGISTER
are no more, so don't use them here.
 1.18 08-Mar-2010  pooka branches: 1.18.2; 1.18.4;
Use config pseudo-root keyword instead of monolithic configurations
starting from root.
 1.17 07-Mar-2010  pooka tweak previous to actually work
 1.16 07-Mar-2010  pooka pmf wants buf_syncwait() which is a part of optional vfs
 1.15 01-Mar-2010  pooka Introduce RUMP_COMPONENT. It behaves mostly like a simplified
module which is linked into the kernel and cannot be unloaded.
The main purpose is to get the proper constructors run and create
any /dev nodes necessary for said component. Once more of the
kernel (e.g. networking stack and device drivers) are converted to
MODULE and devfs pops up from somewhere, rump components can be
retired.
 1.14 03-Feb-2010  pooka branches: 1.14.2;
Convert to match current ioconf fashion.
 1.13 31-Jan-2010  pooka Add sysmon rump component.
 1.12 19-Jan-2010  pooka Add bpf rump component (and put in some wscons stuff i forgot to earlier).
 1.11 10-Jan-2010  martin Add a new optional function device_register_post_config(), symmetric to
device register, called after config is done with a device.
Only used if an arch defines __HAVE_DEVICE_REGISTER_POSTCONFIG.
 1.10 09-Jan-2010  pooka pmf_init()
 1.9 04-Dec-2009  haad Add initial version of RUMP based device-mapper port. libdm compile whole
device-mapper driver in userspace and allows us to test a develop new dm targets
in userspace.
 1.8 10-Oct-2009  pooka add some stubs required by raidframe linkage
 1.7 02-Oct-2009  pooka Hold on to your giantlocks while calling device autoconfusion.
 1.6 01-Oct-2009  pooka add a new init-related calls
 1.5 21-Sep-2009  pooka Split config_init() into config_init() and config_init_mi() to help
platforms which want to call config_init() very early in the boot.
 1.4 20-Sep-2009  pooka attach mainbus
 1.3 08-Sep-2009  pooka initialize rnd if present
 1.2 04-Sep-2009  pooka add netsmb rump component
(yes, it's functionally a device instead of a networking domain,
since it provides and is accessed through /dev/nsmb instead of
being accessed through sockets)
 1.1 20-Jul-2009  pooka branches: 1.1.2; 1.1.4;
device subroutines and autoconfig support for rump. work in progress.
 1.1.4.4 11-Mar-2010  yamt sync with head
 1.1.4.3 16-Sep-2009  yamt sync with head
 1.1.4.2 19-Aug-2009  yamt sync with head.
 1.1.4.1 20-Jul-2009  yamt file rump_dev.c was added on branch yamt-nfs-mp on 2009-08-19 18:48:29 +0000
 1.1.2.2 23-Jul-2009  jym Sync with HEAD.
 1.1.2.1 20-Jul-2009  jym file rump_dev.c was added on branch jym-xensuspend on 2009-07-23 23:32:54 +0000
 1.14.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.18.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.18.2.1 21-Apr-2011  rmind sync with head
 1.19.14.4 03-Dec-2017  jdolecek update from HEAD
 1.19.14.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.14.2 25-Feb-2013  tls resync with head
 1.19.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.19.4.2 23-Jan-2013  yamt sync with head
 1.19.4.1 30-Oct-2012  yamt sync with head
 1.22.2.1 18-May-2014  rmind sync with head
 1.25.2.1 10-Aug-2014  tls Rebase.
 1.26.4.1 19-Mar-2016  skrll Sync with HEAD
 1.27.24.1 29-Feb-2020  ad Sync with head.
 1.27.18.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.14 26-Jan-2016  pooka Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
 1.13 20-Sep-2013  pooka branches: 1.13.6;
use ioconf for mainbus
 1.12 13-Jun-2010  pooka branches: 1.12.8; 1.12.18; 1.12.22;
Move FLAWLESSCALL from rump_dev_private.h into rump_private.h
so it can be used outside of devices.
 1.11 25-Mar-2010  pooka define the incredible FLAWLESSCALL macro in one place
 1.10 01-Mar-2010  pooka branches: 1.10.2;
Introduce RUMP_COMPONENT. It behaves mostly like a simplified
module which is linked into the kernel and cannot be unloaded.
The main purpose is to get the proper constructors run and create
any /dev nodes necessary for said component. Once more of the
kernel (e.g. networking stack and device drivers) are converted to
MODULE and devfs pops up from somewhere, rump components can be
retired.
 1.9 31-Jan-2010  pooka branches: 1.9.2;
Add sysmon rump component.
 1.8 19-Jan-2010  pooka Add bpf rump component (and put in some wscons stuff i forgot to earlier).
 1.7 04-Dec-2009  haad Add initial version of RUMP based device-mapper port. libdm compile whole
device-mapper driver in userspace and allows us to test a develop new dm targets
in userspace.
 1.6 03-Oct-2009  pooka pass unit number in mainbus attach args
 1.5 01-Oct-2009  pooka add a new init-related calls
 1.4 08-Sep-2009  pooka initialize rnd if present
 1.3 06-Sep-2009  pooka Rename rump_dev_makenodes() to rump_vfs_makedevnodes() -- while it
will most likely be used devices, the implementation requires
services provided by vfs (mkdir, mknod).
 1.2 04-Sep-2009  pooka add netsmb rump component
(yes, it's functionally a device instead of a networking domain,
since it provides and is accessed through /dev/nsmb instead of
being accessed through sockets)
 1.1 20-Jul-2009  pooka branches: 1.1.2; 1.1.4;
device subroutines and autoconfig support for rump. work in progress.
 1.1.4.4 11-Mar-2010  yamt sync with head
 1.1.4.3 16-Sep-2009  yamt sync with head
 1.1.4.2 19-Aug-2009  yamt sync with head.
 1.1.4.1 20-Jul-2009  yamt file rump_dev_private.h was added on branch yamt-nfs-mp on 2009-08-19 18:48:29 +0000
 1.1.2.2 23-Jul-2009  jym Sync with HEAD.
 1.1.2.1 20-Jul-2009  jym file rump_dev_private.h was added on branch jym-xensuspend on 2009-07-23 23:32:54 +0000
 1.9.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.9.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.10.2.2 03-Jul-2010  rmind sync with head
 1.10.2.1 30-May-2010  rmind sync with head
 1.12.22.1 18-May-2014  rmind sync with head
 1.12.18.2 03-Dec-2017  jdolecek update from HEAD
 1.12.18.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.6.1 19-Mar-2016  skrll Sync with HEAD
 1.4 19-Sep-2013  pooka Move the bus_dma implementation that works only with ugenhc into the
ugenhc component itself.
 1.3 15-Jul-2011  dyoung branches: 1.3.2; 1.3.12; 1.3.16;
Use <sys/bus.h> not <machine/bus.h>.
 1.2 01-Mar-2010  pooka branches: 1.2.2; 1.2.6;
Free memory in unmap instead of panicking.
(this is currently not very actively called, though, as can be seen
from the previous "implementation")
 1.1 09-Feb-2010  pooka Now that there is a working bus.h for all architectures, move rump
bus dma out of a wip place and into rumpdev where it belongs.
 1.2.6.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.2.6.1 01-Mar-2010  uebayasi file rumpdma.c was added on branch uebayasi-xip on 2010-04-30 14:44:29 +0000
 1.2.2.2 11-Mar-2010  yamt sync with head
 1.2.2.1 01-Mar-2010  yamt file rumpdma.c was added on branch yamt-nfs-mp on 2010-03-11 15:04:37 +0000
 1.3.16.1 18-May-2014  rmind sync with head
 1.3.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed