| History log of /src/sys/arch/arm/sa11x0/sa11x0_com.c |
| Revision | | Date | Author | Comments |
| 1.59 |
| 26-Oct-2022 |
riastradh | ddb/db_active.h: New home for extern db_active.
This can be included unconditionally, and db_active can then be queried unconditionally; if DDB is not in the kernel, then db_active is a constant zero. Reduces need for #include opt_ddb.h, #ifdef DDB.
|
| 1.58 |
| 20-Nov-2020 |
thorpej | malloc(9) -> kmem(9)
|
| 1.57 |
| 10-Nov-2019 |
chs | branches: 1.57.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.56 |
| 21-Sep-2018 |
skrll | Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into opt_console.h and adjust.
|
| 1.55 |
| 13-Apr-2015 |
riastradh | branches: 1.55.16; 1.55.18; MD rnd.h cleanups. Please let me know if I broke anything!
|
| 1.54 |
| 15-Nov-2014 |
christos | branches: 1.54.2; centralize the call unit / dialout macros
|
| 1.53 |
| 10-Aug-2014 |
tls | Merge tls-earlyentropy branch into HEAD.
|
| 1.52 |
| 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.51 |
| 16-Mar-2014 |
dholland | branches: 1.51.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.50 |
| 02-Feb-2012 |
tls | branches: 1.50.6; 1.50.10; Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev.
2) Remove use of NRND as test for presence of entropy-pool code throughout source tree.
3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit.
4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources.
5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each.
ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
|
| 1.49 |
| 01-Jul-2011 |
dyoung | branches: 1.49.2; 1.49.6; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.48 |
| 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.47 |
| 19-Aug-2010 |
tsutsui | branches: 1.47.2; Fix device_t/softc split botches. PR port-hpcarm/43780
|
| 1.46 |
| 06-Dec-2009 |
dyoung | branches: 1.46.2; 1.46.4; Simplify the device-activation hook. Move some of the device deactivation to the detachment routine, where it belongs.
|
| 1.45 |
| 29-May-2009 |
rjs | Make the following changes:
struct device * -> device_t struct cfdata * -> cfdata_t printf -> aprint_ device_t/softc split
|
| 1.44 |
| 11-Jun-2008 |
cegger | use device_lookup_private to get softc
|
| 1.43 |
| 28-Apr-2008 |
martin | branches: 1.43.2; 1.43.4; Remove clause 3 and 4 from TNF licenses
|
| 1.42 |
| 27-Dec-2007 |
rjs | branches: 1.42.6; 1.42.8; 1.42.10; Change to new softint API.
|
| 1.41 |
| 19-Nov-2007 |
ad | branches: 1.41.6; - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
| 1.40 |
| 17-Oct-2007 |
garbled | branches: 1.40.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.39 |
| 14-Jul-2007 |
ad | branches: 1.39.6; 1.39.8; 1.39.10; 1.39.12; 1.39.16; Generic soft interrupts are mandatory.
|
| 1.38 |
| 04-Mar-2007 |
christos | branches: 1.38.2; 1.38.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.37 |
| 01-Oct-2006 |
elad | branches: 1.37.4; More from Matt Fleming:
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
|
| 1.36 |
| 01-Oct-2006 |
elad | Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
|
| 1.35 |
| 23-Jul-2006 |
ad | branches: 1.35.4; 1.35.6; Use the LWP cached credentials where sane.
|
| 1.34 |
| 27-Jun-2006 |
peter | KNF. Correct some spelling errors.
|
| 1.33 |
| 27-Jun-2006 |
peter | Use symbolic constants for the UART register locations. Consistently write "SA-11x0".
|
| 1.32 |
| 14-May-2006 |
elad | branches: 1.32.4; integrate kauth.
|
| 1.31 |
| 11-Apr-2006 |
peter | Implement pmap_devmap on hpcarm to map I/O registers that are used in early start-up stage. Change the virtual address for UART #3 to the physical address in the configuration files. While here, implement the sa11x0_bs_unmap function.
Reviewed by Toru Nishimura (on port-arm).
|
| 1.30 |
| 26-Mar-2006 |
thorpej | Use device_unit().
|
| 1.29 |
| 06-Mar-2006 |
christos | branches: 1.29.2; 1.29.4; PR/33014: arnaud degroote: remove SET/ISSET/CLR defines
|
| 1.28 |
| 04-Mar-2006 |
peter | branches: 1.28.2; Use ANSI function decls.
|
| 1.27 |
| 04-Mar-2006 |
peter | Match all Jornada 7xx models.
|
| 1.26 |
| 20-Feb-2006 |
thorpej | Use device_is_active() rather than testing dv_flags for DVF_ACTIVE directly.
|
| 1.25 |
| 27-Dec-2005 |
yamt | branches: 1.25.2; 1.25.4; 1.25.6; sacom_attach_subr: don't try to initialize a lock which doesn't exist.
|
| 1.24 |
| 27-Dec-2005 |
chs | remove the COM_MPLOCK option. always include the spinlock in the softc and always call the simple_* locking functions. the locking functions are compiled out if they are not needed anyway, so a separate option for this doesn't gain anything.
this also fixes the serial console on my alpha ES40 (which doesn't make much sense since the com driver should still be under the big lock on alpha, but whatever).
|
| 1.23 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.22 |
| 23-Oct-2005 |
peter | Make this compile when DEBUG is defined.
|
| 1.21 |
| 06-Sep-2005 |
kleink | branches: 1.21.2; 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.20 |
| 02-Jun-2005 |
uwe | branches: 1.20.2; Drop parameter names from prototype to avoid shadowing warnings.
|
| 1.19 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.18 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.17 |
| 29-Jun-2003 |
fvdl | branches: 1.17.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.16 |
| 29-Jun-2003 |
ichiro | struct proc * -> struct lwp *
|
| 1.15 |
| 23-Jun-2003 |
martin | Make sure to include opt_foo.h if a defflag option FOO is used.
|
| 1.14 |
| 07-Mar-2003 |
rjs | Add NULL cn_halt and cn_flush entries to consdev.
|
| 1.13 |
| 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.12 |
| 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.11 |
| 05-Oct-2002 |
chs | branches: 1.11.2; add missing protos.
|
| 1.10 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
| 1.9 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.8 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
| 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 |
| 02-Sep-2002 |
manu | When the serial port was not checked in hpcboot on hpcarm, writing to /dev/ttyS0 crashed the kernel. This is because sacom_filltx uses some uninitialized static variables. Pulling the salues from softc instead fixes the problem (this is what was done before the drver was moved from /sys/arch/hpcarm to /sys/arch/arm, anyway).
|
| 1.5 |
| 19-Jul-2002 |
ichiro | make compile
|
| 1.4 |
| 19-Jul-2002 |
ichiro | sync to hpcarm/sa11x0
later, remove hpcarm/sa11x0
|
| 1.3 |
| 17-Mar-2002 |
atatat | branches: 1.3.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.2 |
| 20-Nov-2001 |
lukem | - pull in opt_kgdb.h where necessary - replace opt_kgdb_machdep.h with opt_kgdb.h - defparam opt_kgdb.h: KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE - move from opt_ddbparam.h to opt_ddb.h: DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE - replace KGDBDEV with KGDB_DEV - replace KGDBADDR with KGDB_DEVADDR - replace KGDBMODE with KGDB_DEVMODE - replace KGDBRATE with KGDB_DEVRATE - use `9600' instead of `0x2580' for 9600 baud rate - use correct quotes for options KGDB_DEVNAME="\"com\"" - use correct quotes for options KGDB_DEV="17*256+0" - remove unnecessary dependancy on Makefile for kgdb_stub.o - minor whitespace cleanup
|
| 1.1 |
| 08-Jul-2001 |
rjs | branches: 1.1.2; 1.1.4; 1.1.8; Initial copy of SA11x0 support from hpcarm.
|
| 1.1.8.7 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
| 1.1.8.6 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.1.8.5 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
| 1.1.8.4 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
| 1.1.8.3 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
| 1.1.8.2 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
| 1.1.8.1 |
| 08-Jul-2001 |
nathanw | file sa11x0_com.c was added on branch nathanw_sa on 2002-01-08 00:23:18 +0000
|
| 1.1.4.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.1.4.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
| 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 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
| 1.1.2.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.1.2.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.3.4.2 |
| 21-Jul-2002 |
gehenna | catch up with -current.
|
| 1.3.4.1 |
| 19-May-2002 |
gehenna | Add device switch. Replace the access to devsw table and the hard-coded majors with devsw API.
|
| 1.11.2.1 |
| 24-Oct-2002 |
bjh21 | Sync with trunk.
|
| 1.17.2.5 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.17.2.4 |
| 24-Jan-2005 |
skrll | Adapt to branch.
|
| 1.17.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.17.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.17.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.20.2.5 |
| 21-Jan-2008 |
yamt | sync with head
|
| 1.20.2.4 |
| 07-Dec-2007 |
yamt | sync with head
|
| 1.20.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
| 1.20.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.20.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.21.2.1 |
| 26-Oct-2005 |
yamt | sync with head
|
| 1.25.6.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
| 1.25.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
| 1.25.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
| 1.25.2.1 |
| 01-Mar-2006 |
yamt | sync with head.
|
| 1.28.2.4 |
| 11-Aug-2006 |
yamt | sync with head
|
| 1.28.2.3 |
| 24-May-2006 |
yamt | sync with head.
|
| 1.28.2.2 |
| 01-Apr-2006 |
yamt | sync with head.
|
| 1.28.2.1 |
| 13-Mar-2006 |
yamt | sync with head.
|
| 1.29.4.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.29.4.1 |
| 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
| 1.29.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.29.2.3 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
| 1.29.2.2 |
| 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
| 1.29.2.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
I expect *some* lossage here...
|
| 1.32.4.1 |
| 13-Jul-2006 |
gdamore | Merge from HEAD.
|
| 1.35.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
| 1.35.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
| 1.37.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.38.10.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
| 1.38.2.2 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
| 1.38.2.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
| 1.39.16.1 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
| 1.39.12.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.39.12.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
| 1.39.10.1 |
| 01-Jan-2008 |
chris | Sync with HEAD.
|
| 1.39.8.1 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
| 1.39.6.3 |
| 28-Feb-2008 |
rjs | Sync with HEAD.
|
| 1.39.6.2 |
| 26-Dec-2007 |
rjs | Sync with HEAD.
|
| 1.39.6.1 |
| 06-Oct-2007 |
rjs | Switch to new interrupt code.
|
| 1.40.2.2 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.40.2.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.41.6.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.42.10.5 |
| 09-Oct-2010 |
yamt | sync with head
|
| 1.42.10.4 |
| 11-Mar-2010 |
yamt | sync with head
|
| 1.42.10.3 |
| 20-Jun-2009 |
yamt | sync with head
|
| 1.42.10.2 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.42.10.1 |
| 16-May-2008 |
yamt | sync with head.
|
| 1.42.8.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
| 1.42.8.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.42.6.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.42.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.43.4.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
| 1.43.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.46.4.2 |
| 31-May-2011 |
rmind | sync with head
|
| 1.46.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
| 1.46.2.1 |
| 22-Oct-2010 |
uebayasi | Sync with HEAD (-D20101022).
|
| 1.47.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.49.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
| 1.49.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.49.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.50.10.1 |
| 18-May-2014 |
rmind | sync with head
|
| 1.50.6.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.50.6.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.51.2.2 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.51.2.1 |
| 07-Apr-2014 |
tls | Be a little more clear and consistent about harvesting entropy from devices:
1) deprecate RND_FLAG_NO_ESTIMATE
2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE
3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE
4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME| RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME
5) Make entropy harvesting from environmental sensors a little more generic and remove it from individual sensor drivers.
6) Remove individual open-coded delta-estimators for values from a few places in the tree (uvm, environmental drivers).
7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers that had stubbed out code, other minor cleanups.
|
| 1.54.2.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.55.18.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.55.18.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.55.16.1 |
| 30-Sep-2018 |
pgoyette | Ssync with HEAD
|
| 1.57.8.1 |
| 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|