Home | History | Annotate | Download | only in qbus
History log of /src/sys/dev/qbus/ts.c
RevisionDateAuthorComments
 1.36  17-Apr-2022  andvar fix various typos in comments.
 1.35  12-Feb-2022  riastradh ts(4): Skip fabricating bogus struct device in tsmatch.

Doesn't appear to be used anywhere in tsmatch. Let's not invent
bogus autoconf guts here.
 1.34  01-Jan-2022  msaitoh s/sytem/system/
 1.33  08-Dec-2019  ad Revert previous. No performance gain worth the potential headaches
with buffers in these contexts.
 1.32  08-Dec-2019  ad Avoid thundering herd: cv_broadcast(&bp->b_busy) -> cv_signal(&bp->b_busy)
 1.31  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.30  25-Jul-2014  dholland Add d_discard to all struct bdevsw instances I could find.

I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.
 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  15-Dec-2010  matt branches: 1.28.8; 1.28.18; 1.28.22;
Need to include <sys/device.h> since vax's <sys/cpu.h> doesn't.
 1.27  13-Jan-2009  yamt branches: 1.27.6;
g/c BUFQ_FOO() macros and use bufq_foo() directly.
 1.26  16-Dec-2008  christos replace bitmask_snprintf(9) with snprintb(3)
 1.25  05-Apr-2008  cegger branches: 1.25.4; 1.25.12;
use aprint_*_dev and device_xname
 1.24  11-Mar-2008  matt Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
 1.23  15-Feb-2008  ad branches: 1.23.2; 1.23.6;
Give bbusy() an interlock argument. If the we need to wait for the buffer,
the interlock is dropped and reacquired when awoken. This allows for
busying buffers attached to a list that is not locked by bufcache_lock.
 1.22  02-Jan-2008  ad Merge vmlocking2 to head.
 1.21  19-Oct-2007  ad branches: 1.21.2; 1.21.4; 1.21.8;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.20  29-Jul-2007  ad branches: 1.20.4; 1.20.6; 1.20.10; 1.20.12;
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
 1.19  04-Mar-2007  christos branches: 1.19.2; 1.19.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.18  14-May-2006  elad branches: 1.18.14;
integrate kauth.
 1.17  29-Mar-2006  thorpej Use device_private().
 1.16  25-Mar-2006  thorpej Use device_parent().
 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  15-Oct-2005  yamt - change the way to specify a bufq strategy. (by string rather than by number)
- rather than embedding bufq_state in driver softc,
have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
from sys/bufq.h to sys/bufq_impl.h.
(is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c. (not tested)
 1.13  26-Feb-2005  simonb branches: 1.13.4;
White space nits.
 1.12  28-Oct-2004  yamt branches: 1.12.4; 1.12.6;
move buffer queue related stuffs from buf.h to their own header, bufq.h.
 1.11  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.10  23-Oct-2002  jdolecek branches: 1.10.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.9  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.8  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.7  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.6  25-Sep-2002  thorpej Don't include <sys/map.h>.
 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  22-Jul-2002  hannken Convert to new device buffer queue interface.

Approved by: Anders Magnusson <ragge@netbsd.org>
 1.3  13-Nov-2001  lukem branches: 1.3.8;
add RCSIDs
 1.2  13-May-2001  ragge branches: 1.2.2; 1.2.4; 1.2.6;
Update the TS11 driver to useable state.
Thanks to Michael Kukat for providing a machine to test this driver.
 1.1  13-May-2001  ragge Moved from sys/arch/vax/uba/.
 1.2.6.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.2.4.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.2.4.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.7  11-Nov-2002  nathanw Catch up to -current
 1.2.2.6  18-Oct-2002  nathanw Catch up to -current.
 1.2.2.5  17-Sep-2002  nathanw Catch up to -current.
 1.2.2.4  01-Aug-2002  nathanw Catch up to -current.
 1.2.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.2.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.2.2.1  13-May-2001  nathanw file ts.c was added on branch nathanw_sa on 2001-06-21 20:05:30 +0000
 1.3.8.2  29-Aug-2002  gehenna catch up with -current.
 1.3.8.1  16-May-2002  gehenna Add the character device switch.
 1.10.6.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.10.6.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.10.6.4  02-Nov-2004  skrll Sync with HEAD.
 1.10.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.6.1  03-Aug-2004  skrll Sync with HEAD
 1.12.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.12.4.1  29-Apr-2005  kent sync with -current
 1.13.4.6  17-Mar-2008  yamt sync with head.
 1.13.4.5  27-Feb-2008  yamt sync with head.
 1.13.4.4  21-Jan-2008  yamt sync with head
 1.13.4.3  27-Oct-2007  yamt sync with head.
 1.13.4.2  03-Sep-2007  yamt sync with head.
 1.13.4.1  21-Jun-2006  yamt sync with head.
 1.15.12.2  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.15.12.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.15.10.1  19-Apr-2006  elad sync with head.
 1.15.8.1  01-Apr-2006  yamt 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.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.19.10.1  15-Aug-2007  skrll Sync with HEAD.
 1.19.2.2  23-Oct-2007  ad Sync with head.
 1.19.2.1  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.20.12.2  29-Jul-2007  ad It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
 1.20.12.1  29-Jul-2007  ad file ts.c was added on branch matt-mips64 on 2007-07-29 12:15:45 +0000
 1.20.10.1  25-Oct-2007  bouyer Sync with HEAD.
 1.20.6.3  23-Mar-2008  matt sync with HEAD
 1.20.6.2  09-Jan-2008  matt sync with HEAD
 1.20.6.1  06-Nov-2007  matt sync with HEAD
 1.20.4.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.21.8.1  02-Jan-2008  bouyer Sync with HEAD
 1.21.4.1  02-Jan-2008  ad Buffer cache locking changes.
 1.21.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.23.6.3  17-Jan-2009  mjf Sync with HEAD.
 1.23.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.23.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.23.2.1  24-Mar-2008  keiichi sync with head.
 1.25.12.1  19-Jan-2009  skrll Sync with HEAD.
 1.25.4.1  04-May-2009  yamt sync with head.
 1.27.6.1  05-Mar-2011  rmind sync with head
 1.28.22.1  18-May-2014  rmind sync with head
 1.28.18.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.8.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.

RSS XML Feed