History log of /dflybsd-src/sys/dev/disk/mpt/mpt_cam.c (Results 1 – 16 of 16)
Revision Date Author Comments
# cec957e9 04-Mar-2019 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Change callout in struct ccb_hdr

* Change the callout declaration in struct ccb_hdr from an embedded
structure to a pointer, add padding to get the whole structure to its
original size

kernel - Change callout in struct ccb_hdr

* Change the callout declaration in struct ccb_hdr from an embedded
structure to a pointer, add padding to get the whole structure to its
original size (prior to the recent callout patch).

* This removes an improper ABI dependency on the kernel struct callout
structure which was causing 'camcontrol', and 'smartctl' (from
smartmontools) to fail.

Testing: dillon, tuxillo

show more ...


# bc238f04 24-Sep-2018 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Fix bug in mpt_scsi_tgt_status()

* Function overwrote the 'rsp' pointer instead of zero'ing a
portion of the rsp target.


# 26595b18 28-Nov-2014 Sascha Wildner <saw@online.de>

kernel: Use the new auto-created sysctl ctx/tree in various drivers.

Everywhere where we formerly rolled a hw.fooX.* per-device ctx/tree
ourselves.

This commit switches it to dev.foo.X.*


# f582582c 20-Mar-2014 Sascha Wildner <saw@online.de>

mpt(4): Sync with FreeBSD.

Nothing big, as far as I can tell. Some fixes and removal of old
compatibility code.

While here, use callout_init_mp() and callout_stop_sync().


# 6f74522f 18-Jul-2013 Sascha Wildner <saw@online.de>

kernel/raid: CAM_NEW_TRAN_CODE is default for over 5 years.


# 52001f09 02-Jun-2013 Sascha Wildner <saw@online.de>

mpt(4): Use cam_calc_geometry() directly.


# 8e5a3626 31-May-2013 Sascha Wildner <saw@online.de>

kernel/mpt: Remove empty macros.


# f2b20325 07-Aug-2012 Sascha Wildner <saw@online.de>

mpt(4): Fix a porting mistake I did in 6d259fc1.

I left in both the code of the "#if __FreeBSD_version" as well as that of
its "#else". This caused the geometry to be calculated twice.


# bc14747b 17-Jun-2012 Sascha Wildner <saw@online.de>

Fix more wrong sizeof() usages, part 2/x

Take the size of the struct instead of the size of its address.

Found-with: Coccinelle (http://coccinelle.lip6.fr/)


# 4c42baf4 17-Apr-2012 Sascha Wildner <saw@online.de>

mpt(4): Sync with FreeBSD.

Bug fixes and cleanups.


# 2be58998 31-Aug-2011 Sascha Wildner <saw@online.de>

mpt(4): Properly lock mpt_timeout().

I had removed it with an assertion (like in FreeBSD) as part of the
last sync I did, but I had overlooked that FreeBSD initializes their
callout with callout_ini

mpt(4): Properly lock mpt_timeout().

I had removed it with an assertion (like in FreeBSD) as part of the
last sync I did, but I had overlooked that FreeBSD initializes their
callout with callout_init_mtx().

For now, just put back locking like it was.

Reported-by: G.Isenmann
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2127>

show more ...


# 6d259fc1 28-Apr-2011 Sascha Wildner <saw@online.de>

mpt(4): Sync with FreeBSD.

This fixes issues which were observed with the LSI SAS 3081E-R card.

Reported-and-tested-by: <ftigeot@wolfpond.org>


# cd8ab232 28-Aug-2010 Matthew Dillon <dillon@apollo.backplane.com>

kernel - unwind kthread_create() mplock

* All kthread_create*() calls and kproc_start() calls now create
threads which do not hold the mplock at startup.

* Add get_mplock()/rel_mplock() to thread

kernel - unwind kthread_create() mplock

* All kthread_create*() calls and kproc_start() calls now create
threads which do not hold the mplock at startup.

* Add get_mplock()/rel_mplock() to threads which are not yet mpsafe.

* Remove rel_mplock() calls from thread startups which were making
themselves mpsafe by releasing the mplock.

* Kernel eventhandler API is now MPSAFE

* Kernel kproc API is now MPSAFE

* Rename a few thread procedures to make their function more obvious.

show more ...


# 32af04f7 12-Dec-2009 Sascha Wildner <saw@online.de>

Remove inclusion of <sys/cdefs.h> from kernel .c files.

They are not needed and mostly leftovers from former __FBSDID and the
likes.

Also add some missing CVS ids to the comments.


# 3c4c549a 16-Aug-2009 Matthew Dillon <dillon@apollo.backplane.com>

MPT - fix all compiler warnings


# 2545bca0 16-Aug-2009 Matthew Dillon <dillon@apollo.backplane.com>

MPI Driver update - additional merge work.

Ported-from: FreeBSD
Submitted-by: Alexander Polakov <polachok@gmail.com>