opnsense-src/sys/dev/firewire
Alexander Kabaev 2d5d61a46d Set target->sbp field to valid value when sbp device is created.
The sbp_cam_detach_target can be called from sbp_post_explore function
on the first target that is not really attached and it was written with
the corresponding safety check in place to tolerate that. Unfortunately
the recent locking cleanup did add a locking assertion that tries to
dereference the target->sbp pointer unconditionally, which causes less
than desirable outcome. Since the assertion is useful, just initialize
the target sbp pointer once when sbp device is being initialized instead
of when the target is being attached. This makes assertion work in all
cases and fixes the crash on boot.
2014-06-20 01:45:03 +00:00
..
00README Remove references to MAKEDEV(8) 2010-11-15 05:25:51 +00:00
firewire.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
firewire.h Introduce 1394a-2000 extended PHY Self ID packets. 2009-02-17 19:37:04 +00:00
firewire_phy.h
firewirereg.h
fwcrom.c Revert previous commit and add myself to the list of people who should 2009-09-08 13:19:05 +00:00
fwdev.c - Use make_dev_credf(MAKEDEV_REF) instead of the race-prone make_dev()+ 2013-09-07 13:45:44 +00:00
fwdma.c
fwdma.h
fwmem.c Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
fwmem.h
fwohci.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
fwohci_pci.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
fwohcireg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
fwohcivar.h Delete fwohci_filt() as it is now unused 2009-02-03 17:13:37 +00:00
fwphyreg.h Update comments around various structs. 2009-02-12 03:05:42 +00:00
iec13213.h
iec68113.h
if_fwe.c Teach every SIOCGIFSTATUS provider to fill in ifs->ascii anyway. 2014-01-07 15:59:33 +00:00
if_fwevar.h
if_fwip.c The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
if_fwipvar.h
sbp.c Set target->sbp field to valid value when sbp device is created. 2014-06-20 01:45:03 +00:00
sbp.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
sbp_targ.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00