Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/evbmips/conf/majors.evbmips
RevisionDateAuthorComments
 1.38  29-Jun-2021  nia Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
 1.37  24-Jul-2020  jmcneill branches: 1.37.6;
evbmips: add ofctl(8) and /dev/openfirm support
 1.36  04-Apr-2020  jdolecek mark nsmb major obsolete
 1.35  29-Jan-2020  maya remove urio(4), a driver for the Rio500 MP3 player.

At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.
 1.34  28-Jan-2019  dholland branches: 1.34.6;
Systematize handling of removed drivers.

- Every driver that was removed and whose number hasn't already been
reused is now listed with a commented-out "obsolete" line.
- The format of these has been systematized. Future format changes can
probably be safely done with a script.
- This does not include a few cases of assignments that only lasted a
couple days, or stuff from before major reorgs. Some of these may
be included nonetheless, because there was a lot of ground to cover
and therefore not a lot of time to dig into history in detail.

Note that the obsolete listings do not mean the major numbers can
never be reused; that's up to portmasters and/or core. It does mean
that they won't be reused by accident, however, which in some cases
(depending on the driver, how widely used it was, its family of device
nodes, their default permissions, etc.) can be quite dangerous.

Note that some of the things now explicitly listed as obsolete are
really ancient history. My scan went back as far as when the majors
files were added. (But not before that.)
 1.33  27-Jan-2019  dholland Restore satlink's majors entries commented out and marked obsolete.
Otherwise they might accidentally get reused later and cause a
security problem.
 1.32  27-Jan-2019  maxv Remove the satlink driver. It was disabled everywhere, had no man page and
no use either. Spotted by thorpej in PR/21345, ok christos.
 1.31  23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.30  08-Dec-2016  nat branches: 1.30.14; 1.30.16;
Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.29  23-Apr-2015  pgoyette branches: 1.29.2;
Update device dependency information - the sysmon major device now depends on the sysmon module itself, not on the individual components.
 1.28  26-Apr-2013  christos branches: 1.28.12;
spiflash is mi now
 1.27  30-Jun-2011  wiz branches: 1.27.2; 1.27.12;
dependant -> dependent
 1.26  06-Mar-2010  plunky use a MI major number for uhso(4) driver
(requested by mrg)
 1.25  06-Mar-2010  plunky add major device for usho(4) driver
 1.24  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.23  31-Dec-2007  ad branches: 1.23.6; 1.23.10; 1.23.16; 1.23.18;
Remove systrace. Ok core@.
 1.22  20-Mar-2007  dyoung branches: 1.22.14; 1.22.20; 1.22.26;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.21  24-Nov-2006  wiz branches: 1.21.4; 1.21.8; 1.21.10; 1.21.12;
s/independant/independent/, from Zafer.
 1.20  07-Oct-2006  gdamore Add major for spiflash. Note that this major should probably be moved out
to device-independent space, but we might well choose to wait to do that
until _after_ we have a full MI flash framework.
 1.19  14-Jul-2006  gdamore branches: 1.19.4; 1.19.6;
Cleanup old aucom entries. Left marked obsolete in majors, and removed from
dev/DEVNAMES.
 1.18  25-May-2006  gdamore Rename MD flash to athflash to avoid confusion. This only renames the major
number. The driver itself still needs to be done as well. :-)
 1.17  25-May-2006  gdamore Add major number for flash device.
 1.16  11-Dec-2005  christos branches: 1.16.4; 1.16.6; 1.16.8; 1.16.14;
merge ktrace-lwp.
 1.15  17-Sep-2005  yamt make VMSWAP optional again.
 1.14  31-Jul-2005  yamt revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
 1.13  30-Jul-2005  yamt defflag VMSWAP.
 1.12  10-May-2005  jdolecek branches: 1.12.2;
assign major for nsmb(4)
 1.11  10-Dec-2003  jmc Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
 1.10  10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major
range
 1.9  10-Oct-2003  jdolecek update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
 1.8  05-Oct-2003  jdolecek Add some framework for MI assignment of device majors - add sys/dev/majors
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.

Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.

Follows recent discussion on tech-kern@
 1.7  22-Aug-2003  itojun create /dev/crypto
 1.6  27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.5  25-Apr-2003  ragge branches: 1.5.2;
Add ksyms device major.
 1.4  31-Dec-2002  thorpej Fix sysmon entry.
 1.3  04-Oct-2002  elric branches: 1.3.2;
assign majors for raw and cooked cgd's.
 1.2  06-Sep-2002  gehenna branches: 1.2.2;
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.1  30-Aug-2002  gehenna branches: 1.1.2;
file majors.evbmips was initially added on branch gehenna-devsw.
 1.1.2.1  30-Aug-2002  gehenna Add generic major list for evbmips. It's shared with alchemy and malta.
 1.2.2.4  03-Jan-2003  thorpej Sync with HEAD.
 1.2.2.3  18-Oct-2002  nathanw Catch up to -current.
 1.2.2.2  17-Sep-2002  nathanw Catch up to -current.
 1.2.2.1  06-Sep-2002  nathanw file majors.evbmips was added on branch nathanw_sa on 2002-09-17 21:14:20 +0000
 1.3.2.2  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.3.2.1  04-Oct-2002  jdolecek file majors.evbmips was added on branch kqueue on 2002-10-10 18:32:29 +0000
 1.5.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1  03-Aug-2004  skrll Sync with HEAD
 1.12.2.4  21-Jan-2008  yamt sync with head
 1.12.2.3  03-Sep-2007  yamt sync with head.
 1.12.2.2  30-Dec-2006  yamt sync with head.
 1.12.2.1  21-Jun-2006  yamt sync with head.
 1.16.14.1  19-Jun-2006  chap Sync with head.
 1.16.8.2  11-Aug-2006  yamt sync with head
 1.16.8.1  26-Jun-2006  yamt sync with head.
 1.16.6.1  01-Jun-2006  kardel Sync with head.
 1.16.4.1  09-Sep-2006  rpaulo sync with head
 1.19.6.2  10-Dec-2006  yamt sync with head.
 1.19.6.1  22-Oct-2006  yamt sync with head
 1.19.4.2  12-Jan-2007  ad Sync with head.
 1.19.4.1  18-Nov-2006  ad Sync with head.
 1.21.12.1  29-Mar-2007  reinoud Pullup to -current
 1.21.10.1  11-Jul-2007  mjf Sync with head.
 1.21.8.1  10-Apr-2007  ad Sync with head.
 1.21.4.1  24-Mar-2007  yamt sync with head.
 1.22.26.1  02-Jan-2008  bouyer Sync with HEAD
 1.22.20.1  18-Feb-2008  mjf Sync with HEAD.
 1.22.14.1  09-Jan-2008  matt sync with HEAD
 1.23.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.23.16.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.23.10.1  04-May-2009  yamt sync with head.
 1.23.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.27.12.2  03-Dec-2017  jdolecek update from HEAD
 1.27.12.1  23-Jun-2013  tls resync from head
 1.27.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")
 1.28.12.2  05-Feb-2017  skrll Sync with HEAD
 1.28.12.1  06-Jun-2015  skrll Sync with HEAD
 1.29.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.30.16.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.30.16.1  10-Jun-2019  christos Sync with HEAD
 1.30.14.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.34.6.1  29-Feb-2020  ad Sync with head.
 1.37.6.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed