Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106953293
D27515.id80468.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
888 B
Referenced Files
None
Subscribers
None
D27515.id80468.diff
View Options
Index: head/sys/dev/mfi/mfi_tbolt.c
===================================================================
--- head/sys/dev/mfi/mfi_tbolt.c
+++ head/sys/dev/mfi/mfi_tbolt.c
@@ -1104,16 +1104,12 @@
if (hdr->cmd == MFI_CMD_PD_SCSI_IO) {
/* check for inquiry commands coming from CLI */
- if (cdb[0] != 0x28 && cdb[0] != 0x2A) {
- if ((req_desc = mfi_tbolt_build_mpt_cmd(sc, cm)) ==
- NULL) {
- device_printf(sc->mfi_dev, "Mapping from MFI "
- "to MPT Failed \n");
- return 1;
- }
+ if ((req_desc = mfi_tbolt_build_mpt_cmd(sc, cm)) ==
+ NULL) {
+ device_printf(sc->mfi_dev, "Mapping from MFI "
+ "to MPT Failed \n");
+ return 1;
}
- else
- device_printf(sc->mfi_dev, "DJA NA XXX SYSPDIO\n");
} else if (hdr->cmd == MFI_CMD_LD_SCSI_IO ||
hdr->cmd == MFI_CMD_LD_READ || hdr->cmd == MFI_CMD_LD_WRITE) {
cm->cm_flags |= MFI_CMD_SCSI;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 12:21 AM (3 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15727625
Default Alt Text
D27515.id80468.diff (888 B)
Attached To
Mode
D27515: dev/mfi: Make a seemingly bogus conditional unconditional
Attached
Detach File
Event Timeline
Log In to Comment