Lines Matching defs:mode
23 * modes. In pass through mode then it is an IDE controller. In its smart
24 * mode its actually quite a capable hardware raid controller disguised
25 * as an IDE controller. Smart mode only understands DMA read/write and
27 * in other respects but lacks the raid mode.
35 * o If you write LBA48 sized I/O's (ie > 256 sector) in smart mode
37 * o Smart mode without RAID doesn't clear all the necessary identify
41 * - In pass through mode we do all the work you would expect
42 * - In smart mode the clocking set up is done by the controller generally
47 * Vendor areas of the identify block in smart mode are used for the
48 * timing and policy set up. Each HDD in raid mode also has a serial
52 * In Linux the driver supports pass through mode as if the device was
53 * just another IDE controller. If the smart mode is running then
63 * matters in smart mode. ATAPI DMA is not currently supported.
65 * It seems the smart mode is a win for RAID1/RAID10 but otherwise not.
87 unsigned int smart:1, /* Are we in smart raid mode */
107 * We allow users to force the card into non raid mode without
247 * it821x_passthru_set_piomode - set PIO mode data
251 * Configure for PIO mode. This is complicated as the register is
274 * it821x_passthru_set_dmamode - set initial DMA mode data
278 * Set up the DMA modes. The actions taken depend heavily on the mode
282 * we switch devices and mode.
454 * it821x_smart_set_mode - mode setting
472 /* We do need the right mode information for DMA or PIO
509 /* RAID mode */
520 /* No HPA in 'smart' mode */
584 /* No ATAPI DMA in smart mode */
606 int mode = 0;
621 mode = ffs(buf[51]);
624 mode = ffs(buf[49]);
631 if (mode)
632 snprintf(mbuf, 8, "%5s%d", mtype, mode - 1);
756 /* No ATAPI DMA in this mode either */
859 /* Set to bypass mode, and reset PCI bus */
906 static const char *mode[2] = { "pass through", "smart" };
920 /* Force the card into bypass mode if so requested */
922 printk(KERN_INFO DRV_NAME ": forcing bypass mode.\n");
928 printk(KERN_INFO DRV_NAME": controller in %s mode.\n",
929 mode[conf]);
983 MODULE_PARM_DESC(noraid, "Force card into bypass mode");