Home | History | Annotate | Download | only in gpib
History log of /src/sys/dev/gpib/ct.c
RevisionDateAuthorComments
 1.31  12-Nov-2019  msaitoh Add missing initialization of sc_dev.
 1.30  23-Feb-2019  kamil branches: 1.30.4;
Improve fallthrough statement wording in dev/gpib/ct.c

Fixes build with kUBSan on NetBSD/i386.
 1.29  28-Oct-2017  riastradh branches: 1.29.4;
Kill some more extern struct cfdriver declarations.

Down with externs in .c!
 1.28  11-Jul-2016  msaitoh branches: 1.28.10;
KNF. No functional change.
 1.27  25-Jul-2014  dholland branches: 1.27.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.26  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.25  16-Mar-2014  dholland branches: 1.25.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.24  27-Oct-2012  chs branches: 1.24.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.23  08-Feb-2011  rmind branches: 1.23.4; 1.23.14;
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.22  12-Sep-2009  tsutsui branches: 1.22.4; 1.22.6; 1.22.8;
Fix warnings of printf(9) format.
 1.21  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.20  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.19  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.18  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.17  13-Jan-2009  yamt branches: 1.17.2;
g/c BUFQ_FOO() macros and use bufq_foo() directly.
 1.16  11-Jun-2008  cegger branches: 1.16.4;
- use device_lookup_private to get softc
- ansify
 1.15  28-Apr-2008  martin branches: 1.15.2; 1.15.4;
Remove clause 3 and 4 from TNF licenses
 1.14  08-Apr-2008  cegger branches: 1.14.2; 1.14.4;
use aprint_*_dev and device_xname
 1.13  02-Jan-2008  ad branches: 1.13.6;
Merge vmlocking2 to head.
 1.12  08-Oct-2007  ad branches: 1.12.4; 1.12.6; 1.12.10;
brelse() stragglers.
 1.11  29-Jul-2007  ad branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10;
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.10  04-Mar-2007  christos branches: 1.10.2; 1.10.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.9  13-Jan-2007  cube branches: 1.9.2;
Complete initializers, teach drivers that we moved from struct proc to
struct lwp, sprinkle some needed const qualifiers.
 1.8  29-Mar-2006  thorpej branches: 1.8.8;
Use device_private().
 1.7  25-Mar-2006  thorpej Use device_parent().
 1.6  11-Dec-2005  christos branches: 1.6.4; 1.6.6; 1.6.8; 1.6.10; 1.6.12;
merge ktrace-lwp.
 1.5  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.4  27-Feb-2005  perry branches: 1.4.4;
nuke trailing whitespace
 1.3  28-Oct-2004  yamt branches: 1.3.4; 1.3.6;
move buffer queue related stuffs from buf.h to their own header, bufq.h.
 1.2  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.1  02-Jun-2003  gmcgarry branches: 1.1.2;
Port hp300 driver for cartridge-style tapes to MI gpib framework.
 1.1.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.1.2.4  02-Nov-2004  skrll Sync with HEAD.
 1.1.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1  03-Aug-2004  skrll Sync with HEAD
 1.3.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.3.4.1  29-Apr-2005  kent sync with -current
 1.4.4.5  21-Jan-2008  yamt sync with head
 1.4.4.4  27-Oct-2007  yamt sync with head.
 1.4.4.3  03-Sep-2007  yamt sync with head.
 1.4.4.2  26-Feb-2007  yamt sync with head.
 1.4.4.1  21-Jun-2006  yamt sync with head.
 1.6.12.2  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.6.12.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.6.10.1  19-Apr-2006  elad sync with head.
 1.6.8.1  01-Apr-2006  yamt sync with head.
 1.6.6.1  22-Apr-2006  simonb Sync with head.
 1.6.4.1  09-Sep-2006  rpaulo sync with head
 1.8.8.1  01-Feb-2007  ad Sync with head.
 1.9.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.10.10.1  15-Aug-2007  skrll Sync with HEAD.
 1.10.2.1  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.11.10.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.11.10.1  29-Jul-2007  ad file ct.c was added on branch matt-mips64 on 2007-07-29 12:15:44 +0000
 1.11.8.1  14-Oct-2007  yamt sync with head.
 1.11.6.2  09-Jan-2008  matt sync with HEAD
 1.11.6.1  06-Nov-2007  matt sync with HEAD
 1.11.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.12.10.1  02-Jan-2008  bouyer Sync with HEAD
 1.12.6.1  02-Jan-2008  ad Buffer cache locking changes.
 1.12.4.1  18-Feb-2008  mjf Sync with HEAD.
 1.13.6.3  17-Jan-2009  mjf Sync with HEAD.
 1.13.6.2  29-Jun-2008  mjf Sync with HEAD.
 1.13.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.14.4.4  16-Sep-2009  yamt sync with head
 1.14.4.3  16-May-2009  yamt sync with head
 1.14.4.2  04-May-2009  yamt sync with head.
 1.14.4.1  16-May-2008  yamt sync with head.
 1.14.2.2  17-Jun-2008  yamt sync with head.
 1.14.2.1  18-May-2008  yamt sync with head.
 1.15.4.1  18-Jun-2008  simonb Sync with head.
 1.15.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.16.4.2  28-Apr-2009  skrll Sync with HEAD.
 1.16.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.17.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.22.8.1  17-Feb-2011  bouyer Sync with HEAD
 1.22.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.22.4.1  05-Mar-2011  rmind sync with head
 1.23.14.3  03-Dec-2017  jdolecek update from HEAD
 1.23.14.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.23.14.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.23.4.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.23.4.1  30-Oct-2012  yamt sync with head
 1.24.2.1  18-May-2014  rmind sync with head
 1.25.2.1  10-Aug-2014  tls Rebase.
 1.27.4.1  05-Oct-2016  skrll Sync with HEAD
 1.28.10.1  14-Nov-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #1439):

sys/dev/sbus/sio16.c: revision 1.25
sys/dev/gpib/mt.c: revision 1.33
sys/arch/mvme68k/dev/wdsc.c: revision 1.33
sys/dev/gpib/ct.c: revision 1.31
sys/dev/isa/mcd.c: revision 1.119
sys/dev/pci/if_stge.c: revision 1.73
sys/dev/gpib/ppi.c: revision 1.25
sys/dev/pcmcia/if_tr_pcmcia.c: revision 1.29
sys/arch/amiga/dev/zssc.c: revision 1.46
sys/arch/mac68k/obio/iwm_fd.c: revision 1.57
sys/arch/amiga/dev/if_qn.c: revision 1.48
sys/dev/isa/tcic2_isa.c: revision 1.28
sys/dev/isa/uha_isa.c: revision 1.42
sys/dev/pci/neo.c: revision 1.55
sys/arch/next68k/dev/nextdisplay.c: revision 1.22
sys/dev/isa/if_iy.c: revision 1.111

Add missing initialization of sc_dev.


Initialize sc_dev correctly to avoid null pointer dereference when
bus_space_map() failed.


Add missing initialization of sc_dev.
 1.29.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.29.4.1  10-Jun-2019  christos Sync with HEAD
 1.30.4.1  14-Nov-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #425):

sys/dev/sbus/sio16.c: revision 1.25
sys/dev/gpib/mt.c: revision 1.33
sys/arch/mvme68k/dev/wdsc.c: revision 1.33
sys/dev/gpib/ct.c: revision 1.31
sys/dev/isa/mcd.c: revision 1.119
sys/dev/pci/if_stge.c: revision 1.73
sys/dev/gpib/ppi.c: revision 1.25
sys/dev/pcmcia/if_tr_pcmcia.c: revision 1.29
sys/arch/amiga/dev/zssc.c: revision 1.46
sys/arch/mac68k/obio/iwm_fd.c: revision 1.57
sys/arch/amiga/dev/if_qn.c: revision 1.48
sys/dev/isa/tcic2_isa.c: revision 1.28
sys/dev/isa/uha_isa.c: revision 1.42
sys/dev/pci/neo.c: revision 1.55
sys/arch/next68k/dev/nextdisplay.c: revision 1.22
sys/dev/isa/if_iy.c: revision 1.111

Add missing initialization of sc_dev.

Initialize sc_dev correctly to avoid null pointer dereference when
bus_space_map() failed.

Add missing initialization of sc_dev.

RSS XML Feed