History log of /freebsd/sys/dev/ciss/ciss.c (Results 1 – 25 of 346)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# b339ab14 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Don't panic on null CR ciss_dequeue_notify

Apparently, sometimes on hot plug/unplug, a null cr comes back from
ciss_dequeue_notify. This is clearly a bug, and by ignoring it we're
papering ove

ciss: Don't panic on null CR ciss_dequeue_notify

Apparently, sometimes on hot plug/unplug, a null cr comes back from
ciss_dequeue_notify. This is clearly a bug, and by ignoring it we're
papering over that bug. We only ever wake the thread after enqueing a
notification or setting a bit about killing the thread, so once we check
the bit isn't the cause, cr can't be NULL unless something else has
dequeued it.

Ideally, this would be fixed, rather than papered over, but this makes a
very old card somewhat more useable for external enclosures. I suspect
it's a race when we set CISS_THREAD_SHUT and another flag (the latter
w/o ciss_mtx held), but I don't see it and w/o hardware to reproduce
it would be hard to know for sure.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# fd95966a 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: hw.ciss.initator_id to set the initiator ID

Add hw.ciss.inititor_id to set the initiator to something other than the
default.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differentia

ciss: hw.ciss.initator_id to set the initiator ID

Add hw.ciss.inititor_id to set the initiator to something other than the
default.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# 45645518 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Add max physical target

Add support for tracking the maximum physical target and using that to
override the maximum logical target.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Diffe

ciss: Add max physical target

Add support for tracking the maximum physical target and using that to
override the maximum logical target.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# 7c74337e 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Expose tunable hw.ciss.force_interrupt as sysctl

Expose the hw.ciss.force_interrupt tuneable as a sysctl and make it
writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarycht

ciss: Expose tunable hw.ciss.force_interrupt as sysctl

Expose the hw.ciss.force_interrupt tuneable as a sysctl and make it
writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# 77af8c6d 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Expose tunable hw.ciss.force_transport as sysctl

Expose the hw.ciss.force_transport tuneable as a sysctl and make it
writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarycht

ciss: Expose tunable hw.ciss.force_transport as sysctl

Expose the hw.ciss.force_transport tuneable as a sysctl and make it
writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# cec58bba 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Expose tunable hw.ciss.nop_message_heartbeat as sysctl

Expose the hw.ciss.nop_message_heartbeat tuneable as a sysctl and make
it writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by: M

ciss: Expose tunable hw.ciss.nop_message_heartbeat as sysctl

Expose the hw.ciss.nop_message_heartbeat tuneable as a sysctl and make
it writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# a3556435 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Expose tunable hw.ciss.expose_hidden_physical as sysctl

Expose the hw.ciss.expose_hidden_physical tuneable as a sysctl
and make it writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by:

ciss: Expose tunable hw.ciss.expose_hidden_physical as sysctl

Expose the hw.ciss.expose_hidden_physical tuneable as a sysctl
and make it writeable at runtime.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# d8b02467 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Report more errors at higher ciss_verbose levels

Report more information on errors, including the the opcode.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: http

ciss: Report more errors at higher ciss_verbose levels

Report more information on errors, including the the opcode.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# f373e6b8 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Add sysctl/tunable hw.ciss.verbose

Add tuneable to turn on/off verbosity for debugging purposes. This is
approximately the same as bootverbose, but will print even more
information when > 1.

ciss: Add sysctl/tunable hw.ciss.verbose

Add tuneable to turn on/off verbosity for debugging purposes. This is
approximately the same as bootverbose, but will print even more
information when > 1.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# 74575d14 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Add sysctl/tunable hw.ciss and hw.ciss.base_transfer_speed

Add a sysctl/tuneable to report a different base transfer speed than the
default of 132*1024.

PR: 246279
Reviewed by: imp
Tested by:

ciss: Add sysctl/tunable hw.ciss and hw.ciss.base_transfer_speed

Add a sysctl/tuneable to report a different base transfer speed than the
default of 132*1024.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


# cafc8393 14-Oct-2024 Peter Eriksson <pen@lysator.liu.se>

ciss: Ignore data over/under run on RECEIVE_DIAGNOSTIC

This appears to be harmless, so ignore data over/under run on
diagnostics.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential

ciss: Ignore data over/under run on RECEIVE_DIAGNOSTIC

This appears to be harmless, so ignore data over/under run on
diagnostics.

PR: 246279
Reviewed by: imp
Tested by: Marek Zarychta
Differential Revision: https://reviews.freebsd.org/D25155

show more ...


Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


# 4e2ddfba 08-May-2023 Warner Losh <imp@FreeBSD.org>

ciss: Fix typo

Although unused, fixed type in CISS_BOARD_UNKNOWN #define.

Submitted by: Peter Eriksson (a trivial part of D25155)


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0
# 6b66c298 19-Apr-2022 John Baldwin <jhb@FreeBSD.org>

ciss: Remove unused devclass argument to DRIVER_MODULE.


# fa911920 26-Feb-2022 Scott Long <scottl@FreeBSD.org>

Fix "set but not used" for real in the ciss driver.


Revision tags: release/12.3.0
# 79ed7cb3 25-Nov-2021 Scott Long <scottl@FreeBSD.org>

Fix "set but not used" warnings in the ciss driver.


# 5f8cb13c 19-Sep-2021 Alexander Motin <mav@FreeBSD.org>

ciss(4): Fix typo.


# e8144a13 19-Sep-2021 Alexander Motin <mav@FreeBSD.org>

ciss(4): Properly handle data underrun.

For SCSI data underrun is a part of normal life. It should not be
reported as error. This fixes MODE SENSE used by modern CAM.

MFC after: 1 month


Revision tags: release/13.0.0, release/12.2.0
# 405b8d43 02-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

ciss: clean up empty lines in .c and .h files


Revision tags: release/11.4.0
# d26ae2c1 19-Mar-2020 Alexander Motin <mav@FreeBSD.org>

Add missing STAILQ_INIT() in ciss_disable_adapter().

I think it should fix reported panic after "ADAPTER HEARTBEAT FAILED".

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.


Revision tags: release/12.1.0, release/11.3.0
# e532a999 20-Jun-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @349234

Sponsored by: The FreeBSD Foundation


# 2e3d6d0f 13-Jun-2019 Warner Losh <imp@FreeBSD.org>

Don't print the request we may be aborting in ciss_notify_abort as
part of ciss_detach. It's a left-over debug that isn't needed and also
discloses a kernel address. Only root could provoke as part o

Don't print the request we may be aborting in ciss_notify_abort as
part of ciss_detach. It's a left-over debug that isn't needed and also
discloses a kernel address. Only root could provoke as part of a
devctl or kldunload.

Submitted by: Fuqian Huang
MFC After: 1 week

show more ...


Revision tags: release/12.0.0
# 01d4e214 05-Oct-2018 Glen Barber <gjb@FreeBSD.org>

MFH r338661 through r339200.

Sponsored by: The FreeBSD Foundation


# ce44d808 27-Sep-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r338731 through r338987.


12345678910>>...14