Home | History | Annotate | Download | only in footbridge
History log of /src/sys/arch/arm/footbridge/footbridge_com.c
RevisionDateAuthorComments
 1.40  13-Aug-2021  skrll Trailing whitespace
 1.39  20-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.38  25-Jul-2014  dholland branches: 1.38.40;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.37  16-Mar-2014  dholland branches: 1.37.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.36  17-Nov-2013  skrll Remove unused variables.
 1.35  10-Oct-2012  skrll branches: 1.35.2;
Update comments to reflect the real function prototypes.

From chuq.
 1.34  01-Jul-2011  dyoung branches: 1.34.2; 1.34.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.33  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.32  21-Jul-2009  skrll branches: 1.32.4; 1.32.6;
device_t/softc split
CFATTACH_DECL -> CFATTACH_DECL_NEW
struct device * -> device_t
struct cfdata * -> cfdata_t
Use aprint*
 1.31  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.30  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.29  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.28  13-Jun-2008  cegger branches: 1.28.4; 1.28.10;
use device_lookup_private to get softc
 1.27  19-Nov-2007  ad branches: 1.27.14; 1.27.16; 1.27.18; 1.27.20; 1.27.22;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.26  18-Oct-2007  joerg branches: 1.26.2;
Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
 1.25  17-Oct-2007  garbled 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.24  09-Jul-2007  ad branches: 1.24.6; 1.24.8; 1.24.10; 1.24.12; 1.24.16;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.23  04-Mar-2007  christos branches: 1.23.2; 1.23.4; 1.23.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.22  01-Oct-2006  elad branches: 1.22.4;
More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
 1.21  01-Oct-2006  elad Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
 1.20  23-Jul-2006  ad branches: 1.20.4; 1.20.6;
Use the LWP cached credentials where sane.
 1.19  14-May-2006  elad integrate kauth.
 1.18  26-Mar-2006  thorpej Use device_unit().
 1.17  06-Mar-2006  he branches: 1.17.2; 1.17.4;
Delete the local definitions of CLR, SET and ISSET, since they are
now in <sys/types.h>.
 1.16  11-Dec-2005  christos branches: 1.16.4; 1.16.6; 1.16.8;
merge ktrace-lwp.
 1.15  29-Jun-2003  fvdl branches: 1.15.2; 1.15.18;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.14  29-Jun-2003  chris Fixes to get cats build going following proc to lwp changes.
 1.13  23-Mar-2003  chris Add __KERNEL_RCSID tags to footbridge files.
 1.12  06-Mar-2003  skrll Add NULL cn_halt and cn_flush entries to consdevs. Hi Matt!
 1.11  04-Nov-2002  itohy Dump DDB_* and SYMTAB_SPACE options to opt_ddbparam.h rather than opt_ddb.h.
These options are used in limited files but #include "opt_ddb.h" are
everywhere, and changing them caused almost full recompilation.
 1.10  03-Nov-2002  chris Checkin new interrupt handling code for the footbridge.
This is based upon Jason's work on xscale.

Most of the interrupt handling code is now written in C using an asm stub to
call into the C code.

spl* now only updates a software mask, and does not update the hardware,
this should be much faster.

The new code works well on cats, it's untested on netwinder, but should work.

The code implements generic soft interrupts.

More work is still required to bring the isa interrupt handling code upto
scratch currently all isa interrupts are handled at IPL_BIO on the footbridge.
This may cause isa interrupts to be handled later than they should be.
I plan to fix this in the near future.
 1.9  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.8  02-Oct-2002  thorpej branches: 1.8.2;
Use CFATTACH_DECL().
 1.7  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.6  27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.5  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.4  17-Mar-2002  atatat branches: 1.4.4;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.3  05-Jan-2002  chris Make some of the arm32 files build with LOOSE_PROTOTYPES not set in the makefile. Turned up a few mismatched functions. Note that this isn't all of the arm32 files. Aim will be to get arm32 kernels built with LOOSE_PROTOTYPES not set.
 1.2  05-Sep-2001  matt branches: 1.2.2; 1.2.6;
Change <machine/irqhandler.h> to <machine/intr.h> since the latter always
includes the former and is a standard include file.
 1.1  09-Jun-2001  chris branches: 1.1.2;
Move the footbridge dir out of arm32 into arm.
 1.1.2.4  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.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.6.7  11-Nov-2002  nathanw Catch up to -current
 1.2.6.6  18-Oct-2002  nathanw Catch up to -current.
 1.2.6.5  17-Sep-2002  nathanw Catch up to -current.
 1.2.6.4  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.6.3  28-Feb-2002  nathanw Catch up to -current.
 1.2.6.2  11-Jan-2002  nathanw More catchup.
 1.2.6.1  05-Sep-2001  nathanw file footbridge_com.c was added on branch nathanw_sa on 2002-01-11 23:38:03 +0000
 1.2.2.2  13-Oct-2001  fvdl Revert the t_dev -> t_devvp change in struct tty. The way that tty
structs are currently used (especially by console ttys) aren't
ready for it, and this will require quite a few changes.
 1.2.2.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.4.4.1  19-May-2002  gehenna Add device switch.
Replace the access to devsw table and the hard-coded majors with devsw API.
 1.8.2.2  09-Nov-2002  bjh21 Catch up with -current.
 1.8.2.1  24-Oct-2002  bjh21 Sync with trunk.
 1.15.18.5  07-Dec-2007  yamt sync with head
 1.15.18.4  27-Oct-2007  yamt sync with head.
 1.15.18.3  03-Sep-2007  yamt sync with head.
 1.15.18.2  30-Dec-2006  yamt sync with head.
 1.15.18.1  21-Jun-2006  yamt sync with head.
 1.15.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.15.2.1  13-Aug-2004  skrll Adapt to branch.

cats GENERIC compiles.
 1.16.8.4  11-Aug-2006  yamt sync with head
 1.16.8.3  24-May-2006  yamt sync with head.
 1.16.8.2  01-Apr-2006  yamt sync with head.
 1.16.8.1  13-Mar-2006  yamt sync with head.
 1.16.6.2  01-Jun-2006  kardel Sync with head.
 1.16.6.1  22-Apr-2006  simonb Sync with head.
 1.16.4.1  09-Sep-2006  rpaulo sync with head
 1.17.4.2  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.17.4.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.17.2.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.17.2.3  19-Apr-2006  elad sync with head - hopefully this will work
 1.17.2.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.17.2.1  08-Mar-2006  elad Adapt to kernel authorization KPI.

I expect *some* lossage here...
 1.20.6.1  22-Oct-2006  yamt sync with head
 1.20.4.1  18-Nov-2006  ad Sync with head.
 1.22.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.23.10.1  03-Oct-2007  garbled Sync with HEAD
 1.23.4.1  11-Jul-2007  mjf Sync with head.
 1.23.2.3  03-Dec-2007  ad Sync with HEAD.
 1.23.2.2  23-Oct-2007  ad Sync with head.
 1.23.2.1  15-Jul-2007  ad Sync with head.
 1.24.16.2  21-Nov-2007  bouyer Sync with HEAD
 1.24.16.1  25-Oct-2007  bouyer Sync with HEAD.
 1.24.12.2  09-Jan-2008  matt sync with HEAD
 1.24.12.1  06-Nov-2007  matt sync with HEAD
 1.24.10.1  01-Jan-2008  chris Sync with HEAD.
 1.24.8.2  21-Nov-2007  joerg Sync with HEAD.
 1.24.8.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.24.6.2  26-Dec-2007  rjs Sync with HEAD.
 1.24.6.1  01-Nov-2007  rjs Sync with HEAD.
 1.26.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.27.22.1  18-Jun-2008  simonb Sync with head.
 1.27.20.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.27.18.2  19-Aug-2009  yamt sync with head.
 1.27.18.1  04-May-2009  yamt sync with head.
 1.27.16.1  17-Jun-2008  yamt sync with head.
 1.27.14.1  29-Jun-2008  mjf Sync with HEAD.
 1.28.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.28.4.1  28-Apr-2009  skrll Sync with HEAD.
 1.32.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.32.4.1  31-May-2011  rmind sync with head
 1.34.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.34.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.34.2.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.34.2.1  30-Oct-2012  yamt sync with head
 1.35.2.1  18-May-2014  rmind sync with head
 1.37.2.1  10-Aug-2014  tls Rebase.
 1.38.40.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed