Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/hpcmips/dev/ucbsnd.c
RevisionDateAuthorComments
 1.26  21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.25  17-Dec-2016  riastradh branches: 1.25.28;
Omit needless nullmmap.

Convert the one user of it to nommap. No functional change to the
device driver, since uvm interpreted nullmmap just like nommap.

This slightly changes the uvm ABI so that the function pointer nullop
is no longer interpreted as non-mmappable. I do hereby declare that
I am surfing the kernel version bump from a few hours ago.
 1.24  26-Jun-2015  matt branches: 1.24.2;
Cleanup includes
 1.23  25-Jul-2014  dholland branches: 1.23.4;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.22  16-Mar-2014  dholland branches: 1.22.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.21  27-Oct-2012  chs branches: 1.21.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.20  23-Nov-2011  jmcneill branches: 1.20.8;
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
the original ad-audiomp branch notes:

Add MP locking to the audio drivers.

Making the audio drivers MP safe is necessary before efforts
can be made to make the VM system MP safe.

The are two locks per device instance, an ISR lock and
a character device lock. The ISR lock replaces calls to
splaudio()/splx(), and will be held across calls to device
methods which were called at splaudio() before (e.g.
trigger_output). The character device lock is held across
calls to nearly all of the methods, excluding some only
used for initialization, e.g. get_locks.

Welcome to 5.99.57.
 1.19  12-Jun-2008  tsutsui branches: 1.19.30; 1.19.32;
Use device_lookup_private() to get softc.
 1.18  28-Apr-2008  martin branches: 1.18.2; 1.18.4;
Remove clause 3 and 4 from TNF licenses
 1.17  03-Dec-2007  ad branches: 1.17.14; 1.17.16; 1.17.18;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.16  11-Dec-2005  christos branches: 1.16.30; 1.16.48; 1.16.50; 1.16.56;
merge ktrace-lwp.
 1.15  15-Jul-2003  lukem branches: 1.15.16;
__KERNEL_RCSID()
 1.14  23-Oct-2002  jdolecek branches: 1.14.6;
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.13  10-Oct-2002  jdolecek replace empty ucbsndioctl()/ucbsndmmap() with nullioctl()/nullmmap()
 1.12  10-Oct-2002  jdolecek replace the somewhat strange poll routine with standard nopoll() (a.k.a
seltrue())
 1.11  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.10  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.9  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.8  29-Jan-2002  uch branches: 1.8.8;
clean up debug print and configuration.
 1.7  14-Nov-2001  thorpej branches: 1.7.2;
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.6  15-Sep-2001  uch branches: 1.6.2;
ANSIfy, KNF, change my copyright.
 1.5  26-Jun-2000  simonb branches: 1.5.2; 1.5.4; 1.5.6;
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.4  04-Mar-2000  uch branches: 1.4.4;
timeout when DMA interrupt lost.
 1.3  03-Mar-2000  uch add device file interface for UCB1200
 1.2  16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.1  12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.4.4.1  30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.5.6.5  10-Oct-2002  jdolecek use nokqfilter (or seltrue_kqfilter()) for drivers which provide poll
routine very similar to seltrue(); the poll routines would be cleaned
up on trunk
 1.5.6.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.5.6.3  18-Jun-2002  jdolecek provide dummy ucbsndkqfilter()
 1.5.6.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.5.6.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.2  10-Oct-2001  fvdl Convert all remaining devices.
 1.5.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.5.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.5.2.1  26-Jun-2000  bouyer file ucbsnd.c was added on branch thorpej_scsipi on 2000-11-20 20:46:21 +0000
 1.6.2.1  06-Nov-2001  uch Update for the new cache code.
 1.7.2.5  11-Nov-2002  nathanw Catch up to -current
 1.7.2.4  18-Oct-2002  nathanw Catch up to -current.
 1.7.2.3  17-Sep-2002  nathanw Catch up to -current.
 1.7.2.2  28-Feb-2002  nathanw Catch up to -current.
 1.7.2.1  14-Nov-2001  nathanw file ucbsnd.c was added on branch nathanw_sa on 2002-02-28 04:09:55 +0000
 1.8.8.1  17-May-2002  gehenna Add device switch.
 1.14.6.4  24-Jan-2005  skrll Adapt to branch.
 1.14.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.14.6.1  03-Aug-2004  skrll Sync with HEAD
 1.15.16.2  07-Dec-2007  yamt sync with head
 1.15.16.1  21-Jun-2006  yamt sync with head.
 1.16.56.1  08-Dec-2007  mjf Sync with HEAD.
 1.16.50.1  09-Jan-2008  matt sync with HEAD
 1.16.48.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.16.30.1  03-Dec-2007  ad Sync with HEAD.
 1.17.18.2  04-May-2009  yamt sync with head.
 1.17.18.1  16-May-2008  yamt sync with head.
 1.17.16.2  17-Jun-2008  yamt sync with head.
 1.17.16.1  18-May-2008  yamt sync with head.
 1.17.14.2  29-Jun-2008  mjf Sync with HEAD.
 1.17.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.18.4.1  18-Jun-2008  simonb Sync with head.
 1.18.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.19.32.1  20-Nov-2011  jmcneill splaudio -> splvm
 1.19.30.3  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.19.30.2  30-Oct-2012  yamt sync with head
 1.19.30.1  17-Apr-2012  yamt sync with head
 1.20.8.3  03-Dec-2017  jdolecek update from HEAD
 1.20.8.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.8.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.21.2.1  18-May-2014  rmind sync with head
 1.22.2.1  10-Aug-2014  tls Rebase.
 1.23.4.2  05-Feb-2017  skrll Sync with HEAD
 1.23.4.1  22-Sep-2015  skrll Sync with HEAD
 1.24.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.25.28.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed