Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mips/sibyte/dev/sbjcn.c
RevisionDateAuthorComments
 1.32  04-Jan-2021  thorpej malloc(9) -> kmem(9)
 1.31  10-Nov-2019  chs branches: 1.31.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.30  25-Jul-2014  dholland branches: 1.30.28;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.29  16-Mar-2014  dholland branches: 1.29.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.28  10-Jul-2011  matt branches: 1.28.2; 1.28.12; 1.28.16;
cleanup <machine/*.h> includes
 1.27  24-Apr-2011  rmind Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.26  01-Feb-2011  matt Use aprint_* and misc cleanup.
 1.25  01-Feb-2011  matt Update to CFATTACH_DECL_NEW.
 1.24  14-Dec-2009  matt branches: 1.24.4; 1.24.6; 1.24.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.23  21-Nov-2009  rmind Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.
 1.22  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.21  13-Jun-2008  cegger branches: 1.21.4; 1.21.10; 1.21.14;
use device_lookup_private to get softc
 1.20  28-Apr-2008  martin branches: 1.20.2; 1.20.4;
Remove clause 3 and 4 from TNF licenses
 1.19  19-Nov-2007  ad branches: 1.19.14; 1.19.16; 1.19.18;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.18  17-Oct-2007  garbled branches: 1.18.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.17  12-Jul-2007  he branches: 1.17.8; 1.17.10; 1.17.14;
Adapt to the new signature of callout_init().
 1.16  04-Mar-2007  christos branches: 1.16.2; 1.16.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.15  01-Oct-2006  elad branches: 1.15.4;
More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
 1.14  01-Oct-2006  elad Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
 1.13  23-Jul-2006  ad branches: 1.13.4; 1.13.6;
Use the LWP cached credentials where sane.
 1.12  14-May-2006  elad integrate kauth.
 1.11  28-Mar-2006  thorpej Use device_unit().
 1.10  11-Dec-2005  christos branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10; 1.10.12;
merge ktrace-lwp.
 1.9  06-Sep-2005  kleink Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
 1.8  07-Aug-2003  agc branches: 1.8.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.7  15-Jul-2003  lukem __KERNEL_RCSID()
 1.6  07-Feb-2003  cgd branches: 1.6.2;
Update to consistently use Broadcom GPL-compatible license on all SiByte code.
 1.5  23-Oct-2002  jdolecek 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.4  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.3  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.2  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.1  05-Mar-2002  simonb branches: 1.1.6; 1.1.10; 1.1.12;
Add support for the on-chip peripherals on the Broadcom SiByte SB1250 CPU
and support routines for the Broadcom CFE (Common Firmware Environment).

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
 1.1.12.4  11-Nov-2002  nathanw Catch up to -current
 1.1.12.3  18-Oct-2002  nathanw Catch up to -current.
 1.1.12.2  17-Sep-2002  nathanw Catch up to -current.
 1.1.12.1  05-Mar-2002  nathanw file sbjcn.c was added on branch nathanw_sa on 2002-09-17 21:15:52 +0000
 1.1.10.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.1.10.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1  05-Mar-2002  jdolecek file sbjcn.c was added on branch kqueue on 2002-06-23 17:38:07 +0000
 1.1.6.1  19-May-2002  gehenna Add device switch.
Replace the access to devsw table and the hard-coded majors with devsw API.
 1.6.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1  03-Aug-2004  skrll Sync with HEAD
 1.8.16.4  07-Dec-2007  yamt sync with head
 1.8.16.3  03-Sep-2007  yamt sync with head.
 1.8.16.2  30-Dec-2006  yamt sync with head.
 1.8.16.1  21-Jun-2006  yamt sync with head.
 1.10.12.2  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.10.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.10.10.4  13-May-2006  elad sprinkle some #include <sys/kauth.h> in files that use kauth kpi but
don't include it yet. hopefully this will prevent some fallout.
 1.10.10.3  19-Apr-2006  elad sync with head - hopefully this will work
 1.10.10.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.10.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.

I expect *some* lossage here...
 1.10.8.3  11-Aug-2006  yamt sync with head
 1.10.8.2  24-May-2006  yamt sync with head.
 1.10.8.1  01-Apr-2006  yamt sync with head.
 1.10.6.2  01-Jun-2006  kardel Sync with head.
 1.10.6.1  22-Apr-2006  simonb Sync with head.
 1.10.4.1  09-Sep-2006  rpaulo sync with head
 1.13.6.1  22-Oct-2006  yamt sync with head
 1.13.4.1  18-Nov-2006  ad Sync with head.
 1.15.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.16.10.1  03-Oct-2007  garbled Sync with HEAD
 1.16.2.2  03-Dec-2007  ad Sync with HEAD.
 1.16.2.1  15-Jul-2007  ad Sync with head.
 1.17.14.1  21-Nov-2007  bouyer Sync with HEAD
 1.17.10.2  09-Jan-2008  matt sync with HEAD
 1.17.10.1  06-Nov-2007  matt sync with HEAD
 1.17.8.1  21-Nov-2007  joerg Sync with HEAD.
 1.18.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.19.18.3  11-Mar-2010  yamt sync with head
 1.19.18.2  04-May-2009  yamt sync with head.
 1.19.18.1  16-May-2008  yamt sync with head.
 1.19.16.2  17-Jun-2008  yamt sync with head.
 1.19.16.1  18-May-2008  yamt sync with head.
 1.19.14.2  29-Jun-2008  mjf Sync with HEAD.
 1.19.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.20.4.1  18-Jun-2008  simonb Sync with head.
 1.20.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.21.14.2  09-Jun-2010  matt Update to the device NWO:
Use CFATTACH_DECL_NEW
struct device * -> device_t
struct cfdata * -> cfdata_t
printf -> aprint_normal_*
Use device_* accessors
 1.21.14.1  23-Nov-2009  matt mips3_ld/mips3_sd need to be passed a volatile uint64_t *
 1.21.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.21.4.1  28-Apr-2009  skrll Sync with HEAD.
 1.24.8.1  08-Feb-2011  bouyer Sync with HEAD
 1.24.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.24.4.2  31-May-2011  rmind sync with head
 1.24.4.1  05-Mar-2011  rmind sync with head
 1.28.16.1  18-May-2014  rmind sync with head
 1.28.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.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.29.2.1  10-Aug-2014  tls Rebase.
 1.30.28.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.31.8.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed