Home | History | Annotate | Download | only in altq
History log of /src/sys/altq/altq_conf.c
RevisionDateAuthorComments
 1.23  08-Jan-2025  joe return: remove parenthesis from return statements
 1.22  21-Sep-2021  christos branches: 1.22.6;
Remove FreeBSD blocks that did not compile anyway, and use l->l_cred
consistently.
 1.21  25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.20  16-Mar-2014  dholland branches: 1.20.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.19  04-Mar-2007  christos branches: 1.19.76; 1.19.86; 1.19.92;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.18  20-Oct-2006  elad branches: 1.18.4;
Kill some KAUTH_GENERIC_ISSUSER.
 1.17  12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.16  03-Sep-2006  christos branches: 1.16.2; 1.16.4;
add missing initializer
 1.15  21-Jul-2006  ad - Use the LWP cached credentials where sane.
- Minor cosmetic changes.
 1.14  15-May-2006  christos kauth fallout
 1.13  14-May-2006  elad integrate kauth.
 1.12  11-Dec-2005  christos branches: 1.12.4; 1.12.6; 1.12.8; 1.12.10; 1.12.12;
merge ktrace-lwp.
 1.11  26-Feb-2005  perry branches: 1.11.4;
nuke trailing whitespace
 1.10  23-Oct-2002  jdolecek branches: 1.10.6; 1.10.14; 1.10.16;
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.9  22-Sep-2002  jdolecek pull only "opt_altq_enabled.h" in if_altq.h, and include altqconf.h
explicitly in single file which implicitly needed it (altq_conf.c)

this avoids pulling in implicit dependency on <sys/conf.h> to every
file including <net/if.h> (which includes <altq/if_altq.h> to get altq
related structures)
 1.8  07-Sep-2002  gehenna make this compile.
 1.7  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.6  05-Mar-2002  itojun branches: 1.6.6;
bring in latest ALTQ from kjc. ALTQify some of the drivers.
 1.5  12-Nov-2001  lukem add RCSIDs
 1.4  14-Dec-2000  thorpej branches: 1.4.2; 1.4.4; 1.4.6; 1.4.8;
Saner glue into cdevsw.
 1.3  14-Dec-2000  thorpej No need to wrap these in #ifdef ALTQ -- they're not even included
if ALTQ is not configured into the kernel.
 1.2  14-Dec-2000  thorpej Add NetBSD RCS IDs.
 1.1  14-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1  14-Dec-2000  thorpej Import ALTQ from KAME.
 1.4.8.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.4.6.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.6.2  16-Mar-2002  jdolecek Catch up with -current.
 1.4.6.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.4.5  11-Nov-2002  nathanw Catch up to -current
 1.4.4.4  18-Oct-2002  nathanw Catch up to -current.
 1.4.4.3  17-Sep-2002  nathanw Catch up to -current.
 1.4.4.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.4.4.1  14-Nov-2001  nathanw Catch up to -current.
 1.4.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.4.2.1  14-Dec-2000  bouyer file altq_conf.c was added on branch thorpej_scsipi on 2001-01-05 17:39:36 +0000
 1.6.6.1  16-May-2002  gehenna Add the character device switch.
 1.10.16.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.10.14.1  29-Apr-2005  kent sync with -current
 1.10.6.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.10.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.6.1  12-Aug-2004  skrll Adapt to new world order.
 1.11.4.3  03-Sep-2007  yamt sync with head.
 1.11.4.2  30-Dec-2006  yamt sync with head.
 1.11.4.1  21-Jun-2006  yamt sync with head.
 1.12.12.3  25-Sep-2006  peter sync with head.
 1.12.12.2  09-Jun-2006  peter Merge 2006-05-24 NetBSD-current into the peter-altq branch.
 1.12.12.1  18-Mar-2006  peter Sync with KAME.
 1.12.10.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.12.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.12.8.3  03-Sep-2006  yamt sync with head.
 1.12.8.2  11-Aug-2006  yamt sync with head
 1.12.8.1  24-May-2006  yamt sync with head.
 1.12.6.1  01-Jun-2006  kardel Sync with head.
 1.12.4.1  09-Sep-2006  rpaulo sync with head
 1.16.4.1  22-Oct-2006  yamt sync with head
 1.16.2.1  18-Nov-2006  ad Sync with head.
 1.18.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.19.92.1  18-May-2014  rmind sync with head
 1.19.86.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.76.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.20.2.1  10-Aug-2014  tls Rebase.
 1.22.6.1  11-Nov-2023  thorpej Mostly de-tangle ifnet::if_snd from ifaltq, in a way that's minimally-
invasive to the ALTQ code itself.

The point of this is to lay the groundwork for future changes to ifqueue,
which among other benefits, will also hide the ALTQ ABI from drivers.

RSS XML Feed