summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2012-04-06 22:23:13 +0000
committerken <ken@FreeBSD.org>2012-04-06 22:23:13 +0000
commitf5030474fb1fea82b4ba545206f119d4905496a9 (patch)
treea57c93d4adac2e4fff43f5eff99bc22ae107e9c2 /sys/powerpc/aim
parentea2a8fbda52185e0617e71fb627826dfe9a850d8 (diff)
downloadFreeBSD-src-f5030474fb1fea82b4ba545206f119d4905496a9.zip
FreeBSD-src-f5030474fb1fea82b4ba545206f119d4905496a9.tar.gz
Change the SCSI INQUIRY peripheral qualifier that CTL reports for LUNs
that don't exist. Anecdotal evidence indicates that it is better to return 011b (bad LUN) than 001b (LUN offline). However, this change also gives the user a sysctl/tunable, kern.cam.ctl.inquiry_pq_no_lun, to override the change and return to the previous behavior. (The previous behavior was to return 001b, or LUN offline.) ctl.c: Change the default inquiry peripheral qualifier to 011b, and add a sysctl and tunable to allow the user to change it back to 001b if needed. Don't insert a Copan copyright statement in the inquiry data. The copyright statements on the files are sufficient. ctl_private.h: Add sysctl variable context to the CTL softc. ctl_cmd_table.c, ctl_frontend_internal.c, ctl_frontend.c, ctl_backend.c, ctl_error.c: Include sys/sysctl.h. MFC after: 3 days
Diffstat (limited to 'sys/powerpc/aim')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud