Home | History | Annotate | Download | only in ieee1394
History log of /src/sys/dev/ieee1394/fwdev.c
RevisionDateAuthorComments
 1.33  10-Nov-2021  msaitoh s/avaliable/available/
 1.32  25-Jun-2017  maxv memory leak, found by Mootja; it seems that we should check the return
value of 'fw_bindadd' in several other places, but whatever
 1.31  20-Nov-2016  riastradh Kill some more tsleep.

And no, surrounding tsleep by mutex_exit/mutex_enter does not fix
problems even if the LOCKDEBUG panic symptom goes away...
 1.30  25-Jul-2014  dholland branches: 1.30.4; 1.30.8;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.29  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.28  16-Mar-2014  dholland branches: 1.28.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.27  29-Apr-2012  dsl branches: 1.27.2; 1.27.4;
Change to consistently use M_FW for all malloc/free.
It probably doesn't matter any more, but the code doesn't appear to
have matched its mallocs and frees - so the stats would have been awol.
 1.26  31-Jul-2011  uebayasi branches: 1.26.2; 1.26.6;
Put back #include "ioconf.h" per popular demand.
 1.25  25-May-2011  uebayasi Declare cfdrivers using extern rather than including ioconf.h.
 1.24  26-Aug-2010  cegger branches: 1.24.2;
don't call tsleep() with any mutexes hold
 1.23  16-Aug-2010  cegger do not hold mutexes when calling tsleep(9).
Fixes LOCKDEBUG panics
 1.22  23-May-2010  christos Revert all previous kmem_ commits. This needs to be done in a different way
because we cannot call kmem_ from an interrupt context. I opened PR/43341 for
it.
 1.21  14-May-2010  kiyohara Use kmem(9) instead of malloc(9).
 1.20  10-May-2010  kiyohara Use kmem(9) instead of malloc(9).
 1.19  29-Apr-2010  kiyohara Remove unnecessary cast.
 1.18  29-Mar-2010  kiyohara Bye-bye fw_port.h.
 1.17  18-Apr-2009  tsutsui branches: 1.17.2; 1.17.4;
Remove extra whitespace added by a stupid tool.
XXX: more in src/sys/arch
 1.16  18-Mar-2009  cegger bcopy -> memcpy
 1.15  18-Mar-2009  cegger bzero -> memset
 1.14  11-Dec-2007  lukem branches: 1.14.12; 1.14.20; 1.14.26;
use __KERNEL_RCSID()
 1.13  05-Nov-2007  kiyohara branches: 1.13.4; 1.13.6; 1.13.8;
+ Sync to FreeBSD.
firewire.c Rev.1.101
firewire.h Rev.1.21
firewirereg.h Rev.1.50
fwdev.c Rev.1.52
fwdma.c Rev.1.9
fwmem.c Rev.1.34
fwohci.c Rev.1.93
fwohcireg.h Rev.1.23
fwohcivar.h Rev.1.16
if_fwip.c Rev.1.16
if_fwipvar.h Rev.1.5
sbp.c Rev.1.92
+ Cleanup macros in fw_port.h.
+ Fix the occurrence of the error at the resume. Don't set the buffer again.
 1.12  19-Oct-2007  ad machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.11  29-Jul-2007  ad branches: 1.11.4; 1.11.6; 1.11.10; 1.11.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.10  21-Apr-2007  kiyohara branches: 1.10.2;
firewire.c sync to Rev.1.86 for FreeBSD.
firewirereg.h sync to Rev.1.41 for FreeBSD.
fwcrom.c sync to Rev.1.14 for FreeBSD.
fwdev.c sync to Rev.1.49 for FreeBSD.
fwmem.c sync to Rev.1.32 for FreeBSD.
fwohci.c sync to Rev.1.86 for FreeBSD.
fwohcivar.h sync to Rev.1.15 for FreeBSD.
if_fwip.c sync to Rev.1.14 for FreeBSD.
if_fwipvar.h sync to Rev.1.4 for FreeBSD.
sbp.c sync to Rev.1.89 for FreeBSD.
 1.9  04-Mar-2007  christos branches: 1.9.2; 1.9.4;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.8  16-Nov-2006  jdolecek branches: 1.8.4;
undo previous change - crom_buf->len has been changed to uint32_t
(this is backward ABI compatible) so the check for negative value is
no longer necessary
 1.7  16-Nov-2006  elad Avoid integer overflow, as reported by Rodrigo Rubira Branco in a
message to full-disclosure:

http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0261.html

Also see comment from bouyer@:

http://mail-index.netbsd.org/tech-security/2006/11/16/0001.html
 1.6  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.5  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.4  30-Aug-2006  christos branches: 1.4.2; 1.4.4;
- fix missing initializations
- remove stray semicolon, that screwed up error checking
 1.3  11-Dec-2005  christos branches: 1.3.4; 1.3.8; 1.3.18;
merge ktrace-lwp.
 1.2  20-Jul-2005  drochner branches: 1.2.6;
minor cleanup: some "const", global namespace sanity and fix a maclo name
 1.1  11-Jul-2005  kiyohara ieee1394 import from FreeBSD.
 1.2.6.2  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.6.1  20-Jul-2005  skrll file fwdev.c was added on branch ktrace-lwp on 2005-11-10 14:05:22 +0000
 1.3.18.7  21-Jan-2008  yamt sync with head
 1.3.18.6  15-Nov-2007  yamt sync with head.
 1.3.18.5  27-Oct-2007  yamt sync with head.
 1.3.18.4  03-Sep-2007  yamt sync with head.
 1.3.18.3  30-Dec-2006  yamt sync with head.
 1.3.18.2  21-Jun-2006  yamt sync with head.
 1.3.18.1  11-Dec-2005  yamt file fwdev.c was added on branch yamt-lazymbuf on 2006-06-21 15:04:08 +0000
 1.3.8.1  03-Sep-2006  yamt sync with head.
 1.3.4.1  09-Sep-2006  rpaulo sync with head
 1.4.4.2  10-Dec-2006  yamt sync with head.
 1.4.4.1  22-Oct-2006  yamt sync with head
 1.4.2.1  18-Nov-2006  ad Sync with head.
 1.8.4.2  07-May-2007  yamt sync with head.
 1.8.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.9.4.1  11-Jul-2007  mjf Sync with head.
 1.9.2.5  23-Oct-2007  ad Sync with head.
 1.9.2.4  19-Aug-2007  ad Compile fixes.
 1.9.2.3  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.9.2.2  27-May-2007  ad Sync with head.
 1.9.2.1  13-May-2007  ad - Pass the error number and residual count to biodone(), and let it handle
setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.
 1.10.2.1  15-Aug-2007  skrll Sync with HEAD.
 1.11.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.11.12.1  29-Jul-2007  ad file fwdev.c was added on branch matt-mips64 on 2007-07-29 13:31:09 +0000
 1.11.10.2  13-Nov-2007  bouyer Sync with HEAD
 1.11.10.1  25-Oct-2007  bouyer 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.2  06-Nov-2007  joerg 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.13.8.1  13-Dec-2007  bouyer Sync with HEAD
 1.13.6.1  11-Dec-2007  yamt sync with head.
 1.13.4.1  26-Dec-2007  ad Sync with head.
 1.14.26.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.14.20.1  28-Apr-2009  skrll Sync with HEAD.
 1.14.12.3  09-Oct-2010  yamt sync with head
 1.14.12.2  11-Aug-2010  yamt sync with head.
 1.14.12.1  04-May-2009  yamt sync with head.
 1.17.4.3  31-May-2011  rmind sync with head
 1.17.4.2  05-Mar-2011  rmind sync with head
 1.17.4.1  30-May-2010  rmind sync with head
 1.17.2.3  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.17.2.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.17.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.24.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.26.6.1  29-Apr-2012  mrg sync to latest -current.
 1.26.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.26.2.1  23-May-2012  yamt sync with head.
 1.27.4.1  18-May-2014  rmind sync with head
 1.27.2.2  03-Dec-2017  jdolecek update from HEAD
 1.27.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.2.1  10-Aug-2014  tls Rebase.
 1.30.8.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.30.4.2  28-Aug-2017  skrll Sync with HEAD
 1.30.4.1  05-Dec-2016  skrll Sync with HEAD

RSS XML Feed