• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:Host

4   Linux Driver for BusLogic MultiMaster and FlashPoint SCSI Host Adapters
97 all BusLogic Host Adapters.
105 all BusLogic Host Adapters.
121 to be checked for potential BusLogic Host Adapters. It is initialized by
150 BusLogic_DriverInfo returns the Host Adapter Name to identify this SCSI
151 Driver and Host Adapter.
154 static const char *BusLogic_DriverInfo(struct Scsi_Host *Host)
156 struct BusLogic_HostAdapter *HostAdapter = (struct BusLogic_HostAdapter *) Host->hostdata;
162 for Host Adapter from the BlockSize bytes located at BlockPointer. The newly
163 created CCBs are added to Host Adapter's free list.
193 BusLogic_CreateInitialCCBs allocates the initial CCBs for Host Adapter.
214 BusLogic_DestroyCCBs deallocates the CCBs for Host Adapter.
236 BusLogic_CreateAdditionalCCBs allocates Additional CCBs for Host Adapter. If
269 BusLogic_AllocateCCB allocates a CCB from Host Adapter's free list,
270 allocating more memory from the Kernel if necessary. The Host Adapter's
300 BusLogic_DeallocateCCB deallocates a CCB, returning it to the Host Adapter's
301 free list. The Host Adapter's Lock should already have been acquired by the
327 the Host Adapter (including any discarded data); on failure, it returns
332 access to the Host Adapter hardware is assumed. Once the host adapter and
333 driver are initialized, the only Host Adapter command that is issued is the
335 waiting for the Host Adapter Ready bit to be set in the Status Register.
356 BusLogic Host Adapter or another driver sharing the same IRQ Channel.
361 Wait for the Host Adapter Ready bit to be set and the Command/Parameter
372 BusLogic_CommandFailureReason = "Timeout waiting for Host Adapter Ready";
387 Wait 100 microseconds to give the Host Adapter enough time to determine
395 from the Host Adapter. Otherwise, wait for the Command/Parameter
450 Host Adapter Command Completed bit in the Host Adapter structure.
495 Some early BusLogic Host Adapters may not recover properly from
497 a Soft Reset is issued to the Host Adapter. Potentially invalid
499 performed, so there should be no Host Adapter state lost by a
541 Host Adapters.
559 Bus Probe Information to be checked for potential BusLogic SCSI Host Adapters
622 SCSI Host Adapters by interrogating the PCI Configuration Space on PCI
624 I/O Addresses. It returns the number of PCI MultiMaster Host Adapters found.
644 Iterate over the MultiMaster PCI Host Adapters. For each enumerated host
681 BusLogic_Error("BusLogic: Base Address0 0x%X not I/O for " "MultiMaster Host Adapter\n", NULL, BaseAddress0);
686 BusLogic_Error("BusLogic: Base Address1 0x%X not Memory for " "MultiMaster Host Adapter\n", NULL, BaseAddress1);
691 BusLogic_Error("BusLogic: IRQ Channel %d invalid for " "MultiMaster Host Adapter\n", NULL, IRQ_Channel);
696 BusLogic_Notice("BusLogic: PCI MultiMaster Host Adapter " "detected at\n", NULL);
700 Issue the Inquire PCI Host Adapter Information command to determine
715 * I/O Port. On PCI Host Adapters, the Modify I/O Address command
716 * allows modification of the ISA compatible I/O Address that the Host
723 For the first MultiMaster Host Adapter enumerated, issue the Fetch
724 Host Adapter Local RAM command to read byte 45 of the AutoSCSI area,
742 Determine whether this MultiMaster Host Adapter has its ISA
744 If it does, then it is the Primary MultiMaster Host Adapter and must
746 for probing after any Primary MultiMaster Host Adapter is probed.
771 BusLogic_Warning("BusLogic: Too many Host Adapters " "detected\n", NULL);
775 for the first enumerated MultiMaster Host Adapter, and if that host adapter
777 Host Adapters in the order of increasing PCI Bus and Device Number. In
780 Host Adapters in the order they are enumerated by the PCI BIOS, and hence
786 If no PCI MultiMaster Host Adapter is assigned the Primary I/O Address,
825 Iterate over the older non-compliant MultiMaster PCI Host Adapters,
868 Host Adapters by interrogating the PCI Configuration Space. It returns the
869 number of FlashPoint Host Adapters found.
878 Interrogate PCI Configuration Space for any FlashPoint Host Adapters.
902 BusLogic_Error("BusLogic: Base Address0 0x%X not I/O for " "FlashPoint Host Adapter\n", NULL, BaseAddress0);
907 BusLogic_Error("BusLogic: Base Address1 0x%X not Memory for " "FlashPoint Host Adapter\n", NULL, BaseAddress1);
912 BusLogic_Error("BusLogic: IRQ Channel %d invalid for " "FlashPoint Host Adapter\n", NULL, IRQ_Channel);
917 BusLogic_Notice("BusLogic: FlashPoint Host Adapter " "detected at\n", NULL);
932 BusLogic_Warning("BusLogic: Too many Host Adapters " "detected\n", NULL);
934 BusLogic_Error("BusLogic: FlashPoint Host Adapter detected at " "PCI Bus %d Device %d\n", NULL, Bus, Device);
940 The FlashPoint BIOS will scan for FlashPoint Host Adapters in the order of
951 Probe Information to be checked for potential BusLogic SCSI Host Adapters by
954 FlashPoint and PCI MultiMaster Host Adapters are present, this driver will
955 probe for FlashPoint Host Adapters first unless the BIOS primary disk is
956 controlled by the first PCI MultiMaster Host Adapter, in which case
957 MultiMaster Host Adapters will be probed first. The BusLogic Driver Options
967 Host Adapters; otherwise, default to the standard ISA MultiMaster probe.
992 is controlled by this PCI MultiMaster Host Adapter, then
993 reverse the probe order so that MultiMaster Host Adapters are
994 probed before FlashPoint Host Adapters.
1024 BusLogic_Error("While configuring BusLogic PCI Host Adapter at\n", HostAdapter);
1027 BusLogic_Error("While configuring BusLogic Host Adapter at " "I/O Address 0x%X:\n", HostAdapter, HostAdapter->IO_Address);
1036 BusLogic_ProbeHostAdapter probes for a BusLogic Host Adapter.
1045 FlashPoint Host Adapters are Probed by the FlashPoint SCCB Manager.
1053 BusLogic_Error("BusLogic: FlashPoint Host Adapter detected at " "PCI Bus %d Device %d\n", HostAdapter, HostAdapter->Bus, HostAdapter->Device);
1061 Indicate the Host Adapter Probe completed successfully.
1068 BusLogic Host Adapter. A nonexistent I/O port will return 0xFF, in which
1069 case there is definitely no BusLogic Host Adapter at this base I/O Address.
1070 The test here is a subset of that used by the BusLogic Host Adapter BIOS.
1081 that responded. Adaptec Host Adapters do not implement the Geometry
1086 issued in BusLogic_CheckHostAdapter. The AMI FastDisk Host Adapter is a
1088 Host Adapters, including the undocumented commands, and is therefore
1096 Indicate the Host Adapter Probe completed successfully.
1103 BusLogic_HardwareResetHostAdapter issues a Hardware Reset to the Host Adapter
1104 and waits for Host Adapter Diagnostics to complete. If HardReset is true, a
1106 Soft Reset is performed which only resets the Host Adapter without forcing a
1116 FlashPoint Host Adapters are Hard Reset by the FlashPoint SCCB Manager.
1126 Indicate the Host Adapter Hard Reset completed successfully.
1131 Issue a Hard Reset or Soft Reset Command to the Host Adapter. The Host
1173 Wait until at least one of the Diagnostic Failure, Host Adapter Ready,
1184 BusLogic_Notice("BusLogic_HardwareReset(0x%X): Host Adapter Ready, " "Status 0x%02X\n", HostAdapter, HostAdapter->IO_Address, StatusRegister.All);
1188 If Diagnostic Failure is set or Host Adapter Ready is reset, then an
1189 error occurred during the Host Adapter diagnostics. If Data In Register
1203 Indicate the Host Adapter Hard Reset completed successfully.
1211 Host Adapter.
1220 FlashPoint Host Adapters do not require this protection.
1226 BusLogic Host Adapters and true clones support this command. Adaptec 1542C
1227 series Host Adapters that respond to the Geometry Register I/O port will
1245 from Host Adapter and initializes the Host Adapter structure.
1266 Configuration Information for FlashPoint Host Adapters is provided in the
1268 Initialize fields in the Host Adapter structure from the FlashPoint_Info
1345 Issue the Inquire Host Adapter Model Number command.
1363 BusLogic MultiMaster Host Adapters can be identified by their model number
1366 5.xx BusLogic "W" Series Host Adapters:
1368 4.xx BusLogic "C" Series Host Adapters:
1370 3.xx BusLogic "S" Series Host Adapters:
1373 2.xx BusLogic "A" Series Host Adapters:
1375 0.xx AMI FastDisk VLB/EISA BusLogic Clone Host Adapter
1378 Save the Model Name and Host Adapter Name in the Host Adapter structure.
1392 Save the Firmware Version in the Host Adapter structure.
1413 Save the Host Adapter SCSI ID in the Host Adapter structure.
1417 Determine the Bus Type and save it in the Host Adapter structure, determine
1419 Channel for ISA Host Adapters.
1446 the Host Adapter structure.
1453 Ultra SCSI flag in the Host Adapter structure.
1467 information in the Host Adapter structure.
1472 Issue the Inquire PCI Host Adapter Information command to read the
1473 Termination Information from "W" series MultiMaster Host Adapters.
1480 Save the Termination Information in the Host Adapter structure.
1489 Issue the Fetch Host Adapter Local RAM command to read the AutoSCSI data
1490 from "W" and "C" series MultiMaster Host Adapters.
1500 Information in the Host Adapter structure.
1512 Host Adapter structure.
1526 Initialize fields in the Host Adapter structure for "S" and "A" series
1527 MultiMaster Host Adapters.
1545 this driver for Wide and Narrow Host Adapters.
1556 Robin Mode is not supported, then the Host Adapter must scan all the
1562 Depth should be set to the Mailbox Count, rather than the Host Adapter
1590 MultiMaster Host Adapters, on "C" series MultiMaster Host Adapters with
1591 firmware version 4.22 and above, and on "S" series MultiMaster Host
1609 Determine the Host Adapter BIOS Address if the BIOS is enabled and
1610 save it in the Host Adapter structure. The BIOS is disabled if the
1615 ISA Host Adapters require Bounce Buffers if there is more than 16MB memory.
1620 BusLogic BT-445S Host Adapters prior to board revision E have a hardware
1623 functioning BT-445S Host Adapters have firmware version 3.37, so require
1630 Initialize parameters common to MultiMaster and FlashPoint Host Adapters.
1634 Initialize the Host Adapter Full Model Name from the Model Name.
1640 BusLogic Driver Options specification, or based on whether this Host
1684 Indicate reading the Host Adapter Configuration completed successfully.
1692 Host Adapter.
1712 BusLogic_Info("Configuring BusLogic Model %s %s%s%s%s SCSI Host Adapter\n",
1733 BusLogic_Info("Host Adapter SCSI ID: %d\n", HostAdapter, HostAdapter->SCSI_ID);
1803 BusLogic_Info(" Driver Queue Depth: %d, " "Host Adapter Queue Depth: %d\n", HostAdapter, HostAdapter->DriverQueueDepth, HostAdapter->HostAdapterQueueDepth);
1833 Indicate reporting the Host Adapter configuration completed successfully.
1841 Host Adapter.
1907 BusLogic_InitializeHostAdapter initializes Host Adapter. This is the only
1908 function called during SCSI Host Adapter detection which modifies the state
1909 of the Host Adapter from its initial power on or hard reset state.
1938 FlashPoint Host Adapters do not use Outgoing and Incoming Mailboxes.
1962 Initialize the Host Adapter's Pointer to the Outgoing/Incoming Mailboxes.
1969 Enable Strict Round Robin Mode if supported by the Host Adapter. In
1970 Strict Round Robin Mode, the Host Adapter only looks at the next Outgoing
1981 For Host Adapters that support Extended LUN Format CCBs, issue the Set CCB
2000 Indicate the Host Adapter Initialization completed successfully.
2008 through Host Adapter.
2021 Wait a few seconds between the Host Adapter Hard Reset which initiates
2027 FlashPoint Host Adapters do not provide for Target Device Inquiry.
2117 BusLogic_InitializeHostStructure initializes the fields in the SCSI Host
2119 SCSI Host structure are intentionally left uninitialized, as this driver
2121 ensuring exclusive access to the Host Adapter hardware and data structures
2122 through explicit acquisition and release of the Host Adapter's Lock.
2126 *HostAdapter, struct Scsi_Host *Host)
2128 Host->max_id = HostAdapter->MaxTargetDevices;
2129 Host->max_lun = HostAdapter->MaxLogicalUnits;
2130 Host->max_channel = 0;
2131 Host->unique_id = HostAdapter->IO_Address;
2132 Host->this_id = HostAdapter->SCSI_ID;
2133 Host->can_queue = HostAdapter->DriverQueueDepth;
2134 Host->sg_tablesize = HostAdapter->DriverScatterGatherLimit;
2135 Host->unchecked_isa_dma = HostAdapter->BounceBuffersRequired;
2136 Host->cmd_per_lun = HostAdapter->UntaggedQueueDepth;
2175 BusLogic_DetectHostAdapter probes for BusLogic Host Adapters at the standard
2177 reporting the configuration of each BusLogic Host Adapter it finds. It
2178 returns the number of BusLogic Host Adapters successfully initialized and
2206 BusLogic_Error("BusLogic: Unable to allocate Prototype " "Host Adapter\n", NULL);
2218 struct Scsi_Host *Host;
2239 Probe the Host Adapter. If unsuccessful, abort further initialization.
2246 Hard Reset the Host Adapter. If unsuccessful, abort further
2254 Check the Host Adapter. If unsuccessful, abort further initialization.
2271 Register the SCSI Host structure.
2274 Host = scsi_host_alloc(&Bus_Logic_template, sizeof(struct BusLogic_HostAdapter));
2275 if (Host == NULL) {
2279 HostAdapter = (struct BusLogic_HostAdapter *) Host->hostdata;
2281 HostAdapter->SCSI_Host = Host;
2282 HostAdapter->HostNumber = Host->host_no;
2284 Add Host Adapter to the end of the list of registered BusLogic
2285 Host Adapters.
2290 Read the Host Adapter Configuration, Configure the Host Adapter,
2291 Acquire the System Resources necessary to use the Host Adapter, then
2292 Create the Initial CCBs, Initialize the Host Adapter, and finally
2296 problem with the Host Adapter, rather than due to having mistakenly
2297 identified this port as belonging to a BusLogic Host Adapter. The
2299 being incorrectly identified as any other type of Host Adapter.
2310 Name of the Host Adapter will appear, and initialize the SCSI
2311 Host structure.
2325 scsi_host_put(Host);
2329 Host);
2330 if (scsi_add_host(Host, HostAdapter->PCI_Device
2339 scsi_host_put(Host);
2342 scsi_scan_host(Host);
2348 An error occurred during Host Adapter Configuration Querying, Host
2349 Adapter Configuration, Resource Acquisition, CCB Creation, Host
2350 Adapter Initialization, or Target Device Inquiry, so remove Host
2351 Adapter from the list of registered BusLogic Host Adapters, destroy
2353 Host.
2358 scsi_host_put(Host);
2371 support a specific Host Adapter, including the I/O Address range, and
2372 unregisters the BusLogic Host Adapter.
2377 struct Scsi_Host *Host = HostAdapter->SCSI_Host;
2379 scsi_remove_host(Host);
2382 FlashPoint Host Adapters must first be released by the FlashPoint
2389 support Host Adapter.
2398 Remove Host Adapter from the list of registered BusLogic Host Adapters.
2402 scsi_host_put(Host);
2429 the Host Adapter Status and Target Device Status.
2471 BusLogic_Warning("Unknown Host Adapter Status 0x%02X\n", HostAdapter, HostAdapterStatus);
2492 Aborted At Host Request are saved for completion processing. When an
2521 the Host Adapter firmware.
2535 BusLogic_ProcessCompletedCCBs iterates over the completed CCBs for Host
2537 calling the SCSI Subsystem Completion Routines. The Host Adapter's Lock
2563 Place CCB back on the Host Adapter's free list.
2567 Iterate over the CCBs for this Host Adapter performing completion
2581 Translate the Completion Code, Host Adapter Status, and Target
2610 BusLogic_Notice("CCB #%ld Target %d: Result %X Host "
2638 Place CCB back on the Host Adapter's free list.
2652 BusLogic_InterruptHandler handles hardware interrupts from BusLogic Host
2661 Acquire exclusive access to Host Adapter.
2665 Handle Interrupts appropriately for each Host Adapter type.
2670 Read the Host Adapter Interrupt Register.
2675 Acknowledge the interrupt and reset the Host Adapter
2694 Check if there is a pending interrupt for this Host Adapter.
2704 BusLogic_Warning("Internal FlashPoint Error detected" " - Resetting Host Adapter\n", HostAdapter);
2715 Reset the Host Adapter if requested.
2723 BusLogic_Warning("Resetting %s due to Host Adapter Internal Error\n", HostAdapter, HostAdapter->FullModelName);
2729 Release exclusive access to Host Adapter.
2738 Mailbox for execution by Host Adapter. The Host Adapter's Lock should
2751 the Host Adapter is operating asynchronously and the locking code
2752 does not protect against simultaneous access by the Host Adapter.
2791 Outgoing Mailbox for execution by the associated Host Adapter.
2807 SCSI REQUEST_SENSE commands will be executed automatically by the Host
2817 Allocate a CCB from the Host Adapter's free list. In the unlikely event
2819 and try again. If that fails, the Host Adapter is probably hung so signal
2820 an error as a Host Adapter Hard Reset should be initiated soon.
2892 the Host Adapter and Target Device can establish Synchronous and Wide
2948 again. If that fails, the Host Adapter is probably hung so signal an
2949 error as a Host Adapter Hard Reset should be initiated soon.
2957 BusLogic_Warning("Still unable to write Outgoing Mailbox - " "Host Adapter Dead?\n", HostAdapter);
2983 BusLogic_ResetHostAdapter resets Host Adapter if possible, marking all
2993 * Attempt to Reset and Reinitialize the Host Adapter.
3009 * Wait a few seconds between the Host Adapter Hard Reset which
3034 may be enabled in AutoSCSI on FlashPoint Host Adapters and on "W" and "C"
3035 series MultiMaster Host Adapters, or by a dip switch setting on "S" and "A"
3036 series MultiMaster Host Adapters. With Extended Translation enabled, drives
3104 BusLogic_Warning("not compatible with current BusLogic " "Host Adapter Geometry %d/%d\n", HostAdapter, DiskParameters->Heads, DiskParameters->Sectors);
3206 Command Aborts Bus Device Resets Host Adapter Resets\n\
3217 Length += sprintf(&Buffer[Length], "\nExternal Host Adapter Resets: %d\n", HostAdapter->ExternalHostAdapterResets);
3218 Length += sprintf(&Buffer[Length], "Host Adapter Internal Errors: %d\n", HostAdapter->HostAdapterInternalErrors);