History log of /src/sys/arch/mips/sibyte/dev/sbscn.c |
Revision | | Date | Author | Comments |
1.45 |
| 04-Jan-2021 |
thorpej | malloc(9) -> kmem(9)
|
1.44 |
| 10-Nov-2019 |
chs | branches: 1.44.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.43 |
| 24-Jul-2017 |
mrg | branches: 1.43.4; mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully sans disksubr.c. intr.h does not need any additional fixes now, only disklabel.h.
also test-built some other mips kernels.
|
1.42 |
| 21-Jul-2016 |
christos | branches: 1.42.8; make this compile
|
1.41 |
| 13-Apr-2015 |
riastradh | branches: 1.41.2; MD rnd.h cleanups. Please let me know if I broke anything!
|
1.40 |
| 10-Aug-2014 |
tls | branches: 1.40.4; Merge tls-earlyentropy branch into HEAD.
|
1.39 |
| 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.38 |
| 16-Mar-2014 |
dholland | branches: 1.38.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.37 |
| 02-Feb-2012 |
tls | branches: 1.37.6; 1.37.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.36 |
| 10-Jul-2011 |
matt | branches: 1.36.2; 1.36.6; cleanup <machine/*.h> includes
|
1.35 |
| 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.34 |
| 20-Feb-2011 |
matt | Merge from matt-nb5-mips64. Add pci support. new interrupt code. Adapt to new world order for MIPS
|
1.33 |
| 01-Feb-2011 |
matt | Use aprint_* and misc cleanup.
|
1.32 |
| 01-Feb-2011 |
matt | Update to CFATTACH_DECL_NEW.
|
1.31 |
| 14-Dec-2009 |
matt | branches: 1.31.4; 1.31.6; 1.31.8; Merge from matt-nb5-mips64 Merge mips-specific arch files.
|
1.30 |
| 21-Nov-2009 |
rmind | Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.
|
1.29 |
| 12-Aug-2009 |
simonb | Remove many magic numbers for addresses and interrupt numbers, and use constants defined in SiByte/Broadcom standard header files. Switch from using offsets for locators to actual addresses.
Tested on a swarm (my rhone is dead, but should be OK there too).
|
1.28 |
| 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.27 |
| 13-Jun-2008 |
cegger | branches: 1.27.4; 1.27.10; 1.27.14; use device_lookup_private to get softc
|
1.26 |
| 28-Apr-2008 |
martin | branches: 1.26.2; 1.26.4; Remove clause 3 and 4 from TNF licenses
|
1.25 |
| 26-Nov-2007 |
ad | branches: 1.25.14; 1.25.16; 1.25.18; Use the softint API.
|
1.24 |
| 19-Nov-2007 |
ad | - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
1.23 |
| 17-Oct-2007 |
garbled | branches: 1.23.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.22 |
| 09-Jul-2007 |
ad | branches: 1.22.8; 1.22.10; 1.22.14; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.21 |
| 04-Mar-2007 |
christos | branches: 1.21.2; 1.21.4; 1.21.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.20 |
| 01-Oct-2006 |
elad | branches: 1.20.4; More from Matt Fleming:
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
|
1.19 |
| 01-Oct-2006 |
elad | Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
|
1.18 |
| 23-Jul-2006 |
ad | branches: 1.18.4; 1.18.6; Use the LWP cached credentials where sane.
|
1.17 |
| 14-May-2006 |
elad | integrate kauth.
|
1.16 |
| 28-Mar-2006 |
thorpej | Use device_unit().
|
1.15 |
| 11-Dec-2005 |
christos | branches: 1.15.4; 1.15.6; 1.15.8; 1.15.10; 1.15.12; merge ktrace-lwp.
|
1.14 |
| 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.13 |
| 09-Jun-2005 |
jmc | branches: 1.13.2; Fixes for -Wcast-qual. Add some needed const around char *'s, __UNVOLATILE in READ/WRITE_REG and convert the rtc functions to properaly take a volatile timeval
|
1.12 |
| 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.11 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.10 |
| 29-Jun-2003 |
fvdl | branches: 1.10.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.9 |
| 29-Jun-2003 |
simonb | Fix more needless 'struct proc *' to 'struct lwp *' fallout.
|
1.8 |
| 28-Mar-2003 |
he | Initialize new members (cn_halt and cn_flush) in consdev to NULL to allow this to compile again.
|
1.7 |
| 07-Feb-2003 |
cgd | Update to consistently use Broadcom GPL-compatible license on all SiByte code.
|
1.6 |
| 10-Nov-2002 |
simonb | Adapt for the ioctl ERESTART/EPASSTHROUGH changes. Make sure we don't tsleep() at splhigh/splserial.
|
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 sbscn.c was added on branch nathanw_sa on 2002-09-17 21:15:53 +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 sbscn.c was added on branch kqueue on 2002-06-23 17:38:08 +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.10.2.5 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.10.2.4 |
| 24-Jan-2005 |
simonb | Adapt to the ktrace-lwp branch.
|
1.10.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.10.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.10.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.13.2.4 |
| 07-Dec-2007 |
yamt | sync with head
|
1.13.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.13.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.13.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.15.12.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.15.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.15.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.15.10.3 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.15.10.2 |
| 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
1.15.10.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
I expect *some* lossage here...
|
1.15.8.3 |
| 11-Aug-2006 |
yamt | sync with head
|
1.15.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.15.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.15.6.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.15.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.15.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.18.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.18.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.20.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.21.10.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.21.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.21.2.2 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.21.2.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.22.14.1 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
1.22.10.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.22.10.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.22.8.2 |
| 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
1.22.8.1 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.23.2.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.25.18.4 |
| 11-Mar-2010 |
yamt | sync with head
|
1.25.18.3 |
| 19-Aug-2009 |
yamt | sync with head.
|
1.25.18.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.25.18.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.25.16.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.25.16.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.25.14.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.25.14.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.26.4.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.26.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.27.14.3 |
| 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.27.14.2 |
| 23-Nov-2009 |
matt | Use vaddr_t instead uint32_t for storing a pc since the latter won't work in a LP64 kernel.
|
1.27.14.1 |
| 23-Nov-2009 |
matt | mips3_ld/mips3_sd need to be passed a volatile uint64_t *
|
1.27.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.27.4.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.31.8.2 |
| 05-Mar-2011 |
bouyer | Sync with HEAD
|
1.31.8.1 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
1.31.6.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.31.4.2 |
| 31-May-2011 |
rmind | sync with head
|
1.31.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.36.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.36.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.36.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.37.10.1 |
| 18-May-2014 |
rmind | sync with head
|
1.37.6.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.37.6.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.38.2.2 |
| 10-Aug-2014 |
tls | Rebase.
|
1.38.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.40.4.3 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.40.4.2 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
1.40.4.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.41.2.1 |
| 26-Jul-2016 |
pgoyette | Sync with HEAD
|
1.42.8.1 |
| 30-Aug-2017 |
martin | Pull up following revision(s) (requested by mrg in ticket #231): distrib/sets/lists/base/md.evbmips 1.3 doc/CHANGES 1.2303-1.2304 etc/etc.evbmips/MAKEDEV.conf 1.8 etc/etc.evbmips/Makefile.inc 1.22 etc/mtree/Makefile 1.37 etc/mtree/NetBSD.dist.evbmips 1.1 sys/arch/evbmips/Makefile 1.9 sys/arch/evbmips/conf/SBMIPS upto 1.2 sys/arch/evbmips/conf/SBMIPS.MP upto 1.2 sys/arch/evbmips/conf/SBMIPS64 upto 1.2 sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2 sys/arch/evbmips/conf/files.sbmips upto 1.2 sys/arch/evbmips/conf/std.sbmips upto 1.2 sys/arch/evbmips/include/disklabel.h 1.6 sys/arch/evbmips/include/loadfile_machdep.h sys/arch/evbmips/include/param.h 1.10 sys/arch/evbmips/include/pci_machdep.h 1.3 sys/arch/evbmips/sbmips/TODO sys/arch/evbmips/sbmips/autoconf.c sys/arch/evbmips/sbmips/autoconf.h sys/arch/evbmips/sbmips/console.c sys/arch/evbmips/sbmips/cpu.c upto 1.3 sys/arch/evbmips/sbmips/cpuvar.h sys/arch/evbmips/sbmips/disksubr.c sys/arch/evbmips/sbmips/leds.h sys/arch/evbmips/sbmips/locore_machdep.S sys/arch/evbmips/sbmips/machdep.c upto 1.2 sys/arch/evbmips/sbmips/rtc.c upto 1.2 sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2 sys/arch/evbmips/sbmips/swarm.h sys/arch/evbmips/sbmips/systemsw.c upto 1.2 sys/arch/evbmips/sbmips/systemsw.h sys/arch/evbmips/sbmips/zbbus.c upto 1.2 sys/arch/evbmips/stand/Makefile 1.1 sys/arch/evbmips/stand/sbmips/Makefile sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2 sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3 sys/arch/evbmips/stand/sbmips/Makefile.bootxx sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3 sys/arch/evbmips/stand/sbmips/boot/Makefile sys/arch/evbmips/stand/sbmips/boot/filesystem.c sys/arch/evbmips/stand/sbmips/boot/version sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile sys/arch/evbmips/stand/sbmips/common/bbinfo.h sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2 sys/arch/evbmips/stand/sbmips/common/blkdev.h sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2 sys/arch/evbmips/stand/sbmips/common/boot.ldscript sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2 sys/arch/evbmips/stand/sbmips/common/bootxx.c sys/arch/evbmips/stand/sbmips/common/cfe.c sys/arch/evbmips/stand/sbmips/common/cfe_api.c sys/arch/evbmips/stand/sbmips/common/cfe_api.h sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h sys/arch/evbmips/stand/sbmips/common/cfe_error.h sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h sys/arch/evbmips/stand/sbmips/common/checksize.sh sys/arch/evbmips/stand/sbmips/common/common.h sys/arch/evbmips/stand/sbmips/common/panic_putstr.c sys/arch/evbmips/stand/sbmips/common/putstr.c sys/arch/evbmips/stand/sbmips/common/start.S sys/arch/evbmips/stand/sbmips/netboot/Makefile sys/arch/evbmips/stand/sbmips/netboot/conf.c sys/arch/evbmips/stand/sbmips/netboot/dev_net.c sys/arch/evbmips/stand/sbmips/netboot/devopen.c sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2 sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2 sys/arch/evbmips/stand/sbmips/netboot/version sys/arch/mips/conf/files.sibyte 1.8 sys/arch/mips/include/pmap.h 1.70 sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4 sys/arch/mips/sibyte/dev/sbmac.c 1.49 sys/arch/mips/sibyte/dev/sbscn.c 1.43 sys/arch/mips/sibyte/dev/sbsmbus.c 1.17 sys/arch/mips/sibyte/dev/sbtimer.c 1.21 sys/arch/mips/sibyte/dev/sbwdog.c 1.15 sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8 usr.sbin/installboot/installboot.8 1.94
Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
|
1.43.4.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.44.8.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|